06-07-2011, 05:23 PM
Hi,
I am new to QTP. I want to create a calculator to test in qtp.
1)Input should be data sheet :
Rows = 20
Column =3
The columns and rows should have numbers
2)The output should be excel with the results of the following functions
Addition, subtraction, division, multiplication
I am able to do step 1,read data from DataTable. using import excel file in DataTable. using calc application, i able to add value but i want to write in excel file.
Please any one help me to this task.
Thanks & Regards,
Kamalakannan Anandan
I am new to QTP. I want to create a calculator to test in qtp.
1)Input should be data sheet :
Rows = 20
Column =3
The columns and rows should have numbers
2)The output should be excel with the results of the following functions
Addition, subtraction, division, multiplication
I am able to do step 1,read data from DataTable. using import excel file in DataTable. using calc application, i able to add value but i want to write in excel file.
Code:
strData1 = DataTable.Value(1,1)
Please any one help me to this task.
Thanks & Regards,
Kamalakannan Anandan