Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP Unable to differentiate WebTable in Application - Solved
#2
Solved: 10 Years, 10 Months, 3 Weeks ago
Dear EnthustiaticLearner,
Thank you very much for the detailed explanation. My 2 cents would be to go with the index rather than pondering over an unique id. Index in itself is a problem solver in dynamic webtables as well as chained tables.

Index starts from Zero, so it is going to be a bit of trial and error before you arrive at the right one. Also, check the Spy to see what the index says? If it is has the right value you may use it. You can also record the object and check the index identification on the Object Repository.

Code:
Set ObjTable = Browser("name :=" &BrowserPage).Page("name := " & BrowserPage).WebTable("class:= Web_Table", "class name:= WebTable" , "index:=0")
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply


Messages In This Thread
RE: QTP Unable to differentiate WebTable in Application as all of them have same property - by basanth27 - 12-26-2013, 09:29 AM
Reply to Basanth - by EnthusiasticLearner - 12-27-2013, 01:23 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Link in a webtable in a webtable Soulwalker 1 2,845 07-19-2017, 01:44 PM
Last Post: Ankur
  How to identify dynamic webtable as unique in QTP? sudheendramurthy 4 18,555 02-23-2016, 06:16 PM
Last Post: vinod123
  Unable to click on WebButton in WebTable srach84 1 3,107 02-09-2015, 09:07 PM
Last Post: arpan
  Webtable actions are not getting recorded, but ObjectSpy is able to identify webtable sahilarora2000 2 3,888 06-13-2014, 04:27 PM
Last Post: vinod123
  Identifying a WebGrid using Div Tag - Solved EnthusiasticLearner 2 3,499 01-06-2014, 09:27 PM
Last Post: EnthusiasticLearner

Forum Jump:


Users browsing this thread: 1 Guest(s)