Different types of synchronization

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


Please Help Members By Posting Answers For Below Questions

What are the types of waits available in selenium webdriver?

465


What is selenium 2.0?

674


Can we enter text without using sendkeys()?

480


Explain dataproviders in testng ?

517


Explain me how many types of webdriver apis are available in selenium?

489






What are the testing type supported by selenium webdriver?

500


Tell me how to verify tooltip text using selenium?

458


Can we edit recorded selenium ide test cases?

493


What are the advantages of rc?

525


Explain what can cause a selenium ide test to fail?

567


Tell me what is a hub in selenium grid?

497


Enlist the components of selenium.

491


What does a concentrator do in the selenium network?

514


When should I use selenium grid?

566


Why to choose python over java in selenium?

517