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
Answer Posted / 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 |
Post New Answer View All Answers
Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance
What is data driver in qtp?
If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?
Can U Explain about QTP tool from older version to latest version also its differences?
Hi, I got error message as "object does not support this property or method: "Test.Actions" when i execute the following line of script on QTP 9.0 Dim qtApp, qtRep Set qtApp = CreateObject("QuickTest.Application") Set qtRep = qtApp.Test.Actions("Action1").ObjectRepositories Can anyone tell me where i am wrong.
In an interview, what r the general questions asked in QTP? pls give me anwser to this question?
Hi,Sudhanandareddy plz forword framework and ppts for QTP to me. This is my mail id: ranjith_99reddy@yahoo.co.in (your contact number also)
What is the quicktest professional testing process?
What are the different types of recovery operation?
How do I get the QTP scripts result in xml format by using vb script function?
What kinds of security (firewalls, encryptions, passwords, etc.) will be required and what is it expected to do? How can it be tested?
Hi, Hope you viewers are doing fine with good health. What are the steps and connection parameters to connect to Oracle db ? Can you connect with just the Oracle client or Oracle XE ? Cheers!!
I am in .Net development for past 3.5 years and want to enter in to automated testing and learn QTP. For this I need some good tutorial for beginners. I will be really greatful if any one has and they can send it to me on this address- ruchidureja@gmail.com
1.Qtp suppots Unix& linx or not 2why qtp suppots shell script.
Please Don't mind .i want in detail the real time process i.e in each document what it contains.