This is the script generated by qtp plz can anyone write
the same script using descriptive programming plzzzz guys
do answer.
Browser("orkut - login").Page("orkut - login").WebEdit
("Email").Set "rgovard"
Browser("orkut - login").Page("orkut - login").WebEdit
("Passwd").SetSecure "47525d8be4926ea2f6e96b9a3f7472b6ae38"
Browser("orkut - login").Page("orkut - login").WebButton
("Sign in").Click
Browser("orkut - login").Page("orkut - home").Link
("Logout").Click
Browser("orkut - login").Page("orkut - login").Sync
Browser("orkut - login").Close
Answer Posted / rajaputra
What Aiswaryan has given is correct.
But i will do a modification to the script.
systemutil.Run "IExplore.exe","www.orkut.com"
Browser("Title:=orkut - login").Page("Title:=orkut -
login").WebEdit("name:=Email").Set "rgovard"
Browser("Title:=orkut - login").Page("Title:=orkut -
login").WebEdit("name:=Passwd").SetSecure
"47525d8be4926ea2f6e96b9a3f7472b6ae38"
Browser("Title:=orkut - login").Page("Title:=orkut -
login").WebButton("name:=Sign in").Click
Browser("Title:=orkut - home").Link("name:=Logout").Click
Browser("Title:=orkut - login").Page("Title:=orkut -
login").Sync
Browser("Title:=orkut - login").Close
Now Run and See it will work.
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Give the syntax to load function at run time.
If object is not recognized by qtp but the object is standard object what is your approach?
Object repositories types, which and when to use?
your coming from electrical backgroung..but y ur coming to software side?
What is qtp window?
What are the key elements available in test result window?
I have enrolled for a QTP course which is a four weekend course.Do you think its a good way to start off learning this tool?What all do i need with me in order to become a pro at using this tool?
How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric
Explain the terms test and business component?
How to run a test using quicktest professional?
Get the count of files of similar types from a folder.
What are the features and benefits of quick test pro (qtp 8.0)?
What do you to script when objects are removed from application?
can the activities of test case design be automated?
How may types of defects identify application or your currently working application?pls give me answer..