Forum Discussion
sarya
14 years agoFrequent Contributor
Hi David,
Thanks alot for your help on this issue .I tried increasing the time from 10000 to 20000ms and it works fine now. Also from the script that you sent,I was able to understand that it is checking for the popup or rhe right-click menu but was not able to fully get this part of the code.Are we making the script wait for the popup to appear or just checking if it appeared or not as I am always getting this part as message "The new popup window is not found" on running the script.What does popup means here?
Also now after changing auto-wait timeout to 20000ms,when I reverted back to 10000ms ,it nows works fine clciking the option correctly ?
workbookView.ClickR(469, 123);
var popup = burster.WaitWindow("#32768", 3000);
if (true == popup.Exists) {
Log.Message("Popup window has size " + popup.Width + "x" + popup.Height + " and located at (" + popup.ScreenLeft + ", " + popup.ScreenTop + ")", "", pmNormal, null, popup);
Log.Picture(Sys.Desktop);
}
else {
Log.Message("The new popup window is not found");
}
Thanks again for your help.
Sumedha
Thanks alot for your help on this issue .I tried increasing the time from 10000 to 20000ms and it works fine now. Also from the script that you sent,I was able to understand that it is checking for the popup or rhe right-click menu but was not able to fully get this part of the code.Are we making the script wait for the popup to appear or just checking if it appeared or not as I am always getting this part as message "The new popup window is not found" on running the script.What does popup means here?
Also now after changing auto-wait timeout to 20000ms,when I reverted back to 10000ms ,it nows works fine clciking the option correctly ?
workbookView.ClickR(469, 123);
var popup = burster.WaitWindow("#32768", 3000);
if (true == popup.Exists) {
Log.Message("Popup window has size " + popup.Width + "x" + popup.Height + " and located at (" + popup.ScreenLeft + ", " + popup.ScreenTop + ")", "", pmNormal, null, popup);
Log.Picture(Sys.Desktop);
}
else {
Log.Message("The new popup window is not found");
}
Thanks again for your help.
Sumedha
Related Content
Recent Discussions
- 12 hours agoSvetaG