Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to identify dynamic webtable as unique in QTP?
#4
Not Solved
(10-01-2010, 03:46 PM)sudheendramurthy Wrote: I have a scenario wherein I need to verify the webtable data. After
entering input query criteria, I get results and these results are in
the form of webtable. There are two webtables embedded in one. These
two tables are identified as two different objects once containing the
header column and other containing rows but the number of rows varies
from input to input. So if for one input I get 3 rows, then for some
other input I may get 20 rows and if i learn objects for both case they
are captured as two different webtables.
In short I need to identify this dynamic webtable as unique? How can I
use descriptive progrmming in this case, if applicable?

I do not understand the need for u to identify unique webTable for different input/output.
Do the Columns vary for each different input value?

In your case u can get the column count of WebTable1 and iterate to the required column. And get the column number.
Now use the same column number along with rows of WebTable2 to verify the required value.

Even if the number of rows differ for different input.....as long as your table structure remains the same you should be able to access table values dynamically....hence no need to uniquely identify columns every time

Let me know if got it.
Reply


Messages In This Thread
RE: How to identify dynamic webtable as unique in QTP? - by atul4278 - 02-09-2016, 06:23 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to identify a Dynamic WebElement? PreethiJoshi 1 5,213 05-03-2018, 04:08 PM
Last Post: Ankur
  Link in a webtable in a webtable Soulwalker 1 2,718 07-19-2017, 01:44 PM
Last Post: Ankur
  Webtable actions are not getting recorded, but ObjectSpy is able to identify webtable sahilarora2000 2 3,669 06-13-2014, 04:27 PM
Last Post: vinod123
  QTP Unable to differentiate WebTable in Application - Solved EnthusiasticLearner 3 6,048 12-27-2013, 12:26 PM
Last Post: EnthusiasticLearner
  How to identify HTML tables developed with DIV and SPAN tags as 'WEBTABLE'? bell.ramesh 1 4,045 08-20-2012, 11:07 AM
Last Post: Victor~

Forum Jump:


Users browsing this thread: 1 Guest(s)