GetNAProperty is a TestAdvantage method. The reason for this error message is the same as in your other post (http://community.infragistics.com/forums/p/27830/107018.aspx#107018) RFt is not importing definetion from Infragistics.RFT.NetTestObject assembly. Please try my suggestion on the other thread.
Regards,
Ammar
'GetNAProperty' is not a member of Rational.Test.Ft.Object.Interfaces.GUITestObject'
I'm unable to Import infragistics namspace.
Rekha.
What is the error message you aregetting?
Hi Ammar,
while i'm trying to use the abbove code i'm getting the unhandled exceptional.
pls reply me.
Do you mean column key or column header.
You can actually use GetNAProperty method of the grid test object to get any property, so to get the column header of the first column:
Dim headerString as String
Dim ColumnKey as String
headerString = CSTR(UltraGrid().GetNAProperty("Rows[0].Cells[0].Column.Header.Caption"))
ColumnKey = CSTR(UltraGrid().GetNAProperty("Rows[0].Cells[0].Column.Key"))
I hope that will help you,