cdeng
9 years agoOccasional Contributor
Why can't I find the TestComplete version 11.30.2298 for upgrade from 11.11.1064.7?
Hello, I am currently using the Testcomplete 11.11.1064.7. I just upgrade my firefox browser to 45. I'll need to upgrade my testcomplete to 11.30.2298 but I can't find it. Also, the patch for the ...
- 9 years ago
Hi All,
As a workaround, I got the better solution to handle Windowless popup(Model Based popup)
By using Timer Object we can overcome this problem. Write the following code in event handlers.
OnStartTest:
Sub OnStartTest(Sender) Dim MyTimer Set MyTimer = Utils.Timers.Add(8000, "unit1.TimerRoutine", True) MyTimer.Name = "ModelPopUp" Log.Message "Timer ON" End Sub
OnStopTest:
Sub OnStopTest(Sender) Utils.Timers.Items("ModelPopUp").Enabled = False Log.Message "Timer OFF" End Sub
unit1.TimerRoutine:
Function TimerRoutine 'write the code to check whether popup exists or Not If popup=True Then 'close popup (or) Click End If End Function
Before script starts, the controller will go to OnStartTest and activate Timer Object. Once Timer triggers, TestComplete pauses the test to run the timer’s routine. The test is resumed after the timer routine has finished running.
So for every 8sec, i am checking whether Windowless popup(Model Based popup) exists or not. For more details on Timer object click here
Regards,
BommaReddy