Skip to content

Replies

0
Anuja
Anuja answered on Apr 19, 2011 11:25 AM

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 Int16
Line (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 🙂