Sub WaitProperty_Example1()
'The following example uses the WaitProperty method to wait for the
'All kind of link's readyState to be complete or for
'4 seconds (4000 milliseconds) to pass, whichever comes first.
'If the link achieves this value before 4000 milliseconds pass,
'QuickTest clicks the link.
If Browser("index").Page("index").Link("All kind of").WaitProperty("attribute/readyState", "complete", 4000) Then
Browser("index").Page("index").Link("All kind of").Click
End If
End Sub