I’m Using 8.3CLR 2.0 + QTP 9.2
We have SwfTable (see the attach) when I use SwfTable(…).GetCellData([RowNumber], “Autid Action”) I get the number as it’s appear in deciphering Table.
How I can get the text ?
Hi Avishaiy,
Try this:
SwfTable(...).ActivateCell([RowNumber],"Audit Action")
Dim CellText= SwfTable(...).GetNAProperty.("ActiveCell.Text")
I hope this will work for you
Regards,
Ammar
Hi Ammar,
intRow=SwfWindow("BT Agent Desktop v1.0.9.11").SwfTable("BillingAccount").RowCount
For i=0 to intRow
strBAC = SwfWindow("BT Agent Desktop v1.0.9.11").SwfTable("BillingAccount").GetCellData(i,2) If strBAC="GP00009893" Then SwfWindow("BT Agent Desktop v1.0.9.11").SwfTable("BillingAccount").SelectCell i,2 Exit for End If
Next
This is giving me a weird error for getcelldata
IG : The supplied UltraGridRow argument [0] is not one of the expected type(s) : String or Int16Line (360): "strBAC = SwfWindow("BT Agent Desktop v1.0.9.11").SwfTable("BillingAccount").GetCellData(i,2)"
I am unable to understand why is it giving me this error.
Please help..
Need help urgently.. Thanks :)
Thanks it's work :~)