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 / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you identify the browser and its information using the qtp script?

583


Discuss the QTP Environment?

628


what type of framework u r using in ur organization

1648


What is the difference in testing a client-server application and a web application?

581


Hoe can we do retesting using functions please give the code for it using login page

1565






Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?

1484


Can any one tell me.......How the test engg's start testing in the compy environment.....real time tester PLSSSS help me i need in depth information regarding this...

1489


assume i have few url link how will i dynamically call then using descriptive programming?

1601


How to associate function library at a run time?

705


What is difference between design time and run time data table?

587


Explain runtime dynamic settings?

2026


When do go for loop condition in test?

654


we add library file used in test via settings or through "ExecuteFile" command. when we implement framework do we make common library file and load the same for all the test cases execution?

1581


if our qtp vb Script may be Currepted then What we want do?

1483


How are cgi programs, applets, javascripts, ActiveX components, etc. to be maintained, tracked, controlled, and tested?

696