Hi,
we are in the process of estimating Syncfusion add-in to automate a 3-rd party application built in C#, .NET 2.0, and Syncfusion Win Forms 7.4. We use QTP 11.
We installed add-in and completed configured as per help files.
The code
str = SwfWindow("User: userA").SwfWindow("MultiCcy Monitor").SwfObject("gridGroupingControl1").getFormattedText (4, "State")
generates the following error:
Unable to cast object of type 'Lava.FF.OMS.Client.Monitors.MultiCcyMonitorGrid' to type 'Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl'.
However code line
SwfWindow("User: userA").SwfWindow("MultiCcy Monitor : Bank").SwfObject("gridGroupingControl1").setCurrentCell 4, "State"
does not give any error.
The configuration file looks as follows:
...
<Control Type="Syncfusion.Windows.Forms.Grid.Grouping.GridGroupingControl" MappedTo="SwfTable">
<CustomRecord>
<Component>
<Context>AUT</Context>
<DllName>C:\Program Files\Syncfusion\Essential QTP\10.3.0.43\Bin\2.0\GridGroupingControl.dll</DllName>
<TypeName>Syncfusion.TestStudio.Grid.GridGroupingControl</TypeName>
</Component>
</CustomRecord>
<CustomReplay>
<Component>
<Context>AUT</Context>
<DllName>C:\Program Files\Syncfusion\Essential QTP\10.3.0.43\Bin\2.0\GridGroupingControl.dll</DllName>
<TypeName>Syncfusion.TestStudio.Grid.GridGroupingControl</TypeName>
</Component>
</CustomReplay>
</Control>
...
Please advise on how to make it work
Thanks