Ask a Question

Wait for object to be appearing.

DevChaminda
Occasional 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

------------------


1 REPLY 1
HKosova
SmartBear Alumni (Retired)

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. ⬇️⬇️⬇️
cancel
Showing results for 
Search instead for 
Did you mean: