I have the following code:
Even though the "No Results Found" dose not exist, the End Function gets executed.
Am I using this ide inncorrectly?
Update:
I changed my code to the followimng? It works, I think, now i am currious if it is correct QTP coding.
Thx for your ideas.
Lorena
Code:
If Browser("Wisdom").Page("WisdomLogin").Frame("parent").WebElement("No Results Found").Exist(2) Then
Exit Function
End If
Even though the "No Results Found" dose not exist, the End Function gets executed.
Am I using this ide inncorrectly?
Update:
I changed my code to the followimng? It works, I think, now i am currious if it is correct QTP coding.
Code:
If Browser("Wisdom").Page("WisdomLogin").Frame("parent").WebElement("innertext:=No Results Found", "visable:=True").Exist(1) Then
Thx for your ideas.
Lorena