18 January 2026:


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(_byXPath("//table[1]/tbody/tr[1]/td[@id='CellWithId']")) Error: The parameter passed to _clic

SaiPradeepSaiPradeep Members
edited July 2013 in Sahi - Open Source
_click(_byXPath("//table[1]/tbody/tr[1]/td[@id='CellWithId']"))
Error: The parameter passed to _click was not found on the browser.
kindly please let me know why I get this error because _byXpath it returns the null value

Best Answer

  • Hi Pradeep,
    Why do you need to use XPaths for identifying the element?
    You can access elements based on their identifiers.
    You can also access elements based on the DOM structure of the page.
    You can find details on the following link.
    http://sahi.co.in/w/browser-accessor-apis
    

    Please let me know if you still have troubles with it.

    Regards.
Sign In or Register to comment.