I am having an issue when recording activities and then playing the automation. I select the button however there are multiple buttons on that pane some with the same number sequence. See below. I did notice that there is no code selection for modifying/selecting the pane. This is causing the software to choose a portion of the screen that doesn’t contain the button. In addition I have replaced the recording activity with a Get Element and set it the same way with the selector. Same issue, there is a problem with the correct pane being selected or modified and the button is set to 1002. Please see code below any assistance would be appreciated.
Example:
Pane 1014
Button 1002
Pane 1000
Button 1002
[
{
“filename”: “C:\WinOMSCS\mdcs.exe”,
“processname”: “mdcs”,
“arguments”: “”,
“Selector”: “Windows”,
“search_descendants”: “True”,
“mouse_over_search”: “False”
},
{
“ClassName”: “FNWND3170”,
“Name”: “CS WinOMS Software: Test Box - NDSADMIN”,
“ControlType”: “Window”,
“FrameworkId”: “Win32”
},
{
“ClassName”: “Button”,
“ControlType”: “Button”,
“AutomationId”: “1002”,
“FrameworkId”: “Win32”
}
]