Last activity: 8 Feb 2019 10:16 EST
Interrogating old Windows app
I am working on an old Desktop application, I have to read the menu items of the ComboBox, When I interrogate it, its identified as a control.I could not interrogate it using the Bull's eye pointer, but created the control from "List Windows" tab.
I had passed the control to the Script but I am unable to read the list of menu Items from that control. Can you please suggest how to do this?
I have used a script and got the Handle.But I am not getting Windows control , its returning NULL. How Do I get the MenuItems?
***Edited by Moderator Marissa to update platform capability tags****
If it isn't an app on the support matrix we don't guarantee functionality. If it's a critical app you'll need to open an SR for a translator.
Hi, Thank you for the reply.
Where can we check the support Matrix?
Pega Robotics Support Matrix
In addition at this page you can see what's new in Pega Robotics - Pega Robotics Automation.
Can you share a screenshot of the control in the windows tab, a screenshot of the control in the object explorer? What is the classname of the control?
There may be some options to get it working but need some clarification by seeing the control.
The class name is :
Please find attached the screen shot
- Navigate to the Installation directory and find the file - DefaultWindowFactoryConfiguration.xml
- Open it and scroll down to the ComboBox section
- Add a new entry - like this, <Window class="TComboBox" type="ComboBox" />
- Save the file
- Restart Studio and then delete the old control and re-interrogate it.
- If it worked, the control should interrogate as a ComboBox... then try the out-of-the-box methods for getting the items.
Thank you SO much Mitchell!!! It worked!!! It worked!!
Thanks a lot!!
You can probably do the same thing for those textbox controls that I see in your screenshot. It's worth a try.
But our question now is , for the users, who will use the application using Runtime, should we do the same thing?
Should changing the XML config file be a manual step after installing the Runtime? Is there a way we can include it as a part of Runtime installation?
No, I'm pretty sure you don't have to make any changes on the Runtime machines.