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
How can you write the scripts that operate on different objects depending on run-time information?
what is the difference between data driver & data driven and driver script?
Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?
How many types of recording facility are available in quicktest professional?
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)
How do you configure QTP AND Test director?
How do you create regression test packs?
What are the different types of functions available in qtp and explain ?
What are the flaws in water fall model and how to overcome it?
Plz Explain How to access Or Store Script from VSS? Explain Real time work (qtp) where you store folders and next to how to you access that folders and how you maintain folders in VSS ? What are the Menu's in VSS? Suppose in Manual, by using Checkin Checkout u can access documents. how you access in QTp REal time?
How to open a new test using quicktest professional (qtp)?
What is the extension of the qtp local repository?
What is meant by a Check Point in UFT? Also, explain the applicable Check Points.
Explain qtp(quick test professional)?
How to use the object spy in quicktest professional (qtp) 8.0 version?