How to test login page by using QTP

Answer Posted / ramani

Call Login( x, y)

Function Login(strUserName, strPassword)
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury
Tours").WebEdit("userName").Set strUserName
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury
Tours").WebEdit("password").SetSecure strPassword
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury
Tours").Image("Sign-In").Click


End Function

Is This Answer Correct ?    9 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many tabs are available to view your test in a test pane and what are they?

560


what is the difference between rational rose and QTP? WHICH TOOL IS BETTER TO LEARN? PLEASE SEND ME AT sana_50218@yahoo.com sandeep@epuratech.com

2310


Hi, how can we check or avoid the memory leakage in QTP9.2?

1698


What is meant by Output Value in UFT?

558


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

1599






In qtp, explain what is keyword driven automation framework?

613


what type of framework u r using in ur organization

1645


Explain runtime dynamic settings?

2022


What is the use of text output value in quicktest professional (qtp)?

595


What are the views available in qtp?

581


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

982


Dear Friends, I having total 3+year experience in manual testing including automation testing QTP, if i am attending any interview what kind of question will i get? please help me out

1577


How do you test the text displayed in the header portion of times of india epaper. Hot news(banner) are scrolling in the top of the page, how do you test using QTP?

1504


How u will do versioning in QTP?

1451


If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?

579