Wait for object to be appearing.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2012
06:38 PM
07-19-2012
06:38 PM
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
------------------
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2012
11:00 PM
07-19-2012
11:00 PM
Hello,
You can use WaitAliasChild:
Helen Kosova
SmartBear Documentation Team Lead
________________________
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
You can use WaitAliasChild:
Helen Kosova
SmartBear Documentation Team Lead
________________________
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
