how to write this script using descriptive programming?
the script below is the script generated by QTP plz write
the script using descriptive programming? plzzzzzzzz do
answer thanku
Browser("Welcome: Mercury Tours").Page("orkut -
login").WebEdit("Email").Set "test123"
Browser("Welcome: Mercury Tours").Page("orkut -
login").WebEdit
("Passwd").SetSecure "475259b450e3d212bef4a5f5ce9d32ebcbf4"
Browser("Welcome: Mercury Tours").Page("orkut -
login").WebButton("Sign in").Click
Browser("Welcome: Mercury Tours").Page("orkut - home").Link
("Logout").Click
Browser("Welcome: Mercury Tours").Page("orkut - login").Sync
Browser("Welcome: Mercury Tours").Close

Answer Posted / mageshkumar

All above answers are 100% correct...

just trying to optimizing the code..

With Browser("Welcome: Mercury Tours").Page("orkut -
login")
.WebEdit("Email").Set "test123"
.WebEdit
("Passwd").SetSecure "475259b450e3d212bef4a5f5ce9d32ebcbf4"
.WebButton("Sign in").Click
.Click
.Sync
with End
Browser("Welcome: Mercury Tours").Close

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the two types of repositories available, explain them?

576


Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?

1662


how to disable the pop ups through QTP using a script

1709


What are the different types of recording modes in qtp? Which will be used when?

544


How many types of recording facility are available in quicktest professional (qtp)?

587






What is a quick test professional?

606


Explain the concept of object repository and how quicktest professional recognises objects?

543


Without integrating QC/Testdirector with QTP, is it possible to keep track of the defects?If yes how? How to export QTP results to an excel sheet?

1472


What is the difference between rational rose and QTP?

1766


What is expert view in qtp?

567


any body can you help me what is the script to automate an comand promt

1961


Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris

1730


How to make qtp understand the difference amongst the same type of objects .suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?

550


What is the XML file architecture ?

1535


In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer

1924