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 |
• Re –Engineering the regression testing from 0% to 60% automation. This has saved 4-mandays in every release. what doeas this statement means
What is SQL injection?
how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?
QTP Testing Process?
What is keyword view?
How to identify the child window. In my case while recording, When i open new window and give checkpoint for some control and when i run that script QTP give error like" can not identify the object" Is there any method or solution to handle child window issue Note: In my apllication i have to check child window of child window also ( multiple windows open )
How to Test the mainframe application?
How can we disable smart identification at the time of recording? Ideally, smart identification should be enabled only at the run-time.
How to use parameterization in qtp?
Does QTP recognize two diff browser's at a time..?if possible how..? Is it possible run scripts on Mozilla which are recorded on IE..?..How..?
12 Answers IBM, Semantic Space, TCS,
What is descriptive Programming in qtp.
What is the difference between rational rose and QTP?