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

A web table is having 3 columns(name, salary and checkbox) in qtp How to select a checkbox based on the highest salary of an employee in a webtable.

1 Answers  


How we can add actions in the test using QTP?

5 Answers  


1.How do u prepare the test suits in QC? 2.How do u convert requirements to test plan in QC?

0 Answers  


How to verify the Cursor focus of a certain field?

1 Answers  


What do you mean by iteration?

0 Answers  






if the excel sheet specified in script is not there,we get run time error how to handle the error ,please anybody explain me in detail

2 Answers   Quinnox,


How to retrieve alpha bate from the alphanumeric string with special character.

7 Answers   ADP, Cap Gemini,


An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?

0 Answers  


Shared Object Repository is preferable while dealing with dynamic objects ok? descriptive prog also same? ok but why descriptive?(only for w/o application)

2 Answers   IBM,


Pls can anybody send me the Recent Technical and Interview Questions Which were asked in IBM(QTP)Automation PLZZZZZZZZZ

0 Answers   IBM,


What is clean sweep?

0 Answers  


Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??

0 Answers  


Categories