On Wed, Oct 3, 2012 at 6:19 PM, Rohit Guru <[email protected]> wrote:
> set current row =i > > On Wed, Oct 3, 2012 at 1:27 PM, udhaya kumar > <[email protected]>wrote: > >> Hi All, >> >> i got the following error when i executed the following >> code. Only the first column cell is running.Second coulmn cell is not >> running and it is showing the error as follows. Sometimes it is running >> fine. Also i checked with the column name. Column name is correct. Please >> help me out. >> >> The retrieve DataTable.Value operation failed. The <TestScenario> column >> does not exist. >> Line (24): "Execute DataTable("TestScenario","Global")". >> >> >> Datatable.GetSheet("NeXus Regression UseCases") >> Row_Count = DataTable.GetRowCount >> DataTable.SetCurrentRow(1) >> For i=1 to Row_Count >> Datatable.GetSheet("NeXus Regression UseCases").SetCurrentRow(i) >> Execute DataTable("TestScenario","Global") >> Next >> >> Thanks in advance, >> >> Udhay >> >> -- >> You received this message because you are subscribed to the Google >> "QTP - HP Quick Test Professional - Automated Software Testing" >> group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/MercuryQTP?hl=en >> > > > > -- > You received this message because you are subscribed to the Google > "QTP - HP Quick Test Professional - Automated Software Testing" > group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/MercuryQTP?hl=en Hi Rohit, i have set setcurrentrow= i only. Look into the inside loop i have set i only. But the script is running fine for first iterations when it starts second iteration it gives the error Datatable.value operation failed column doesnt exist. Even the second iteration also running fine when i execute the small functions like launching some of the applications. But when i use some testcase function the script gives the error while it starts second iteration. Please help me out. I tried all the ways Thanks, Udhay -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
