Robotic Process Automation (RPA)

Robotic Process Automation (RPA)

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
  • 1.  Windows controls

    Posted Thu April 07, 2022 12:48 PM
    Hello,

    I am trying to use the mapping controls with the recorder, but the key Control doesn't work, I mean the control has to turn green, but it doesn't.
    I tried to do the same with the NotePad, the control turns in green, then I used the click action an error was show.

    Exception of type 'WDG.Automation.Windows.WindowNotAttachedException' was throw

    Thanks for your help

    ------------------------------
    Alex Virrueta
    ------------------------------


  • 2.  RE: Windows controls

    Posted Fri April 08, 2022 02:37 PM
    Hi Alex,

    It might be two separate issues. If you are in Recording mode and no element is detected when you hold the Ctrl key, it might be the case that the application isn't supported. You could always try and restart Studio/IBM Service to make sure it isn't some other problem as well.

    Regarding Notepad, if the case is that you are able to record the element and the error happens only at runtime/debugging, it is possible that you are missing a command like Wait for Window to Appear to attach to the window before trying to interact with its elements.

    ------------------------------
    Vinicius Marques
    ------------------------------



  • 3.  RE: Windows controls

    Posted Fri April 08, 2022 05:15 PM
    Hi Vinicius,

    How can I know if the application is supported, I want to use Windows application Active Directory Administrator to perform activities such as unblock an account.

    Thanks & Regards






  • 4.  RE: Windows controls

    Posted Mon April 11, 2022 09:55 AM
    Edited by Vinicius Marques Mon April 11, 2022 09:57 AM
    I'm not sure if there is another built-in tool for this other than the Recorder, but one possibility is to use Microsoft's Accessibility Insights tool.
    I haven't worked with the Active Directory Administrator application yet though, so I'm not sure what kind of selectors for elements will be available.

    One thing to pay attention to is that if the application is being run through Citrix or some other virtualization technology, the selector will not work regardless and you would have to automate using mouse/keyboard and vision only.

    ------------------------------
    Vinicius Marques
    ------------------------------