pls tell me how will you write the vb script in QTP for
DataDriven test from Excel sheet for multiple userid and
password explain with example
Answer Posted / ravindra
We write different userids and passwords in Datatable.
then..
Dialog("Login").Winedit("Userid:").set Datatable.value
("userid",dtGlobalSheet)
Dialog("Login").Winedit("Password:").set Datatable.value
("password",dtGlobalSheet)
Dialog("Login").WinButton("OK").Click
Here "Userid" and "Password" are the Column names of the
datatable
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in
How to remove the associated function library?
How you calling actions in qtp?
UFT 12.02 which ALM version will support
How to find array size in qtp?
How did you resolve conflicts present in Object Repository?
Discuss quicktest professional environment?
How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?
Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?
How do you send email with attachment from outlook using qtp ?
requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" you must get the text in combo box and need to compare them how
How to use debug tools?
HI Everybody, I am using QTP 9.2, I have a problem and hope everybody help me solve it. Now I need to use mouse wheel event to zoom in or zoom out in web client, but QTP can't catch this event. I look forward helping of everybody. Thank you very much.
Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?
what is the difference between built-i function and In-built function?