- roey_r
- Posts : 2
Join date : 2013-07-04
executeScript command in Selenium
Thu Jul 04, 2013 4:29 pm
Hi
I want to count how many rows i have in a table
I know how to do it in JS but i dont know how to execute it in Selenium (with executeScript)
The JS command is ".content-table-content tbody .content-table-row').length"
I want to count how many rows i have in a table
I know how to do it in JS but i dont know how to execute it in Selenium (with executeScript)
The JS command is ".content-table-content tbody .content-table-row').length"
- ccoxMaster
- Posts : 205
Join date : 2012-01-06
Age : 38
Location : Denver, CO
Re: executeScript command in Selenium
Fri Jul 05, 2013 9:07 pm
Use the storeXpathCount command. That can tell you how many rows exist
- Creating detail log for selenium command execution (Selenium RC Java client)?
- Command Selenium.isElementPresent freezes the selenium server
- Error in selenium ide when i execute verifyTextPresent after clickAndWait command
- Test Command in selenium for
- since command image is enable still i am not able to click through selenium why ?
Permissions in this forum:
You cannot reply to topics in this forum