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...

how to test page loaded successfully?

Answer Posted / surya

using WebDriverWait we can check as we can wait until completion of expected condition.

ex:
WebDriverWait wait = new WebDriverWait(driver, 10);

WebElement elem = driver.findElement(By.id("myInvisibleElement"));
elem.click();
wait.until(ExpectedConditions.visibilityOf(elem));

please correct me if i m wrong.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is datadriven framework and keyword driven?

1053


How do you verify if the checkbox/radio is checked or not?

840


What is selenium? What are different selenium components?

984


What are the benefits of automation testing?

1091


What are the capabilities of selenium webdriver or google webdriver or selenium 2.0?

905


Can captcha and bar code reader be automated by using selenium?

937


Explain the difference between implicit wait and explicit wait.?

949


What is the framework?

875


List the different types of drivers in webdriver.

926


How to install use TestNG in selenium webdriver ?

1022


Describe the purpose of xpath.

982


What are the annotations used in testng?

1003


What difference do you make between soft vs. Hard to say in selenium?

964


My application uses ajax heavily how do I use selenium rc to work with ajax operations?

899


What is the purpose of deselecting all() method?

933