How do we create and run the scripts with out using O.R. ?
Answer Posted / rani
We can create and run the scripts without Object Repository,
Object Repository is nothing but collection of properties
and corresponding values. Each collection represents an
object.
Descriptive programming is a way of specifying properties
and values without using the OR interface.
Throwing the properties and values straight into the
command.
Ex:
Systemutil.Run"www.mail.yahoo.com"
Set a=Browser("name:=Yahoo!.*").page("title:=Yahoo!.*")
a.WebEdit("name:=login").Set "yourusername"
a.WebEdit("name:=passwd").Set "xxxx"
a.Webbutton("name:=Sign in").Click
You can try this code.It should work if you provide valid
username and password.
Let me know still if you are not clear on this.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that
Hi, my requirement is to make a query in SQL using QTP. And i have to get the results of that query and i have to use those results for future testing. I created a driver but i dont know the code for using this Driver. please help me by providing the solution for y requorement
How to use setroproperty?
www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example
Did the scripts need lot of maintenance? If yes, why?
How do client side image and server side image work?
How to handle Java tree in QTP?
Name the properties you would use for identifying a browser and page when using descriptive programming?
What are the advantages of a Hybrid framework?
What are the types of object repositories? Which one is you are using?
Is it possible to switch between recording modes during a test creation?
What VBScript operators, functions, and statements do you use in QuickTest Professional?
how we connect 1. qtp9.2 to the quality center9.0? 2. Load runner8.0 to the quality center9.0
what is object and child object.. explain ..if possible give some example for better understanding ..
How to modify the text checkpoint?