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.

Trying to develop automation tool for company..Help!!

AmitshrivastvaAmitshrivastva Members
edited November -1 in Sahi - Open Source
Hi,
I am new to this tool(tool is fantastic I must say :) ) hence I am still in the learning phase.I am facing a problem that if I use the record tool to create a statement
Like -
_setValue(_textbox("Identifier"), "WSAY0150201");
and test the same in the Evaluation box then its working,but if I put this same statement in a .sah script file and run the script then its not working.I am not able to comprehend what is the problem.I get the following error :

" _setValue(_textbox("Identifier"), "WSAY0150201"); TypeError: '_sahi.top().opener._sahi' is null or not an object No trace available "

Kindly help to resolve the issue.

Comments

  • Try:
    _popup("<name>")._setValue(_textbox("Identifier"), "WSAY0150201");

    The recorder doesn't always record the "_popup" or "_alert".

    RR
Sign In or Register to comment.