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.
Popup Window not found
Hi Narayan,
I get some problem when I testing the popup window
A popup B
B include a table (id:mydata)
I want to check the data of rows right or not, script :
for(var $r = 0; $r < 10; $r++){
if(_popup("B")._cell(_table("mydata"), $r, 1).innerHTML != "00ms"){
_log("check row [" + $r + "] data success! ", "success");
} else {
_log("check row [" + $r + "] data false ! ", "error");
}
}
sahi logging:red error
JSERROR
TypeError: Cannot call method "_cell" of undefined
DOS window display
Window not found: popupNameFromStep=; derivedName=A; windowName=A; windowTitle=B;
wasOpened=1;
Browse : IE 8.0
Version : V3
Build : 2010-04-30
I get some problem when I testing the popup window
A popup B
B include a table (id:mydata)
I want to check the data of rows right or not, script :
for(var $r = 0; $r < 10; $r++){
if(_popup("B")._cell(_table("mydata"), $r, 1).innerHTML != "00ms"){
_log("check row [" + $r + "] data success! ", "success");
} else {
_log("check row [" + $r + "] data false ! ", "error");
}
}
sahi logging:red error
JSERROR
TypeError: Cannot call method "_cell" of undefined
DOS window display
Window not found: popupNameFromStep=; derivedName=A; windowName=A; windowTitle=B;
wasOpened=1;
Browse : IE 8.0
Version : V3
Build : 2010-04-30
This discussion has been closed.
Comments
You need to use _set here:
Regards,
Narayan