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
Where can I find and view run-time data table?
Does QTP record on Objects created on XWindows Environment?
What is the standard timing delay for web based application in qtp?
I AM TRYING PORT CODE FROM WINRUNNER TO QTP AND DON'T KNOW TO HOW TO CHECK THE ERRORS. IN WINRUNNER FUNCTION RETURNS EIGHER 0 OR -1 AGAINST WHICH RESULT CAN BE MADE PASS OR FAIL BUT IN QTP I DON'T SEE FUNCTIONS RETURNING ANY VALUE. APPRECIATE IF ANYONE COULD HELP ME CONVERTING FOLLWOING WINRUNNER CODE TO QTP. set_window("Customer Service"); rc = web_obj_get_text("Summary","#2","#4",ssn,""," ",1); if (rc != E_OK) { report_msg("[GetSubscriberSummary] Could Not get subscriber SSN; rc = "&rc); myRC = rc; } else { ssn = StripBlank(ssn); if (DEBUG) report_msg ("[GetSubscriberSummary] SSN: "&ssn); }
Get the count of files of similar types from a folder.
Hi, Can anyone please tell me how to connect the QC with QTP using QTP script? Thanks in advance
With what extension you can save the list of tests in a file to run in test batch runner?
What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this
what are all the fileds present in object repository?
What is a data driven test in qtp?
How many types of status are there?
What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?
Does quicktest professional (qtp) is unicode compatible?
Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance
How can I use Call dlls in QTP ?