- medako
- Posts : 1
Join date : 2015-06-26
VERY Very basic help needed for search result validation
Fri Jun 26, 2015 8:58 pm
I need to validate search results come back greater than 0, using record and playback but can't find an assert that seems to work.
for example, search ebay for watches and the number next to listings is >0.
Sorry to be so dense but I need to make this as easy as possible for a project.
thx
for example, search ebay for watches and the number next to listings is >0.
Sorry to be so dense but I need to make this as easy as possible for a project.
thx
- ccoxMaster
- Posts : 205
Join date : 2012-01-06
Age : 39
Location : Denver, CO
Re: VERY Very basic help needed for search result validation
Mon Jun 29, 2015 11:36 pm
use storeXPathCount
Then assert >0
Then assert >0
- seluserqwb1Active particpant
- Posts : 20
Join date : 2015-06-29
Re: VERY Very basic help needed for search result validation
Mon Jul 06, 2015 8:10 pm
Please post your question in official webdriver forum -
www.seleniumtests.com/p/selenium-2-forum.html
www.seleniumtests.com/p/selenium-2-forum.html
Permissions in this forum:
You cannot reply to topics in this forum