Answer Posted / dolly
We can ensure that the page is loaded completely by using javascriptwait method, by defining the wait time to check the condition.
(“return document.readyState”.equal(complete) ---boolean(Y/N) – true means its loaded completely.
Using TRY n Catch method (catch the exception saying page did not load in the stipulated time)
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What types of tests are compatible with Selenium?
What are the different types of wait statements in selenium webdriver? Or how do you achieve synchronization in webdriver?
How to find the xpath of web table elements.in chrome or internet explorer.or without using fire bug.?
Why should Selenium be selected as a testing tool?
What are the ways to refresh a browser using selenium webdriver?
What is the difference between poi and jxl jar?
Tell me in which format does source view show the script in selenium ide?
What programming language is best for writing selenium tests?
What are the capabilities of selenium webdriver or selenium 2.0?
What is the significance of testng.xml?
Which is the latest Selenium tool?
List out the technical challenges with selenium?
What are the testing type supported by selenium webdriver?
List some advantages of test automation?
Explain what is assertion in selenium and what are the types of assertion?