SQAFindObject is not recognising the object
I have some problem in using SQAFindObject in my web application.Actually, i used the below script to find an HTML link & get it's property.
First time it worked fine, on changing the property to "innerText" it failed to recognise the object.
On reverting back to original property "hostname", now it's not working, irrespective of any property (including the orginal which was once working).
please suggest me is there any way i can make it recognised.
For reference find the script below0
Dim Result As Integer
Dim ResProp As Integer
Dim value As Variant
ResProp = SQAGetProperty("Type=HTMLLink;HTMLText=Storage", "hostname", value)
Thanks in advance,
Re: SQAFindObject is not recognising the object
Try scan the object properties using "GUI insert, Object Properties" from Robot. The returned value put in the function SQAFindObject as argument.
Another way - test what value has the variable "Result" (for example in Debug mode of the Robot)
Best regards, Jiri Mundl