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 may types of defects identify application or your currently working application?pls give me answer..
Dear Friends, I having total 3+year experience in manual testing including automation testing QTP, if i am attending any interview what kind of question will i get? please help me out
How do you test DLL files using automation Tool QTP?
What is the meaning Work bench?
How do you synchronization point through DP?
I have qtp 9.5 demo ver,I am not able to record the yahoo broeser.so anyone can tell me what setting i have to do in QTP for yahoo brower recording. why its not recognise the object of yahoo browser????
Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?
How to capture a window in QTP?
How to add verification steps to tests?
Can launch two instances of qtp on the same machine?
Suppose you are using shared objects repository in your test and you want to split your present action? At that time shared object repository is single or it’s also splits?
What are the advantages of qtp?
What are the key points to create a framework in QTP for oracle forms?
How often were they executed?
Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?