Oi Thays, bom dia.
Pelo que lembro aqui eu utilizo a sequêcia de comandos assim:
Encontrar a janela > Focar na janela > Clicar no menu > Clicar no sub-menu
E aí pelo que me lembro preciso ativar a opção de "Atualizar Cache" (--forcerefresh) para que o RPA reconheça que o sub-menu foi aberto e achar então as opções
------------------------------
Caio Zimmermann
------------------------------
Original Message:
Sent: Fri June 11, 2021 06:04 PM
From: Thays Costa Nascimento
Subject: Try to get control using Recorder
Pode colocar suas linhas de código aqui? Estou com o mesmo problema.
------------------------------
Thays Costa Nascimento
Original Message:
Sent: Thu May 27, 2021 05:17 AM
From: Arwa Aly
Subject: Try to get control using Recorder
Hello Stefan,
That fixed the issue, I was attaching the window once at the begging and by attaching window again as your suggestion fixed the error.
Thank you,
------------------------------
Arwa Aly
Original Message:
Sent: Wed May 26, 2021 06:11 AM
From: Stefan Stefanov
Subject: Try to get control using Recorder
Hello Arwa,
Did you attach to the current window? If not, that might have caused the problem. Also if you want to click on a subelement in menu item like this, you should also attach again once clicked on the parent element.
Regards,
------------------------------
Stefan Stefanov
Original Message:
Sent: Wed May 26, 2021 05:46 AM
From: Arwa Aly
Subject: Try to get control using Recorder
Thanks Mohamed for your response. I've tried all the selectors does not work, moreover tried the OCR and gives the same error.
Ilustration for what I need to do:
- click on "Administration" item.
- then click on "Student" item.
------------------------------
Arwa Aly
Original Message:
Sent: Wed May 26, 2021 03:44 AM
From: Mohamed AbdelWahed
Subject: Try to get control using Recorder
Hi Arwa ,
Try to change the selector and click on the head of the menu (The top element) first then click on the menu item , You may provide a screenshot of the application and what would you like to do exactly
------------------------------
Mohamed AbdelWahed
Original Message:
Sent: Tue May 25, 2021 08:20 AM
From: Arwa Aly
Subject: Try to get control using Recorder
Hello all,
Now i'm using recorder to click on item located in menu item however, it gives me that error "click --selector "Name" --controlsimilarity 100 --name Administration
Control not found to TryGetControl on Name=Administration"
In addition the same error appears when trying to set a value in text box for the same application.
Kindly anyone can help me?
------------------------------
Arwa Aly
------------------------------