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.

Need to pick up the values from webpage

akshaymgsakshaymgs Members
edited November -1 in Sahi - Open Source
While executing the script some values are generated on the test stub page. These values are required in the running script.

So is there any way that I can fetch the randomly generated values from the test stub page to the running script.

Comments

  • TheeranTheeran Members
    edited October 2011
    Hi akshaymgs,

    Yes,it is possible to fetch the randomly generated values from the test stub page.

    By using the _call API.

    _call(location.href...);

    you can fetch any randomly generated values in the part of DOM to the running script.

    Regards
    Theeran.
  • Thanks Theeran.

    Its working Now.
This discussion has been closed.