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.
Sahi script file missing steps compared to recorded steps tab
OS - Win7 Pro
Browser - Chrome V21
Sahi 4.2 pro
We have a mobile version of our website i am attempting to begin automation of.
i start my record as normal and end the session. begin playback and get early failures. check the logs and then check the scripts and several steps are missing.
i finally ran a full record again and then before doing anything else Copied the complete body of the steps recorded in the Recorded Steps tab under the record tab of the Sahi Controller.
i then cut and pasted the recorded steps into my script file and that worked.
why did Sahi not write All the steps correctly to my script file.. better yet, why did Sahi not match the recorded steps tab?
here is what was in my sahi script file just recording as normal. (this does not work and fails as its missing steps)
and here is what i copied and pasted from the recorded steps tab in the controller (this works perfectly)
the first 2 things the script was missing were:
_click(_button("Login"));
_click(_span("Create a New Time Slip"));
why would the recorded capture these but not the script?
thanks in advance!
Shawn
Browser - Chrome V21
Sahi 4.2 pro
We have a mobile version of our website i am attempting to begin automation of.
i start my record as normal and end the session. begin playback and get early failures. check the logs and then check the scripts and several steps are missing.
i finally ran a full record again and then before doing anything else Copied the complete body of the steps recorded in the Recorded Steps tab under the record tab of the Sahi Controller.
i then cut and pasted the recorded steps into my script file and that worked.
why did Sahi not write All the steps correctly to my script file.. better yet, why did Sahi not match the recorded steps tab?
here is what was in my sahi script file just recording as normal. (this does not work and fails as its missing steps)
_setValue(_textbox("ctl00\$ContentPlaceHolder1\$logLogin\$UserName"), "jknox1");
_setValue(_password("ctl00\$ContentPlaceHolder1\$logLogin\$Password"), "password");
_setSelected(_select("ctl00\$ContentPlaceHolder1\$ddlTask"), "Advise/1");
_setSelected(_select("ctl00\$ContentPlaceHolder1\$ddlReference"), "Sahi_Reference 1");
_setValue(_textbox("ctl00\$ContentPlaceHolder1\$txtExtra"), "Extra");
_setValue(_textarea("ctl00\$ContentPlaceHolder1\$txtAreaComments"), "another slip creation test in eCenter mobile");
_setSelected(_select("ctl00\$ContentPlaceHolder1\$ddlRateSource"), "Client");
_setSelected(_select("ctl00\$ContentPlaceHolder1\$ddlRateType"), "Hourly");
_click(_span("ui-icon ui-icon-home ui-icon-shadow"));
and here is what i copied and pasted from the recorded steps tab in the controller (this works perfectly)
_setValue(_textbox("ctl00\$ContentPlaceHolder1\$logLogin\$UserName"), "jknox1");
_setValue(_password("ctl00\$ContentPlaceHolder1\$logLogin\$Password"), "password");
_click(_button("Login"));
_click(_span("Create a New Time Slip"));
_setSelected(_select("ctl00\$ContentPlaceHolder1\$ddlClient"), "Sahi_Customer1/Sahi_Customer1");
_setSelected(_select("ctl00\$ContentPlaceHolder1\$ddlTask"), "Advise/1");
_setSelected(_select("ctl00\$ContentPlaceHolder1\$ddlReference"), "Sahi_Reference 1");
_setValue(_textbox("ctl00\$ContentPlaceHolder1\$txtExtra"), "test");
_click(_label("Extra:"));
_setValue(_textarea("ctl00\$ContentPlaceHolder1\$txtAreaComments"), "another test");
_click(_span("Next"));
_click(_span("Start/Stop Timer"));
_setSelected(_select("ctl00\$ContentPlaceHolder1\$ddlRateSource"), "Client");
_setSelected(_select("ctl00\$ContentPlaceHolder1\$ddlRateType"), "Hourly");
_click(_span("Save"));
_click(_link("Return to slip list"));
_click(_span("ui-icon ui-icon-home ui-icon-shadow"));
_click(_span("View my Slip List"));
the first 2 things the script was missing were:
_click(_button("Login"));
_click(_span("Create a New Time Slip"));
why would the recorded capture these but not the script?
thanks in advance!
Shawn