Hi Shashi,

If you directly add the object (which is inside the webtable), QTP would
not add the web table object in the repository. In case you want to add
webtable in the OR, you have to select that only in the object spy. Even if
you do that also, the object inside the webtable would not come under
webtable in the OR. You can use the below method to click on the Webelement
in a table.

Suppose you want to click on WebEl_1. Now this webelement is in 1st row and
4th column. And within cell(1,4) this Webelement occurs at 0th index.

  Val1

Val2

Val3

*WebEl_1  WebEl_2  WebEl_3*

1. First add the WebTable in OR.

2. Then use the ChildItem method of webtable...

Browser("b").Page("p").Frame("f").WebTable("wt").ChildItem(1, 4,
"WebElement", 0).Click


*Regards,
Anish Pillai

[Automation Repository] <http://www.automationrepository.com/>

[Subscribe via 
Email]<http://feedburner.google.com/fb/a/mailverify?uri=automationrepository/feeds>
[RSS Feed] <http://feeds.feedburner.com/automationrepository/feeds>*

-- 
Regards,
Anish Pillai
My QTP Blog <http://automationrepository.blogspot.com>

-- 
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

Reply via email to