Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

How many scripts did you have?

0 Answers  


Who uses qtp tool?

0 Answers  


How will you declare a variable in qtp?

0 Answers  


hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com

0 Answers  


What is the exact difference bet function and action in QTP Anybody can explain it in detail..Thanks in advance..

12 Answers   Wipro,






Will down time for server and content maintenance/upgrades be allowed? how much?

0 Answers  


What is a Web Table?

5 Answers   Kanbay,


Hi All, I wanted know how does QTP identifies a DataCombo. While recording I clicked on the data combo and selected a value from the list. The click of Data Combo is recorded but the selection of the value from the list is not recorded. My application is based on VB and SQL server as the database. Please let me know as how do I record the action of selecting a value from a DataCombo list. The list is being loaded from the Database Record set.

0 Answers  


can we create recorset with out using database connection in vbscript?

1 Answers   CSS, CSS Corp,


How QA specialist can identify when programmatic descriptions are useful?

0 Answers  


How to give a call to another action from one action?

0 Answers  


is the institute MindQ laid by Mr.Nageswar rao.. heard alot about Nageswar rao...can you briefly let me know about the Nageswar rao inst. and MinQ...THANX IN ADVANCE

44 Answers   InterGraph,






Categories