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?
Dynamic UI components in WPF is not identified
Re: Dynamic UI components in WPF is not identified
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?
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?
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Dynamic UI components in WPF is not identified
Than you. I'll try the solution.