We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Unable to cast object of type - GridGroupingControl

Thread ID:





105506 Oct 31,2012 09:13 PM UTC Nov 8,2012 01:41 PM UTC WinForms 1
Tags: GridControl
Asked On October 31, 2012 09:13 PM UTC


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">
        <DllName>C:\Program Files\Syncfusion\Essential QTP\\Bin\2.0\GridGroupingControl.dll</DllName>
        <DllName>C:\Program Files\Syncfusion\Essential QTP\\Bin\2.0\GridGroupingControl.dll</DllName>

Please advise on how to make it work


Athiram S [Syncfusion]
Replied On November 8, 2012 01:41 PM UTC

Hi Serhiy,

Thanks for your interest in syncfusion Products.

kindly, proceed with the steps of installation one more time and check if it works.

1)Make sure that the installed essential studio version and QTP version are same.[]

2) Copy the swfconfig.xml  file from the location ‘{Installed location of Essential QTP Add-On}\Config\<version-2.0, 3.5, or 4.0>\swfconfig.xml,’ to the following location <QuickTest Professional Installation Path>\dat

Restart the machine once the mentioned configuration has been done.

Please refer to the link for further details:


3) Open HP QTP and record the application.

Athiram S 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon