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.

Issue with replay

sanket.pattekarsanket.pattekar Members
edited November -1 in Sahi - Open Source
Hi

I have a recording done on one of the ajax web applications. The recording is successful, but it gives me a problem during replay.

Just to elaborate following is what I have in the recording file

_click(_textbox("WD02AA-btn"));
_domain("india.com")._click(_span("0000000001"));
_click(_textbox("WD02AE-btn"));
_domain("india.com")._click(_span("0000001023"));
_click(_link("Go"));
_click(_span("Material to test SNC POC"));

During replay, the click on the first step creates a popup and step 2 is some action on this popup which also discards it.

The issue during replay is that step 1 takes time, but SAHI thinks that the execution has happened and then proceeds with step 2 (which is success --- DO NOT KNOW HOW). Then in step 3 it fails as it is not able to find the relevant button WD02AE-btn as step 2 is not executed.

My question is how do we prevent this to happen. Ideally it should wait for the page to load. Also how is it possible that step 3 is executed, when step 2 is actually not
Sign In or Register to comment.