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
Explain the features and benefits of quick test pro(qtp)?
In qtp, how you can exit for loop?
How many types of recording facility are available in quicktest professional (qtp)?
How to run an integrated test scenario using Multiple Actions? How to use the QTP Step Generator?
What is the Command used to start the QTP
What will be happen if i load object repository at run time, but it has already associated.
If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?
What is qtpro? What is quick test pro?
How to execute a winrunner script in quicktest professional (qtp)?
What are the different kinds of test steps?
How can you write the scripts that operate on different objects depending on run-time information?
How to use the object spy in quicktest professional 8.0 version?
Define object spy ?
What are the various automation frameworks available in qtp?
There is an excel file of 1 to 100 sheets how you will iterate through it?