How do you get data from Web Table?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Why should selenium be selected as a test tool?

566


What is selenium 2.0?

678


We do create a reference variable ‘driver’ of type webdriver

486


how to handle staleelementreferenceexception?

515


Other than the default port 4444 how you can run selenium server?

474






Name an api used for logging in java?

484


Which are the operating systems supported by selenium?

500


What is the firefoxdriver, class or an interface? And which interface does it implement?

469


What is the use of javascriptexecutor?

3122


What are desiredcapabilities in selenium webdriver?

481


How to handle hidden elements in selenium webdriver?

501


What does a single “/” bar in XPath do?

536


What are the different components of the selenium?

480


What is implicit wait in selenium webdriver?

517


Tell us how many exceptions do you know in selenium webdriver?

465