Hi Telerik team,
I want to use one method in multiple tests of same project so for that i have create the class in namespace and create the method inside that class.
using the below link referance:-
http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/code-samples/general/utility-in-standalone.aspx
In that method, i have to write the data in excel sheet based on some condition.
For writing data to the current row i am using excelApp.Cells[Data.IterationIndex + 2 , 1] = "Pass: Record save";
But i am getting following error:
c:\Users\priyanka.kadam\Documents\Test Studio Projects\Test_Validations\Function_CheckAlert.tstest.cs: Line 48: (CS0103) The name 'Data' does not exist in the current context
c:\Users\priyanka.kadam\Documents\Test Studio Projects\Test_Validations\Function_CheckAlert.tstest.cs: Line 54: (CS0103) The name 'Data' does not exist in the current context
Please help me to resolve this problem at earliest as possible.
Thanks,
I want to use one method in multiple tests of same project so for that i have create the class in namespace and create the method inside that class.
using the below link referance:-
http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/code-samples/general/utility-in-standalone.aspx
In that method, i have to write the data in excel sheet based on some condition.
For writing data to the current row i am using excelApp.Cells[Data.IterationIndex + 2 , 1] = "Pass: Record save";
But i am getting following error:
c:\Users\priyanka.kadam\Documents\Test Studio Projects\Test_Validations\Function_CheckAlert.tstest.cs: Line 48: (CS0103) The name 'Data' does not exist in the current context
c:\Users\priyanka.kadam\Documents\Test Studio Projects\Test_Validations\Function_CheckAlert.tstest.cs: Line 54: (CS0103) The name 'Data' does not exist in the current context
Please help me to resolve this problem at earliest as possible.
Thanks,