Waiting for the overlapped window to become visible
Hello testcomplete community, hoping you can help point to a resolution. I have a very simple vbscript test I am trying to run through TC 8.71, the script is below: Sub Test1 Dim iexplore Set iexplore = Aliases.IEXPLORE1 iexplore.Page("http://stage.ecinteractive.com/QA_Content_1/Default.aspx").Form("aspnetForm").Panel("container").Panel("wrap").Panel("navbar").Panel("ctl00_N1_rm1").Link(0).TextNode(0).Click iexplore.Page("http://stage.ecinteractive.com/QA_Content_1/Default.aspx").Form("aspnetForm").Panel("container").Panel("wrap").Panel(0).Panel("controlcol").Panel("srch").Panel("ctl00_MS1_srchPanel").Textbox("ctl00_MS1_sbSearch_ktbSearch").SetText("MMM654YW") iexplore.Page("http://stage.ecinteractive.com/QA_Content_1/Default.aspx").Form("aspnetForm").Panel("container").Panel("wrap").Panel(0).Panel("controlcol").Panel("srch").Panel("ctl00_MS1_srchPanel").Textbox("ctl00_MS1_sbSearch_ktbSearch").Keys("[Enter]") Log.Message(iexplore.Page("http://stage.ecinteractive.com/QA_Content_1/ProductDetail.aspx?key=MMM%7e654YW%7e%7e%5e%7e%7e0%7e0%7e0%7e0%7e%7e%7e1%7e1%7e%7etrue%7e%5e0%7e%5e&back=AdvSearch&source=Search").Form("aspnetForm").Panel("container").Panel("wrap").Panel("navbar").Panel("ctl00_N1_rm1").Link(0).TextNode(0).FullName) '*****************************Log.Message line is only there for debugging to verify that the object is available and is visable to Test Complete**************************** iexplore.Page("http://stage.ecinteractive.com/QA_Content_1/ProductDetail.aspx?key=MMM%7e654YW%7e%7e%5e%7e%7e0%7e0%7e0%7e0%7e%7e%7e1%7e1%7e%7etrue%7e%5e0%7e%5e&back=AdvSearch&source=Search").Form("aspnetForm").Panel("container").Panel("wrap").Panel("navbar").Panel("ctl00_N1_rm1").Link(0).TextNode(0).Click '*****************************This line errors with:"waiting until the overlapped window becomes visible"********************************************************************* End Sub the test steps: From "Home" page Searchbox - "item number" Searchbox - [Enter] key Click on "Home" link the first time the test runs it returns results and functions as expected, run the test a second time and it fails with a message "waiting on overlapped window to become visible" and logs an error that the function was attempted... The exact object I am trying to click on I have written to the log...1.7KViews0likes2Comments