Groups
Groups
Sign in
Groups
Groups
Selenium Users
Conversations
Labels
About
Send feedback
Help
How to get table header data using Selenium webdriver in java
1,546 views
Skip to first unread message
sweta kalyan
unread,
Feb 26, 2017, 2:27:47 PM
2/26/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Selenium Users
How to get table header data using Selenium webdriver in java and compare with the excel with an example
anemuday
unread,
Feb 27, 2017, 1:21:14 AM
2/27/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Selenium Users
Check if your table contains the top row as header row. If it is header row get all columns as xpath like
table[name='xyz']\tr[0]\td // which will return all header rows.
Compare this with your Excel header rows of data.
Thanks,
Uday
Selenium WebDriver Videos
Reply all
Reply to author
Forward
0 new messages