Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is this possbile to write the script without using the Object in object repository?
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
HI..
I have read that we can write the script without define the object in the object repositry.? is this possible? is this descriptive programming ?
If yes that what are the advantage ? EXplain me with example ?
Reply
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
Yes, This is Descriptive Programing. Have you searched on this forum, there are loads of info here on Descriptive Programming.
write 'Descriptive Programming' in the search box above and click search. you will get many links for this.

Reply
#3
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi nirmal,
Yes... You are right.. Descriptive programing do not need objects in OR.
If you want to write test script before the release of the system or when the application is under development, then you will go for descriptive programming. As saket said there are lot of examples for descriptive programming in this forum. You can make use of them.

Thanks
Reply
#4
Solved: 11 Years, 3 Months, 3 Weeks ago
Yes, we can write code without defing the object in OR. This could be accomlpieshed by suing the Descriptive Programming. where during the run time through code we would create the run time object.
e.x-Browser("micclass:=Browser","name:=www").Page("micclass:=page","title:=www").WebEdit("micclass:=WebEdit","name:=username").Set "noone"
Reply
#5
Solved: 11 Years, 3 Months, 3 Weeks ago
one main advantage is see there is object called " log out" .this object is common for all the screen.but in real time while you are executing the script you do not know from which page you are logging out .that time your descriptive prog helps lot
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  General Object Error(Find Object Error) akhandesh 1 3,595 02-24-2016, 01:05 PM
Last Post: sindhus
  If Object name is completely changing then I am unable to recognize that object swapna.9n9 0 2,119 11-14-2014, 05:35 PM
Last Post: swapna.9n9
  How to access webtables without adding into Object Repository ramkumarad 7 9,633 12-30-2013, 07:38 PM
Last Post: Sathiya
  Clicking on Window object to make it a javaedit object indranilgoswamimcb 0 2,159 11-03-2013, 09:03 PM
Last Post: indranilgoswamimcb
  which gives better performance qtp with Object repository or qtp without OR. qtpexpert 6 6,544 10-29-2013, 08:56 PM
Last Post: Parke

Forum Jump:


Users browsing this thread: 2 Guest(s)