Thanks all,

I have used the below statement and it returns 1. But there are 50 visible 
rows in the grid and i have checkboxes for each row. If i count number of 
checkboxes in the table - it gives 50 correctly. But while counting rows it 
give 1. Please give me some suggestion to identify the each row. I need to 
select checkbox for the specific rows based on the value of another column.

x= Browser("Br").Page("Pg").WebTable("1").RowCount
msgbox x


On Wednesday, July 24, 2013 5:01:30 PM UTC+5:30, Akhalesh Yadav 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] 
> <javascript:>>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]<javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> 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] <javascript:>.
>> 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.


Reply via email to