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



This is the script generated by qtp plz can anyone write the same script using descriptive program..

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

This is the script generated by qtp plz can anyone write the same script using descriptive program..

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

This is the script generated by qtp plz can anyone write the same script using descriptive program..

Answer / arian10daddy

What does this script do anyways? plz explain...

Is This Answer Correct ?    1 Yes 0 No

This is the script generated by qtp plz can anyone write the same script using descriptive program..

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

This is the script generated by qtp plz can anyone write the same script using descriptive program..

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

This is the script generated by qtp plz can anyone write the same script using descriptive program..

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

Post New Answer

More QTP Interview Questions

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.

0 Answers  


WHAT IS OBJECT REPROSITORY?

4 Answers   BirlaSoft,


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.

3 Answers  


example-date format is 01-jan-09 in QTP.How to convert this format to 01-01-09?

9 Answers   Tech Mahindra,


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.

3 Answers  


what is the extension of action script template?

7 Answers   Capco,


How can we perfom Action and Component parameter.?

1 Answers   EDS,


1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?

0 Answers  


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.

0 Answers  


What are the Features & Benefits of Quick Test Pro (QTP 8.0)?

1 Answers  


What is the diff between image and bitmap check point?

0 Answers  


Categories