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.

how to record based on different DOM element

sowmyakorisowmyakori Members
edited April 2013 in Sahi Pro
Hello,

How to capture the element in UI based on different DOM element?? Now it records based on name can I change it to id or tittle?

Answers

  • Hi Sowmyakori,

    Yes, please have a look at the below model script,

    _navigateTo("http://google.com";);
    _setValue(_textbox(id="gbqfq"), "sahi");
    _click(_submit(id="gbqfb"));

    Good Luck !!!
Sign In or Register to comment.