In my Script Firstly i have to parametrize the data then we
import the data from c drive.suppose i have parametrize the
Person name and company Name and i have enter one person
name and one company name in the excel sheet now we import
the sheet and the script is passed i want to ask one thing
can we add more than one person name and more than one
company name in the excel sheet suppose firstly we create
person name "ADDy" and company nmae.'Wipro" and we set the
current row in the script for this data and now we want run
the script another set of data so how we can run the script
with another set of data
Answers were Sorted based on User's Feedback
Answer / shilpa reddy
let us take a variable i ,which represents the datatable
row count.
code for ur question is:
i=1
set currentrow(i)
x=datatable(columnno,"sheetname")//here give no 1 as column
name,so name is passed
y=datatable((columnno,"sheetname")//here give no 2 as
column name,so companyname is passed
i=i+1
now set the x n y values in ur required location(i.e in
script).here one thing to observe is that u cannot pass
data directly from excel sheet to script,first u should
import the data to run time datatable,using import/import
sheet methods.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / mithra
Incorporate the following method in for loop :
Datatable.setnextrow
| Is This Answer Correct ? | 0 Yes | 0 No |
How to Compare the 2 xl-sheets in QTP? ple write the vb Script for the comparison?
any one can explain about QTP proocess,means where to start and how to start Scripting.
in qtp how we work with out put values and what is the process?
Consider one application is open, clicking one menu will open another application in another browser. QTP does not catch the URL of the second browser(second application). can we capture it ?
What do you to script when objects are removed from application?
On a web application I want to select list item 5 from a dropdown list. but QTP identifying this object as winobject. Then how can we select list item 5 from that dropdown list.
How to save your test using quicktest professional?
Syntact for how to call one script from another? and Syntax to call one "Action" in another?
unable to get item from the combobox using descriptive programing. can any one give me the peice of code to schedule the booking from one place to another using DESCRIPTIVE PROGRAMING.
Can anyone please tell me how to select next 5th business date from calendar using QTP/UFT ?
1 Answers Cigniti Technologies,
Can you import and export data from XLS and how?
what is the purpose of .vbs file?