venkat001
12 years agoOccasional Contributor
Prompt message in TestComplete without any buttons
Hi,
I'm developing a code to open URL, if Obj is not exists want to prompt message "Device is not Ready.. Please wait" without any button and then close the message window and then open URL again until obj.Exists
Need help on how to prompt a message window for defined time without any button.
Sub Test
ip_add = www.google.com
Do
Call Browsers.Item(i).Run(ip_add)
Set obj = Sys.Browser("iexplore").Window("#32770", "Windows Security", 1)
If not obj.Exists then
aqDlg.ShowMessage("Device is not Ready.. Please wait")
delay(2000)
End if
Loop Until obj.Exists
End sub
I'm developing a code to open URL, if Obj is not exists want to prompt message "Device is not Ready.. Please wait" without any button and then close the message window and then open URL again until obj.Exists
Need help on how to prompt a message window for defined time without any button.
Sub Test
ip_add = www.google.com
Do
Call Browsers.Item(i).Run(ip_add)
Set obj = Sys.Browser("iexplore").Window("#32770", "Windows Security", 1)
If not obj.Exists then
aqDlg.ShowMessage("Device is not Ready.. Please wait")
delay(2000)
End if
Loop Until obj.Exists
End sub