DesktopTest - how to use DesktopGrid?

1 Answer 24 Views
Coded Tests Elements General Discussions
Michael
Top achievements
Rank 1
Michael asked on 21 Feb 2025, 11:28 AM

Hallo everyone,

I have question how could DesktopGrid be used?

The work is on an DesktopTest for a DesktopApplication, which contains Table-Elements on which I want to get access for coded desktop tests.

In DOM-Tree the table is shown as an Element with "controlTypeName=Table".

To find the Desktop-Table-Element I am using:

DesktopGrid table  = find.ByExpression(expression).As<DesktopGird();

When executing the code the Inner Exception occurs:

 ArtOfTest.WebAii.DesktopAutomation.InvalidElementException: Element must be of type 'DataGrid'.

 

For table handling in coded Desktop Test is the DesktopGrid the right solution and how and for what could DesktopGrid be used?

 

 

 

1 Answer, 1 is accepted

Sort by
0
Ivaylo
Telerik team
answered on 24 Feb 2025, 09:49 AM

Hello Michael,

This issue is addressed in ticket with ID 1679828. 

Let's continue our discussion there.

Regards,
Ivaylo
Progress Telerik

Enjoyed our products? Share your experience on G2 and receive a $25 Amazon gift card for a limited time!

Tags
Coded Tests Elements General Discussions
Asked by
Michael
Top achievements
Rank 1
Answers by
Ivaylo
Telerik team
Share this question
or