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.
Testing while Browser is Loading...
Hi
I have tried searching for a solution but cannot find one.
I need to test that a "Searching....." Dialogue page is present.
Issue is Sahi doesnt run the next test until the Results set load.
I tried
_click(_link("SEARCH"));
window.stop()
var $searching = false;
$searching = _assertExists(_image("Searching...[2]"));
_assertTrue($searching);
window.reload()
but this didnt run until after the searching banner had gone and the page had loaded.
How do I get around this.
Thanks
Hayley
I have tried searching for a solution but cannot find one.
I need to test that a "Searching....." Dialogue page is present.
Issue is Sahi doesnt run the next test until the Results set load.
I tried
_click(_link("SEARCH"));
window.stop()
var $searching = false;
$searching = _assertExists(_image("Searching...[2]"));
_assertTrue($searching);
window.reload()
but this didnt run until after the searching banner had gone and the page had loaded.
How do I get around this.
Thanks
Hayley