Micro Focus QTP (UFT) Forums
Non-standard web link Object. - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Non-standard web link Object. (/Thread-Non-standard-web-link-Object)



Non-standard web link Object. - Plemelle - 04-23-2008

I have a web form that users a non-method to call a link. The web form is using Java script with Yahoo tollbar API. QTP sees the link as a standard Link Object, but cannot select it when I reference it.

Any ideas how to get QTP to detect the object?

Below is from the Spy OBject:

Properties
target _self
text Birds *
url javascript:YAHOO.widget.TreeView.getNode('management',2).toggle()
visible TRUE
width 105
x 34
y 246

Methods
Code:
CaptureBitmap ([in] FullFileName, [in, optional] OverrideExisting)    
CheckProperty ([in] PropertyName, [in] PropertyValue, [in, optional] TimeOut)    
ChildObjects ([in, optional] Description)    
Click ([in, optional] x, [in, optional] y, [in, optional] BUTTON)    
Drag ([in, optional] x, [in, optional] y, [in, optional] BUTTON, [in, optional] Modifier)    
Drop ([in, optional] x, [in, optional] y)    
Exist ([in, optional] TimeOut)    
FireEvent ([in] EventName, [in, optional] x, [in, optional] y, [in, optional] BUTTON)    
GetROProperty ([in] Property, [in, optional] PropertyData)    
GetTOProperties ()    
GetTOProperty ([in] Property)    
Object ()    
SetTOProperty ([in] Property, [in] Value)    
Submit ()    
ToString ()    
WaitProperty ([in] PropertyName, [in] PropertyValue, [in, optional] TimeOut)



RE: Non-standard web link Object. - surya_7mar - 07-07-2008

Can you provide the Page URL where i can see it.

Looks like a strange problem but not a hard problem