Posts: 3
Threads: 1
Joined: Dec 2013
Reputation:
0
12-12-2013, 04:49 PM
Hello there,
I am trying to test Avaloq, that is a Banking application whose client is written in .NET, with UFT but when I try to read the content of an Avaloq table I receive this error:
The method or operation is not implemented.
Line (26): "Set myVal = mySwfTable.GetCellData (2 , 2)".
Thanks for a tip
Angelo
Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
12-19-2013, 07:32 AM
Hello Angelo,
You cannot set a value against a method where you are fetching a value. That contradicts the methods operation intention.
You can store the value obtained in a variable as such,
Code:
myVal = mySwfTable.GetCellData (2 , 2)
msgbox myVal
If this works, you may read the below for your General Knowledge. If it throws an error stating the method is not supported you may want to try the below,
What is the type of the table object? I am presuming it to be a swftable?
Code:
SwfTable(...).ActivateCell([RowNumber],"Audit Action")
mytext= SwfTable(...).GetNAProperty.("ActiveCell.Text")
msgbox mytext
Hope it helps.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
01-08-2014, 07:37 AM
My bad. I apologize. It should be,
Code:
mytext = SwfWindow("Complete Edition - SOLAIO03").SwfWindow("Recent Orders").SwfTable("AvaloqServer/FORM_SECTION/form").GetNAProperty("ActiveCell.Text")
There should not be dot after GetNAProperty.
Does it work?
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.