Different types of synchronization



Different types of synchronization..

Answer / 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

More Selenium Interview Questions

What is regular expressions? How you can use regular expressions in selenium?

0 Answers  


Write a code snippet to launch firefox browser in webdriver.

0 Answers  


Can WebDriver test mobile applications?

0 Answers  


What is the build Tool you have used in your project?

4 Answers   Accenture, HCL, Inasra Technologies, Infosys, Maven Infotech,


List some scenarios which we cannot automate using selenium webdriver?

0 Answers  


What types of tests are compatible with Selenium?

0 Answers  


Explain what does @test(invocationcount=?) And @test(threadpoolsize=?) Indicate.

0 Answers  


Explain how to assert text of webpage using selenium 2.0?

0 Answers  


How to assert text of webpage using selenium 2.0?

0 Answers  


What will be the limits of selenium?

0 Answers  


How to capture bitmaps in selenium?

0 Answers  


Explain the fundamental difference between xpath and css selector.

0 Answers  


Categories