Micro Focus QTP (UFT) Forums
Webtable Checkpoint to get cell data from dynamic WbfGrid - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Webtable Checkpoint to get cell data from dynamic WbfGrid (/Thread-Webtable-Checkpoint-to-get-cell-data-from-dynamic-WbfGrid)



Webtable Checkpoint to get cell data from dynamic WbfGrid - Neetha - 08-06-2015

Hi,

I am trying to get cell data from a dynamic WbfGrid and compare it to my string. I am able to identify the WbfGrid when I provide property name "html tag:=TABLE" to get the row count. But, when I use the method GetCellData(2,3), it throws an error.

Can you help me how I can acheive this?

My step will look like
Code:
Browser(...).Page(...).Frame(...)WbfGrid("....)

the number inside the WbfGrid will be changing during my run.

What is the easiest way to get cell contents. I need to get for an entire column of dynamic table and compare it my string. I tried several methods but nothing worked.

Thanks in advance.


RE: Webtable Checkpoint to get cell data from dynamic WbfGrid - ADITI1992 - 08-20-2015

Try to give two or three properties along with html tag and then use getcelldata