Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



In my Script Firstly i have to parametrize the data then we import the data from c drive.suppose i..

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

In my Script Firstly i have to parametrize the data then we import the data from c drive.suppose i..

Answer / mithra

Incorporate the following method in for loop :

Datatable.setnextrow

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

What are the Features & Benefits of Quick Test Pro ?

1 Answers   Crea,


is there any addin for remedy user application

0 Answers  


Did u use check points during ur work experience ?

3 Answers   FedEx,


What is QTP and the use of QTP in TD?

0 Answers   MaxSolPro,


how do you do database testing in qtp

5 Answers   NIIT,


what is defenetion of kiran can u tell me plz CVS, SVN

0 Answers  


To retrive the test data which tool vl use and whats basis u vl write test data? its urgent

0 Answers   IBM,


How to add a runtime parameter to a datasheet?

1 Answers   Crea,


What is quicktest professional?

0 Answers  


how many wayes we do the parameterization?

1 Answers  


What is the limitations of BVA?

1 Answers   IBM,


wat are views in qtp explain

3 Answers   IGT,


Categories