Unable to get text from a windows application

We have a very basic windows application and I need to collect text with OpenRPA.

Using the Windows.GetElement tool I can select the text box perfectly.

But then in the Selector, I can’t see how to get the text.

Selector:

[
  {
    "filename": "%USERPROFILE%\\Desktop\\main\\main.exe",
    "processname": "main",
    "arguments": "",
    "Selector": "Windows",
    "search_descendants": "True",
    "mouse_over_search": "False"
  },
  {
    "ClassName": "TkTopLevel",
    "Name": "CloudIDP",
    "ControlType": "Window",
    "FrameworkId": "Win32"
  },
  {
    "ClassName": "TkChild",
    "ControlType": "Pane",
    "FrameworkId": "Win32"
  }
]

Regards

you just assign then item.Value to a variable. you don’t want your selector to be hardcoded to a value

Try adding a Get Element from under the image category, INSIDE your Get Element and then check the value by adding a write line inside the new get element with value item.value

1 Like

I solved it by modifying the script and having the pin saved in the clipboard and then using the tool that saves in an OpenRPA variable whatever you have saved in the clipboard.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.