Forum Discussion
AlexKaras
15 years agoChampion Level 3
Hi Sowmya,
It looks like you are using NameMapping in this test project.
If this is the case, you should use WaitNamedChild function to avoid error in the log if the sought for object ws not found.
E.g.:
If (DialogBoxObject.WaitNamedChild("btnOK", 10000).Exists) Then
' button was found
End If
See "WaitNamedChild Method" help topic for more details.
It looks like you are using NameMapping in this test project.
If this is the case, you should use WaitNamedChild function to avoid error in the log if the sought for object ws not found.
E.g.:
If (DialogBoxObject.WaitNamedChild("btnOK", 10000).Exists) Then
' button was found
End If
See "WaitNamedChild Method" help topic for more details.
Related Content
- 11 months ago
Recent Discussions
- 2 days ago