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
Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.
How to capture all the data of a webtable, weblist and combolist using QTP?
what is defenetion of kiran can u tell me plz CVS, SVN
What is CMMP and CMMH?
How many tabs are available to view your test in a test pane and what are they?
am not having intrest in coding lang like c c++ java etc can i choose Testing tools as my carrier and please suggest me which tool is good (suitable for me)
Do you know SQL? I know SQL but i don't have any experience...that's it..No more questions ...simply he said " you can leave for the day" ...guys prepare SQL Quires before attending interview in bank of america...
What is TOM in QTP?
if mandatory and Assitive propertys are shows same how will u write skript in QTP window
How to use the object spy in quicktest professional 8.0 version?
Discuss quicktest professional (qtp) environment?
hi to all, i need a code.. in flight application 1.i need to login first then i need to insert 3 new orders... 2.i have to log out 3.i have to login again with different user 4.need to insert 2 new orders 5.then need to log out 6.then again login with different user 7.3 new orders create and log out 8.but we hv to do this using data table and actions please help me
I opened gmail login into gmail and i have to save (Pass or move) all the mail into notepad please give me code Thanks of all
HI I want to know the detials of QTP certifications such as syllabus, study Materil etc. Can any provide me all these details?? my mail ID is krishnuvk@yahoo.com
Give the syntax to import/export xls into qtp.