Datatable.importsheet "path",sorcesheet,"Global" ' Get Test Data Sheet Count TestSetCount = DataTable.GetRowCount If TestSetCount = 0 Then ExitTest End If
' Iterate all the records present in the Test Data For TestRow = 1 to TestSetCount DataTable.SetCurrentRow(TestRow) On Thursday, July 11, 2013 7:54:38 PM UTC-7, Venkat Reddy Bandaru wrote: > > Hi, > Could you please help in parametering the source sheet in > datatable.importsheet method > Datatable.importsheet "path"&"," & sorcefile & "," & "Global" > Here I am trying to parameter the source file dynamically and store it in > the global sheet, but I am getting the error as " wrong number of arguments" > Could you please any one help on this > > Thanks > Venkat Reddy > > Thanks, > Venkat Reddy Bandaru > [email protected] <javascript:> > + 91 9884524606 > -- -- 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 Groups "QTP - HP Quick Test Professional - Automated Software Testing" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
