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 can we get text from a Web Part?

Answers were Sorted based on User's Feedback



How can we get text from a Web Part?..

Answer / uma rani

We can use getText() pre-defined method. It helps to retrieve the text of a specific web element.

String text = driver.findElement(By.id("xxxx")).getText();

Is This Answer Correct ?    0 Yes 0 No

How can we get text from a Web Part?..

Answer / uma rani

We can use getText() pre-defined method. It helps to retrieve the text of a specific web element.

String text = driver.findElement(By.id("xxxx")).getText();

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Selenium Interview Questions

How to write selenium code for purchasing product from amazon

0 Answers  


Explain what are the different types of locators in selenium?

0 Answers  


What is the use of logging in automation?

0 Answers  


How to capture screenshot in webdriver?

0 Answers  


What are the steps to run automation using selenium?

0 Answers  


How to fetch the current page url in selenium?

0 Answers  


How to enforce the title of the website?

0 Answers  


What are the advantages and disadvantages of selenium over other testing tools like qtp and testcomplete?

0 Answers  


Explain how you will login into any site if it is showing any authentication popup for username and password?

0 Answers  


Mention what are the types of listeners in testng?

0 Answers  


How to set the size of browser window using selenium?

0 Answers  


How can we fetch the page source in selenium?

0 Answers  


Categories