How can the user get a text of a web element?



How can the user get a text of a web element?..

Answer / Puneet Kumar Bhardwaj

To get the text of a WebElement in most automation tools, use the getText() method. For example: `String text = myWebElement.getText();`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Automation Testing AllOther Interview Questions

Please name a couple of standard web function found in the function generator?

1 Answers  


What are the challenges using QTP11, QC11 with SAP TAO?

1 Answers   Accenture,


What are the primary features of good automation tool ?

1 Answers  


Program/pseudo code on FIFO? Input a string and make sure that output is in FIFO manner. Eg, Enter 'John Dave' as input and output should be 'John Dave' not 'Dave John'. (inbuilt functions like push, pop were given)

1 Answers  


Tell us how do you get the width of the textbox?

1 Answers  


Where do we get the QTP and Load runner softwares CDs ( Original ) in chennai

0 Answers  


What is the purpose of deselectall() method?

1 Answers  


What kinds of annotations are used in testng?

1 Answers  


What are the different types of an automation tool that you are aware of?

1 Answers  


What is the best scripting language for automation (function) testing

4 Answers  


how to write ciertification in QTP?

1 Answers  


What testing activities you may want to automate?

0 Answers  


Categories