ASVContributor13 years agoWaiting VBObjectHi I write this code 1.Dim t, Timeout 2.t = 0 3. 4. Do While (Not wMDIClient.VBObject("frmPttel").VisibleOnScreen) and t < Timeout 5. BuiltIn.Delay(1000) 6. ...Show More
ASVContributor13 years agoHi RobertThanks for your response.I want to fix how many time is required that VBObject("frmPttel") becomes visible.I write this code1.Dim t, Timeout2.t = 03. 4. Do While (Not wMDIClient.WaitVBObject("frmPttel", 0).Exists) and t < Timeout5. BuiltIn.Delay(1000)6. t = t + 17. Loop8.9. Do While (Not wMDIClient.WaitVBObject("frmPttel", 0).VisibleOnScreen) and t < Timeout10. BuiltIn.Delay(1000)11. t = t + 112. Loopbut after one loop (t=1), TC pauses in line 4.
Related ContentFunction to wait for processing to completeWait for XpathWait object exists?Wait timeout and waitproperty not working as expectedDelay VS Auto-wait
Recent DiscussionsEdge browser compatibilityDelay after pressing specific KeyConnecting to license manager behind a home router?SolvedHow to specify to not save Pictures into log files for some actionsSolvedLog.Error supressing Log.Warning in Execution Summary