Hi Deepak fine row number using following step Step1: Get total number of Row and column in Table Step2: Start Loop form 0 to Row-1 Step3: Get value of particular column (if u know column number/name) Step4: Compare each value from ur expected result to current row value Step5: if value found Exit from Loop Step6: End Loop
I think this would be help full for u. If you have any query feel free to ask -- Thanks & Regards Sujit On Thu, Apr 12, 2012 at 6:00 PM, <[email protected]> wrote: > Thank you both. Let me try > > Sent from my iPhone > > On Apr 12, 2012, at 12:43 AM, Deepak Kumar Mahapatro < > [email protected]> wrote: > > If DataTable("B",1)="BB" and DataTable("C", 1)="3456" Then > > MsgBox DataTable.GetCurrentRow > > End If > > On Wed, Apr 11, 2012 at 11:34 PM, Kiran Ogeti <[email protected]> wrote: > >> I have an idea how to get row number of a particular data in datatable, >> but in the event of multiple search combinations like this below: >> >> column a,b,c >> >> Row1: 1,BB,1234 >> Row2: 2,BB,1235 >> Row3: 3,CC,1236 >> Row4: 2,BB,3456 >> >> >> I need to find row for the combination of data "BB" plus "3456" .. Could >> you help quick snippet on this >> >> Thx >> >> -- >> 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 >> > > > > -- > Regards, > Deepak > > -- > 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 > -- 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
