Posted: 16 Aug 2019 6:51 EDT Last activity: 16 Aug 2019 11:27 EDT
.Net application Consider Check Box as a Button while interrogation
We have interrogate .Net application (Baan V) for Check Box, but instead of Check Box it is consider as Button and hence we are unable to identify whether it is Checked or not (True Or False), on this condition we have to do further steps.
We haven't see "Is Checked" method or property in Pega to validate that.
You do have the ability to modify the DefaultWindowFactoryConfiguration.xml in the installation directory to trick Studio into treating a particular control as another type. This only works if the control is actually a the new type you are tricking it to be (i.e. you could probably trick this button to be a checkbox but it is not a ListBox and so none of the Properties/Methods/Events would work). The class name here though seems to indicate it is a button and making buttons into CheckBoxes would affect all of them.
For this, you might need to look at creating a UI Connector since the application is .Net. Here is an article about that.