Posts: 4
Threads: 3
Joined: Jul 2010
Reputation:
0
08-24-2010, 10:15 PM
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.
Posts: 240
Threads: 38
Joined: Jun 2009
Reputation:
0
08-25-2010, 10:29 AM
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
Posts: 1
Threads: 0
Joined: Aug 2010
Reputation:
0
08-25-2010, 12:13 PM
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?
Posts: 240
Threads: 38
Joined: Jun 2009
Reputation:
0
08-25-2010, 12:30 PM
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
Posts: 4
Threads: 3
Joined: Jul 2010
Reputation:
0
08-25-2010, 08:17 PM
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
Posts: 240
Threads: 38
Joined: Jun 2009
Reputation:
0
08-25-2010, 08:32 PM
Hi Could you please attach the screen shot so that we can get some idea about that.
Regards,
Venkat.Batchu