Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

difference between Implicit Wait and Explicit Wait with syntax.?

Answer Posted / ravi teja

IMPLICIT WAIT:

This concept is only working for Find Element and Find Elements .

WebDriver driver = new FirefoxDriver();

driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);

EXPLICIT WAIT:
It depends on condition by checking continuously

WebDriverWait w=new WebDriverWait(driver,100);

wait.until(ExpectedConditions.invisibilityOfElementLocated(By.xpath("//*[@class='firstname']")));

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is selenium ide?

960


What are the test types supported by selenium?

1124


Which are the browsers supported by selenium ide?

1033


What is the difference between selenium and sikuli?

1228


List out the names of programming languages, browsers and operating systems that are supported by selenium.

879


How is selenium different from qtp?

951


Is the firefoxdriver a class or an interface?

1108


What is robot api?

1040


Do you know any alternative test automation tools for selenium?

1001


What are the uses of findelement() and findelements()?

1003


To enter values onto text boxes what is the command that can be used?

1036


Do you know a way to refresh the browser by using selenium?

1007


How does testng allow you to state dependencies?

1048


What is selenium 2.0?

1263


What is the difference between "assert" and "verify" commands?

1100