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
Answers were Sorted based on User's Feedback
Answer / aiswaryan
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 "47525d8be4926ea2f6e96b9a3f7472b6
ae38"
Browser("Title:=orkut - login").Page("Title:=orkut -
login").WebButton("name:=Sign in").Click
Browser("Title:=orkut - login").Page("Title:=orkut -
home").Link("name:=Logout").Click
Browser("Title:=orkut - login").Page("Title:=orkut -
login").Sync
Browser("Title:=orkut - login").Close
you can get the setsecure value by using "password Encoder"
from QTP--> tools --> password encoder.
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / 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 |
Answer / arian10daddy
What does this script do anyways? plz explain...
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sridhar
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
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / jason
They are opening up the broswer, and entering the URL :
Orkut.com.
they are clicking on the Home link and then the logout link.
after words closing it.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ramana vanteru
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 "47525d8be4926ea2f6e96b9a3f7472b6
ae38"
Browser("Title:=orkut - login").Page("Title:=orkut -
login").WebButton("name:=Sign in").Click
Browser("Title:=orkut - login").Page("Title:=orkut -
home").Link("name:=Logout").Click
Browser("Title:=orkut - login").Page("Title:=orkut -
login").Sync
Browser("Title:=orkut - login").Close
It should work.
Is This Answer Correct ? | 0 Yes | 0 No |
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, if possible, kinldy mail PDF file to my mail-ID: ramakrishna908@gmail.com Regards, krishna.
WHAT IS OBJECT REPROSITORY?
In a web page, one web table is present which is dynamic. In that table one of the column has links with the same inner text. write a script so that i need to click the third link.
example-date format is 01-jan-09 in QTP.How to convert this format to 01-01-09?
what is memory leakage?
15 Answers ITC Infotech, Panamax, TIT,
When testing a web application, the url for each page changes, so using QTP how do u handle this scenario. If anyone knows please answer in detail about the whole procedure. Thanks a lot.
what is the extension of action script template?
How can we perfom Action and Component parameter.?
1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?
In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.
What are the Features & Benefits of Quick Test Pro (QTP 8.0)?
What is the diff between image and bitmap check point?