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 |
I am automating a Java application. This application is developed using SWT. I am not able to get the GUI object. Even i tried with Java add-in. In tutorial it states SWT is not supported any idea. Anybody worked in such appln. My question is whether it is possible to record the GUI object of SWT appln. how it is possible.
What is the difference between Client/Server application and Web application ?
IF we use batch testing.the result shown for last action only.in that how can i get result for every action.
suppose i can done the project in automation tool with QTP in that time what i can say?
in process of project exaplnation the defects are says frequently r not?
how i can get the value of label box , please any body tell me script of that code
i ve an excel in a QC folder. Thru my QTP script i want to open that excel in runtime. I am running this script from QC itself
HOW AND WHY TO CREATE EMPTY OBJECT IN QTP?
qtp script for recording and running the application.need script for short cut keys like f3,f4 etc.how to write script for recording?
What is the difference in testing a client-server application and a web application?
How does u create new test sets in TD?
How can i find out any "text's" coordinates in excel sheet For example: I want to know the coordinates of "F" Column in the excell sheet While recording when i clicked on F column it is showing the coordinate values 385,9 but with out recording how can i find out them Suppose i want to clik on "H" column writing the script like this Window("Book1").WinObject("Book1").Click (...........) Here I Dont know what (x y )values should i enter Please any one can help me?