Page 1 of 1

Dynamic UI components in WPF is not identified

Posted: Fri Feb 26, 2016 12:57 pm
by Aloka
Hi,

Ranorex version: 5.2.2

Problem: It is not identifying the dynamically changing buttons in WPF application.

Description of the problem:
There is a pop-up with several tabs.
Each tab contains a grid and a set of buttons.
As default there are 2 buttons displayed in the tab.
Once the user selects a grid record, it displays another set of buttons (2 buttons).

Ranorex automation works only for the default buttons.
It is not executing the ranorex automation (Pop-up opening > Tab selection > Grid record selection > button click) for the buttons which are displayed on grid record selection.

But after selecting the grid record manually, it executes the ranorex automation for button click.

According to the spy it displays only the default 2 buttons in every time.

Is there way to identify the dynamically displayed buttons?

Re: Dynamic UI components in WPF is not identified

Posted: Mon Feb 29, 2016 2:30 pm
by odklizec
Hi Aloka and welcome here,

I'm afraid, Ranorex 5.2.2 is quite old and no longer support. I would suggest you to upgrade to the latest Ranorex 5.4.5. If your current license does not cover 5.4.5, try it in trial mode. The thing is that WPF support has been significantly improved in 5.3.0 and later. So there is a chance your problem is already solved?

Re: Dynamic UI components in WPF is not identified

Posted: Tue Mar 01, 2016 6:39 am
by Aloka
Than you. I'll try the solution.