Hi Vamsi,
getroproperty("row") will return total no of rows exist in
webtable at run time.But if we want to count some selected rows based on
specific conditions then we will use webtable.rowcount method, with
appropriate condition.
if webtable("").webcheckbox("index:="&i).checkproperty("checked"True) then
rowcount counter increased by one
else
end if
hope now you will be understood and if i am wrong then correct me
Thanks
Akhalesh
On Fri, Mar 15, 2013 at 12:05 PM, chaman kalra <[email protected]> wrote:
> Hi,
>
> 1. getroproperty:it will return all the values of the property during
> runtime:rows=?
> 2. rowcount will count the number of rows
>
>
> On Fri, Mar 15, 2013 at 11:48 AM, vamsi reddy <[email protected]>wrote:
>
>> Hi All,
>>
>> I faced a qn in an interview what is the difference
>> between GetROProperty("Rows") and RowCount in Webtable?
>>
>> a = Browser("BSE Ltd. (Bombay Stock").Page("BSE Ltd. (Bombay
>> Stock").WebTable("Index").GetROProperty("Rows")
>>
>> a = Browser("BSE Ltd. (Bombay Stock").Page("BSE Ltd. (Bombay
>> Stock").WebTable("Index").RowCount
>>
>> --
>>
>> Thanks
>>
>> Vamsi Reddy
>> *
>> *
>>
>> * *
>>
>>
>> --
>> --
>> 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.
>>
>>
>>
>
>
>
> --
> Thanks & Regards
> Chaman Kalra
> Email :[email protected]
>
>
>
>
> --
> --
> 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.