Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
get row header in a grid
#1
Not Solved
Hello,

I'm facing the following issue with QTP:

I need to validate if each row in a grid has the right header, but as far as I know QTP just allows you to refer a row by its number (position), not its name.

So, I need a way to obtain the name of each row in my grid.

Thanks for your help.
Reply
#2
Not Solved
Hi,

As per my understanding with ur issue,

You can validate the data by fetching the cell value using "GetCellData"
Syntax:GetCellData(row,Coloumn)


You can fetch the row value for the matching text w.r.t to the coloumn by using
GetRowWithCellText(Start From Row,Text to Find,Column)

Please let me know for further clarification.


Regards,
Venkat.Batchu
Reply
#3
Not Solved
Hi,
Can any please let me know how to check labels in qtp.
I have a application in two languages-english and danish.I want to check whether labels are correct for the corresponding english labels?
Reply
#4
Not Solved
Hi Ankit,

Please open a new thread as the query which you posted is different.

We would suggest you with the better solutions.

Please do this.

Regards,
Venkat.Bathu
Reply
#5
Not Solved
Hello Venkatbatchu,

The issue is that I need to get the row header or name. Since the row header is not a cell, I can't refer to it as a cell in my table.

Any idea?

Thanks
Reply
#6
Not Solved
Hi Could you please attach the screen shot so that we can get some idea about that.


Regards,
Venkat.Batchu
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  DataGrid: double click on selected row robertosalemi 0 4,437 05-12-2016, 03:00 PM
Last Post: robertosalemi
  Row count is always shown as 1 Harry1999 0 2,097 04-14-2016, 11:11 PM
Last Post: Harry1999
  Not able to click text inside the grid dropdown szkapoo 6 4,661 12-20-2014, 09:43 PM
Last Post: supputuri
  SAPGUI Grid Ansh123 1 5,680 11-20-2014, 05:05 PM
Last Post: supputuri
  UFT with Windows grid user1 0 3,062 10-01-2014, 10:21 PM
Last Post: user1

Forum Jump:


Users browsing this thread: 1 Guest(s)