How to capture the child object of WebTable

10 views
Skip to first unread message

Shende Shubhangi

unread,
Feb 27, 2012, 12:00:12 PM2/27/12
to qtp-elearn-team
Hi Team,

I need to capture the values from the datatable.


Whenever I am spying the object I can see the heirarchy as below:

Browser()

Page()

WebTable :# ( Getting Count of this Webtable)

WebTable :# (Need to capture the Rows from this WebTable)

WebElement :()

I need the second webtable from the botttom, But when I am using the
DP for the Object Its Giving me the 1st webtable.

any kind of Help will be appreciated.


--
*Thanks & Regards*
*Shubhangi Shende*

Message has been deleted

Jitendra.S

unread,
Feb 27, 2012, 1:08:45 PM2/27/12
to qtp-ele...@googlegroups.com
If ur using DP then use OI property for  web table  ..i.e in this case creation time must be different  for two WT

if not solved then
Please share screenshot and code.

~J~

Jitendra.S

unread,
Feb 27, 2012, 1:50:04 PM2/27/12
to qtp-ele...@googlegroups.com
Sorry Ya its index value..

One way

1)do one thing add it from OR then run it  without using DP..

so u can  see that object(WT) is ready or not..So u can also get name of WT1 and WT2..and cross check with ur existing  DP code associate with it..

2)Record and If AUT is ready and see the code with WT1 and WT2 so u can get the idea.


~J~
Reply all
Reply to author
Forward
0 new messages