Forum Discussion
Dmitry_Nikolaev
14 years agoStaff
Hi Sumedha,
Please check the value of the 'Auto-wait timeout' option in your project. You can find this option in the Playback options group of the project properties editor. To open the editor, double-click the project node in the 'Project Explorer' panel and switch to the 'Properties' page. If the value of this option is less than the default value (10000 ms), set the default value and check whether the problem persists. If you have the default value, increase it to 20000 ms and check whether the problem exists in this case.
If the above does not help, please try the below script:
function Test1() /create and delete block
{
var burster;
var workbookView;
burster = Sys.Process("Burster");
workbookView = burster.frmSpreadsheetGear.WinFormsObject("Panel1").TableLayoutPanel1.WorkbookView;
workbookView.Click(391, 113);
workbookView.ClickR(391, 113);
workbookView.PopupMenu.Click("Convert Cell to Block");
burster.frmDefineBlock.VBObject("cmdOK").ClickButton();
workbookView.Click(684, 193);
if (true == burster.WaitWindow("#32768", 500).Exists) {
Log.Message("The old popup window still exists.");
}
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");
}
workbookView.PopupMenu.Click("Delete Block"); //Delete the block.
}
Execute your test project with this script, pack the entire project suite folder and send us the archive directly via the Contact Support form.
Related Content
Recent Discussions
- 6 hours agoSvetaG