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.
extjs tabs not playing
Hello, I recorded my web applicaton developed using extjs. There are some tabs which are not playing. Recorded code mentioned below:
_setValue(_textbox("loginname"), "admin");
_setValue(_password("password"), "Welcome123");
_click(_span("Login"));
_click(_span("Alarm Browser"));
_click(_span("Event Log"));
_click(_span("Task"));
_click(_span("User Admin"));
_click(_div("x-grid3-row-checker[2]"));
_click(_div("x-grid3-row-checker[2]"));
_click(_div("x-grid3-row-checker[2]"));
_click(_span("Delete[1]"));
_click(_span("Delete[1]"));
_click(_button("OK"));
_click(_button("OK"));
_click(_button("OK"));
_click(_button("OK"));
_click(_link("Logout"));
In this _click(_span("Alarm Browser")); and _click(_span("Event Log")); are not playing. But overall playback is success. These two tabs are skipping and jumpting to Task tab.
Pl help me.
_setValue(_textbox("loginname"), "admin");
_setValue(_password("password"), "Welcome123");
_click(_span("Login"));
_click(_span("Alarm Browser"));
_click(_span("Event Log"));
_click(_span("Task"));
_click(_span("User Admin"));
_click(_div("x-grid3-row-checker[2]"));
_click(_div("x-grid3-row-checker[2]"));
_click(_div("x-grid3-row-checker[2]"));
_click(_span("Delete[1]"));
_click(_span("Delete[1]"));
_click(_button("OK"));
_click(_button("OK"));
_click(_button("OK"));
_click(_button("OK"));
_click(_link("Logout"));
In this _click(_span("Alarm Browser")); and _click(_span("Event Log")); are not playing. But overall playback is success. These two tabs are skipping and jumpting to Task tab.
Pl help me.
Comments
_click(_span("Alarm Browser"));
add an assertion on some element which will be visible only when you are on "Alarm Browser" tab.
Eg. _assert(_exists(_span("something")));
This will make sure Sahi waits till the tab is loaded.
Regards,
Narayan
The assert also failing. I found the problem whereever javascript function is invoked to display the page, it's failing, but page display with url is working. I tried the same with Sahi Pro without problem. Do we have any workaround this to work with Sahi.
Pl help.
Can you check with the latest Sahi release? It should work on both versions.
Regards,
Narayan
I'm using latest Sahi i.e 3.5 (install_sahi_v35_20110517).
regards
Sreenivas
I'm still facing this issue. Could you pl reply?
regards
Sreenivas