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
which type of testing process are you following in ur company? how to recognize a qtp page?
How to handle Java tree in QTP?
Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.
Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?
What are the key elements available in test result window?
What is Test Fusion Report in QTP?
What are the benefits of quick test pro(qtp)?
What are the types of object repository in qtp?
What are the different types of checkpoints?
Explain runtime dynamic settings?
what are the mandatory properties for a tex boxc (scenario?)
Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?
hi frinds i need help .i have 4 + yrs exp in testing and nearly 2 yrs exp in QTP and QC .currently iam working north fast 2 yrs iam looking for job in south is there any openings plz letme know my mail id is pbre1980@gmail.com
What is the difference between local and shared object repository in qtp?
Can any one tell me.......How the test engg's start testing in the compy environment.....real time tester PLSSSS help me i need in depth information regarding this...