| || |
I am having a secenario where an popup appears(Only sometimes)
so i have to check whether the popup is there or not.
Iam using property checkpoint to do this. For Ex: iam using
<Hierarchy1.popup.exists?>. The problem here is when the popup does't appear TestComplete searches for <Hierarchy1> then log an error msg saying 'unable to find Hierarchy1'.Then goes to the else part and says popdoes't exists. how to rectify that error any Ideas...? Kindly give me a quick reply as it is very much needed..
You can use this to control pop up for your script ,
if Sys.Process("p1").WaitWindow("window name", "caption",-1,2000).Exists then
'do some action click on yes or no or cancel
OR you can see WaitWindow topic from help.