How to work Infragistics controls in LeanFT
Question ID: 107265
0
0

Hi Team,

currently am working with LeanFT and am trying to automate Infragistics control(Ultrawingrid). LeanFT is identifying the infragistics Object(Ultrawingrid) as Table and displaying all the table methods but those methods are not sufficient. am trying to type caste the table into IUltraWinGrid to expose the grid methods but its throwing invalid type caste error.

use the below code :

IUltraWinGrid grid;
grid. (once you click the dot "." then all the methods related to the grid will display)

am doing type caste like this

var pricinggrid = Desktop.Description(new TableDescription
{
ObjectName =@"GrdPrice"
});

IUltraWinGrid grid = (IUltraWinGrid)pricinggrid ;
grid.ActivateRow(1);

but the type casting is not working and its throwing error invalid type caste.
kindly suggest me on this or else please provide sample code to automate Infragistics Grid(Custom,Ultra,Data…) in LeanFT C#.

Regards

Raghu

Marked as spam
Posted by (Questions: 4, Answers: 2)
Asked on November 13, 2016 12:22 am
41 views
Answers (1)
0
Private answer

Have you tried contacting Infragistics support about this?

Marked as spam
Posted by (Questions: 2, Answers: 477)
Answered on October 19, 2017 6:38 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top