You may have selected table above or below or you may not selected exact Table, while spying it shows many tables so choose right table by using spy, it will work.
Regards, Ravi S On Wed, Jul 24, 2013 at 5:01 PM, Akhalesh Yadav <[email protected] > wrote: > Hi Mary, > No need to explain the more property for webtable, just you > can define name, html tag and micclass of webtable. you can use inbuilt > method getrowcount for webtable. > Rcount=Browser("br").Page("pg").WebTable(WebTbl).getrowcount > > > Thanks > Akhalesh > > > On Wed, Jul 24, 2013 at 3:38 PM, Mary <[email protected]> wrote: > >> I have a webtable in which there are 50 rows and 15 columns. But if i use >> Rowcount, columncount it gives 1. But i need to check a checkbox in the >> grid for a specific row. >> >> Set WebTbl=description.Create() >> WebTbl("micclass").Value="WebTable" >> WebTbl("html tag").Value="TABLE" >> WebTbl("name").Value="2" >> WebTbl("x").Value="170" >> 'WebTbl("abx_y").Value="159" >> 'WebTbl("column names")="1234Select all.*" >> Set d=Browser("br").Page("pg").WebTable(WebTbl) >> Numberofrows = d.RowCount >> >> -- >> -- >> 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. >> >> >> > > > > -- > Akhalesh yadav > +919555717928 > +919310680659 > > -- > -- > 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. > > > -- -- 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.
