Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Object Repository and Discriptive Programing combination
#1
Not Solved
hi,

Object Repository and Discriptive Programing combination is work or not ?

when i am trying am getting Expected end of statement validation for that Descriptive line.

Regards,
Praveen Raaj.
Reply
#2
Not Solved
Praveen,

DP and OR can work together in combination with some limitations.

Suppose you are writing a code like..
Code:
Browser("BrowserName").Page("PageName").WebEdit("ORLogicalName").Set "xyz"

Once you start using DP in the statment, the rest of the hierarchy should also be in DP, you can not use OR for them.

'Below code will work
Browser("BrowserName").Page("PageName").WebEdit("name:=xyz").Set "xyz"

'where as the below code will not work as for browser and page we have 'use DP so the rest of the hierarchy should alos use dp, u can not 'use OR for them.

Browser("title:=BrwTitle").Page("title:=PageTitle").WebEdit("ORLogicalName").Set "xyz"
Let me know if you need further clarification.

Regards,
Ankesh

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Do we need object repository?? subhashinid 0 1,990 07-06-2016, 10:07 AM
Last Post: subhashinid
  Object repository losing object properties ishan.mahajan@adp.com 2 3,814 08-20-2015, 11:33 PM
Last Post: ADITI1992
  login object not found in object repository Akram 2 3,137 06-01-2015, 07:47 PM
Last Post: babu123
  object was not found in the Object Repository reynard 0 6,890 03-17-2015, 10:54 PM
Last Post: reynard
  Change Object Repository File Path for ExternalActions MasterChief 1 4,721 11-13-2014, 06:05 PM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)