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
Why qtp always start action1 and does not start action?
What are the views available in quicktest professional?
Explain the qtp test phases.
What are the benefits of qtp?
What are the benefits of quick test pro(qtp)?
In Remote acess server how u run a test?
Explain about Test Fusion Report of QTP?
What is reusable action?
Is the qtp course will help to create a virtual object?
what is clean sweep?
What is a recovery scenario?
Differences between quicktest professional (qtp) and winrunner?
How to indentify MS-Word objects like Menubar, Toolbar, table/columns/rows/cells etc within Word document, using QTP?
banking project description for software tester
whenever U using QTP,Test Director, Why we using separate Bug tracking tool?