I have a standard HTMLLink and I want to perform to check if the link exists before clicking on it.
Here is my code:
iFindObjResult = SQAFindObject("Type=HTMLLink;Text=xxxxxx")
If iFindObjResult <> sqaSuccess Then
SQALogMessage sqaFail, "Cannot find HTMLLink", "Status: " & Str(iFindObjResult)
HTMLLink Click, "Type=HTMLLink;Text=xxxxxx", ""
I point to the active window and the frame containing the link, however the value of iFIndObjResult is always 1003 (Object Not Found). If I commented out the check code and just click on the link, then the HTMLLink Click works! Have anyone seen this?