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
What is 'sleep' in sync point?
1.How to record ,capture and also script to capture the close buttons. 2.How to record ,capture and also script to capture the options ---File ->save and File ->close in a browser and PDF files. 3.How to compare the Excel sheet values in a report using QTP scripting. 4.How to compare 2 PDf reports using QTP scripts as well reording. 5.How to compare 2 Excel reports using QTP scripts as well reording. 6.How to save a PDF report to a folder and then translate the report to an Excel type of report and compare that Excel Report with an other excel report. Please clarify me
What are the general steps involved in the data driven framework?
What is difference between Recording time object identification and Run time (Execution) time.
Call to copy of an action and call to existing action… i know the diff but in real project how to use..? i want live scenario.pls help me..
hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me
Which environments does qtp support?
What is qtpro? What is quick test pro?
Explain the features and benefits of quick test pro(qtp)?
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?
can i compare two databases using QTP ?
How do you do batch testing in wr and is it possible to do in qtp, if so explain?
How many add-ins comes by default with qtp?
Explain the concept of how quicktest professional (qtp) identifies object?
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