How to get rowcount in webtable...Thanx in advance

812 views
Skip to first unread message

vamsi reddy

unread,
Jun 20, 2011, 10:30:23 AM6/20/11
to mercuryqtp
Hi All,
I faced a question in an interview  how to get row count of a Webtable without using Rowcount method.



--
Vamsi Reddy
09618272979
 
 
 

Ganadhar Chordia

unread,
Jun 21, 2011, 2:38:34 AM6/21/11
to mercu...@googlegroups.com
<<obj-hierarchy>>>.GetROProperty("rows")

Cheers,
Ganadhar
+61 403 327 545

--
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 Mercu...@googlegroups.com
To unsubscribe from this group, send email to
MercuryQTP+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

Byzoor.,IAS

unread,
Jun 21, 2011, 3:39:05 AM6/21/11
to mercu...@googlegroups.com

HI,
 
intNoOfRows=object.GetROProperty("rows")
Happy Tester,
Byzoor,

Suresh Bhandari (Mahindra Satyam)

unread,
Jun 21, 2011, 1:45:06 AM6/21/11
to mercu...@googlegroups.com
use Do While loop till (row,1) exits in the webtable and get row number....

Rajiv Nanduani

unread,
Jun 21, 2011, 2:03:59 AM6/21/11
to mercu...@googlegroups.com
use dom oject under webtable and get TR count TR equivalent to Row

On Mon, Jun 20, 2011 at 8:00 PM, vamsi reddy <vamsi...@gmail.com> wrote:
--
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 Mercu...@googlegroups.com
To unsubscribe from this group, send email to
MercuryQTP+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en



--

Regards

RAJIV KUMAR NANDVANI

http://rajivkumarnandvani.wordpress.com
http://testeverythingqtp.blogspot.com/




Azhar Mehmood

unread,
Jun 21, 2011, 4:39:58 AM6/21/11
to mercu...@googlegroups.com
hmm 

you can use GetROProperty ("rows") of Webtable 

Azhar Mehmood
--
Azhar Mehmood
03215056676

vamsi reddy

unread,
Jun 21, 2011, 10:35:11 AM6/21/11
to mercu...@googlegroups.com
Thanks for the reply.....
Vamsi Reddy
09618272979
 
 
 

Reply all
Reply to author
Forward
0 new messages