Answer Posted / bharat
There are two types of synchronization in selenium
1)Unconditional Synchronization
Exam:- wait(), time.sleep()
2) Conditional Synchronization
- Implicit wait
Exam -driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
- Explicit wait
Exam -
WebDriverWait wait = new WebDriverWait(driver, 10);
wait.until(ExpectedConditions.visibilityOfElementLocated(By.id(“statedropdown”)));
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the difference between “/” and “//” in xpath?
How to handle alerts in selenium?
What are the ways to refresh a browser using selenium webdriver?
What happen if you mix both implicit wait and explicit wait in a selenium script?
Describe the purpose of xpath.
What is selenium webdriver or google webdriver or selenium 2.0?
When do you use selenium grid?
How do I upload a file using selenium? I need to upload a word file during test execution.
Mention what is desired capability? How is it useful in terms of selenium?
What are the annotations available in testng?
What are the prerequisites to run selenium webdriver?
What are the advantages and disadvantages of selenium over other testing tools like qtp and testcomplete?
What could be the cause of the selenium webdriver test to fail?
Tell me how can you insert a start point in selenium ide?
What is the use of context menu in selenium ide?