Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Visual Relations does not work with DP
#6
Solved: 11 Years, 5 Months, 4 Weeks ago
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.

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.
Reply


Messages In This Thread
RE: Visual Relations does not work with DP - by ourhari - 06-24-2013, 01:04 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Adding Visual Relation id via script to new object jcraig26 1 4,126 06-24-2013, 01:26 PM
Last Post: ourhari
  Adding a Visual ID - creating a function jcraig26 0 2,586 11-09-2012, 02:56 AM
Last Post: jcraig26
Question Achieving Visual Relation Identifier option using AOM scsvel 1 5,212 02-17-2012, 04:17 PM
Last Post: scsvel
  Problem with IE - Visual C++ library error sumalatha 0 1,808 06-16-2009, 10:57 AM
Last Post: sumalatha
  Cannot detect other layer of visual tree qtpnewbee 1 2,247 07-18-2008, 07:57 PM
Last Post: vamshiram

Forum Jump:


Users browsing this thread: 1 Guest(s)