DevChaminda
12 years agoOccasional Contributor
Wait for object to be appearing.
Without increasing time at "Auto wait timeout", is there any other way to wait for object to be appearing.
My issue is I have to wait till the text appears in the text area.
Following is my code (written in VB). (Testcomplete version 8.60.665.7)
----------------------
'address the text area which text appear
Set textBox1 = frmTestInterface.gbOutput.txtOutput
sec_val=10000
Do
If Not(textBox1.Exists) Then
Delay(sec_val)
textBox1.RefreshMappingInfo
sec_val = sec_val + 10000
Else
Exit Do
End If
Loop
'get the text values
text_val1 = textBox.wText
------------------