How to Validate the real time application for which the input will be refreshed for every 4 s in the UI screen

0 votes
The data from the simulator will be stored in Aurora database and will be updated in every 4s in the database. We need to validate the data in the Dashboard UI screen. Requirement is to implement the dynamic script and also the screen should be refreshed for every 4s to compare & validate the fields. Is that possible? Please let me know how to achieve it. We are suggesting selenium Java + Test NG frame work.

Thanks
Nov 19, 2020 in Selenium by savitha
• 160 points
79 views

2 answers to this question.

0 votes

Hey, @Savitha,

Yes, it should be possible. Use Thread.sleep(4000) to wait for 4 secs then do refresh driver.refresh() and wait for page load here you can use document.readstate to be true or jQuery.ready commands..after that get the modified values.

answered Nov 20, 2020 by Gitika
• 65,850 points
0 votes

Hi, @Savitha,

It can be achieved, just ask them to set a longer refresh time. So that can be compared including the page load time, will be taking time for rendering and comparing.

answered Nov 20, 2020 by anonymous
• 65,850 points

Related Questions In Selenium

+1 vote
2 answers
0 votes
1 answer

How to create a executable jar file for TestNG and the runnnig point should be the Xml file

Use Eclipse Export Wizard. While exporting, select "Create ...READ MORE

answered Aug 24, 2018 in Selenium by Meci Matt
• 9,460 points
4,732 views
0 votes
1 answer

How to wait for the webpage to load in selenium using java

Firstly, when you launch a web application, ...READ MORE

answered Aug 28, 2018 in Selenium by bug_seeker
• 15,550 points
731 views
0 votes
0 answers

How to get the text from the HTML5 input error message in Selenium?

On giving invalid data in the email ...READ MORE

Mar 11, 2019 in Selenium by Vaishnavi
• 1,180 points
822 views
0 votes
1 answer

How to input text in the text box without calling the sendKeys()?

Hi Rohan, you can use Javascript Executer ...READ MORE

answered May 29, 2019 in Selenium by Abha
• 28,000 points
17,958 views
0 votes
1 answer
+1 vote
1 answer

How to handle a combobox which when clicked open in new window with list of items(to be clicked) in selenium java ?

@Pavithra, you can try using following commands ...READ MORE

answered Oct 29, 2019 in Selenium by Abha
• 28,000 points
363 views
+1 vote
1 answer

How can I automate the process of adding iPhone to cart in Flipkart using Selenium(java),Page Object Model and TestNG? Also validate if product is added and available in cart?

Hey check this https://www.edureka.co/community/47160/automate-purchase-adding-book-cart-flipkart-using-selenium? It deals with a similar ...READ MORE

answered Jan 13, 2020 in Selenium by Karan
• 19,580 points
3,259 views
0 votes
3 answers

How to close active/current tab without closing the browser in Selenium-Python?

While doing stuff with selenium multiple browsers ...READ MORE

answered Dec 13, 2020 in Selenium by Roshni
• 10,400 points
30,483 views
0 votes
1 answer

How do you make Selenium 2.0 wait for the page to load?

You can also check pageloaded using following ...READ MORE

answered Nov 26, 2020 in Selenium by Gitika
• 65,850 points
37 views