How to call Datable values in the QTP program.
exp: I have two parameters like Email id and Password
this two i would like to add multiple entries in the datable
to use it.
What is the difference between Gobal/Action datatable
Answer Posted / lakshmi
Call DtValues in Qtp:-
(Ur data Present in Dt(Global/Action Sheet first u verify)
nd Then proceed with this script...
dim rc
rc=DataTable.GetSheet("Global/Action").GetRowCount
for i=1 to rc
Datatable.setCurrentRow(i)
invokeapplication "Give Flight appPath"
Dialog("Login").WinEdit("AgentName").set
DataTable("Email id","Global")
Dialog("Login").WinEdit("PWord").set
DataTable("Password","Global")
Dialog("Login").WinButton("OK").click
Window("FR").close
DataTable.SetNextRow
Next
Diff in Datatable:(As ur Req u can ...)
By Default Setting For Global sheet is:
Run For Multiple Iterations
By Default Setting For Action sheet is:
Run For One Iteration Only
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link
What is the extension of the recovery scenario file in qtp?
UFT 12.02 which ALM version will support
How to export quicktest professional results to an .xls file?
How will you find the current time of the remote machine using QTP script?
How many types of recording modes in qtp?
how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)
In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.
How many types of recording modes in qtp? Describe each type with an example where we use them?
how we connect 1. qtp9.2 to the quality center9.0? 2. Load runner8.0 to the quality center9.0
If I change the object name in one action will it be updated in all the actions? Or not?
how can i pass a "cript"as a parameter in to a function
What is ‘object spy’ and what is the function of object spy in qtp?
How you are developing the script? Using record and play back or manual?
What are the features of quick test pro(qtp)?