18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
click on dynamic value (i.e. on search result screen)
We are automating a holiday package
For a given search criteia, system displays list of holiday packages
packages details like image, price, resort name, accomodation details are displayed in different DIVs
But user can click only on "More details" button
Xpath of 3 buttons (i.e. More Details for different holiday packages) is given below
/html/body/div[2]/div[2]/div[2]/div[8]/div[2]/div[2]/div[9]/p/a/span[2]
/html/body/div[2]/div[2]/div[2]/div[9]/div[2]/div[2]/div[10]/p/a/span[2]
/html/body/div[2]/div[2]/div[2]/div[10]/div[2]/div[2]/div[9]/p/a/span[2]
We tried using DIV, IN, UNDER method, unable to suceed.
Can you pl suggest how to select a package based on test data maintained in excel
For a given search criteia, system displays list of holiday packages
packages details like image, price, resort name, accomodation details are displayed in different DIVs
But user can click only on "More details" button
Xpath of 3 buttons (i.e. More Details for different holiday packages) is given below
/html/body/div[2]/div[2]/div[2]/div[8]/div[2]/div[2]/div[9]/p/a/span[2]
/html/body/div[2]/div[2]/div[2]/div[9]/div[2]/div[2]/div[10]/p/a/span[2]
/html/body/div[2]/div[2]/div[2]/div[10]/div[2]/div[2]/div[9]/p/a/span[2]
We tried using DIV, IN, UNDER method, unable to suceed.
Can you pl suggest how to select a package based on test data maintained in excel
Comments
Can you post the URL and please be more specific about the issue.
Regards
Sumitra
application currently being tested on QA environment, hosted internally. Due to NDA signed with the client, we cannot host it now.
Is there any way to get the elements matching a locator into a collection, which is similar to driver.findelements() in Selenium - WebDriver.
You can use:
_byXPath(xpath[, domRelation]) API;
For more Details:
http://sahi.co.in/w/all-apis
Regards
Sumitra