06-24-2013, 01:04 PM
On searching the net for solutions, I came across a post (www.knowledgeinbox.com), where I confirmed with @Tarun that Visual Relations work with OR objects only.
http://knowledgeinbox.com/forums/uft-qtp...identifer/
I created an OR object and used it in the Visual Relations as given below and it is identifying the object as expected.
Therefore, it has to be a blend of OR and DP when it comes to Visual Relations.
http://knowledgeinbox.com/forums/uft-qtp...identifer/
I created an OR object and used it in the Visual Relations as given below and it is identifying the object as expected.
Code:
relation.RelatedObjectPath = "Browser(""MyBrowser"").Page(""MyPage"").WebElement(""LastUpdatedDateLabel"")"
Therefore, it has to be a blend of OR and DP when it comes to Visual Relations.