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.
Domain not found - how to prevent the script from failure?
Hello all,
I am having sometime this exception in the test:
Window/Domain not found: popupNameFromStep=; derivedName="name"; windowName="name"; windowTitle="title"; wasOpened=1; domain=
I cannot catch it with try catch, the script always fails...but I need the script to continue and try once again to open and work on this popup window...
Is it possible to do this?
I am having sometime this exception in the test:
Window/Domain not found: popupNameFromStep=; derivedName="name"; windowName="name"; windowTitle="title"; wasOpened=1; domain=
I cannot catch it with try catch, the script always fails...but I need the script to continue and try once again to open and work on this popup window...
Is it possible to do this?
Comments
sorry for the delay :-/
this is a part of code:
try {
_popup("extVia_tree_hierarchymenu_edit")._click($tabTab);
_popup("extVia_tree_hierarchymenu_edit")._click(_listItem($language));
_popup("extVia_tree_hierarchymenu_edit")._wait(10000, $Success);
} catch (e) {
_log("Couldn't save successful");
}
The catch block is executed, but then the script fails, but I want it to try again the try code....
I am always have the problem by IE and sometimes by FF...
Can u PLease, Email Me the Solution
vijaythecoco@gmail.com
I ll B very Greate full..............