How do you get data from Web Table?



How do you get data from Web Table?..

Answer / raam

normally table tag represent html tag,tbody denotes contents of webtable..
tr-->row of table
td or th ----->column of table

to get the contents of table we can use the xpath/or suitable locating process

//[@name=username]/table(index)/tbody/tr(index)/td(index)

Is This Answer Correct ?    8 Yes 0 No

Post New Answer

More Selenium Interview Questions

Write a code snippet to launch firefox browser in webdriver.

0 Answers  


In selenium ide how you can generate random numbers and dates for test data?

1 Answers  


What is the use of @listener annotation in testng?

0 Answers  


How many exemptions do you know in selenium webdriver?

0 Answers  


What is page factory?

0 Answers  


How do you handle frames

1 Answers  


What kind of testing does selenium support?

0 Answers  


i am a 2013 BE and 2015 M.tech passed out.i have taken course in manual testing with selenium automation.i have confident that, i have required technical knowledge in manual as well as automation.now my problem is whether to go as fresher or keep 3 years of experiance.there are very few interviews to call 2013 b.tech and no calls for M.tech...!!is it make any problem, if i keep fake.please let me clear my doubt

0 Answers  


Write a code snippet to launch internet explorer browser in webdriver.

0 Answers  


Using selenium how can you handle network latency?

0 Answers  


Can you use Selenium to test the Rest API or Web services?

0 Answers  


How to enter text in the HTML text box without invoking the SendKeys ()?

0 Answers  


Categories