VictoriaD
Apprentice

"Cancel" button not found on print dialogue

Hello,

 

I'm doing an "On Your Own" exercise in Nintex University's Nintex Bot Practitioner v17 course.  One of the steps is to target and click the "Cancel" button in a print dialogue (the "fancier" one, I'm not sure if it's got another name but it's not a traditional print dialogue).  I can't get it to work, it keeps returning "The target was not found".

I'm using the Microsoft Edge browser.

 

Has anyone else encountered this?  I fiddled around with the target settings, but seeing how many "parents" there are I'm wondering if it'll be more complex than the exercise means for me to try to troubleshoot.

 

Thank you,

Labels: (1)
0 Kudos
Reply
13 Replies
devinweber
Apprentice

Re: "Cancel" button not found on print dialogue

Is RPA able to target anything on the printer dialog window?  If so, maybe you can target that field, and send tabs down to the cancel option, followed by pressing the spacebar.

Reply
VictoriaD
Apprentice

Re: "Cancel" button not found on print dialogue

Hey @devinweber , thanks for the quick response.

I can target the "Cancel" button but when I run the bot task that is when it will give the error.  I can try random things to see if I can get something to work, but that leads me to my next question...

 

Similar to your suggestion, I thought that if I could hit the "Esc" key on the keyboard that would work, but I haven't figured out how to use key strokes.  It also seems like the keystrokes you can hit are limited (Looking at Actions Quick Reference (nintex.com)), and space bar is also not one of them.  Have you been able to bot pressing spacebar?

0 Kudos
Reply
devinweber
Apprentice

Re: "Cancel" button not found on print dialogue

Once you target something, use the "send value", in the Send box, click on the magic wand, on the right side you'll find Keyboard.  There you will find Esc, Spacebar, F keys, etc.  Hope this helps!!

 

Side note, I've had to put in plenty of workarounds to get past different anomalies to make it through a project.  The dev team seems to be fairly responsive in deploying fixes, which is a plus!

Reply
michta
Nintex Employee
Nintex Employee

Re: "Cancel" button not found on print dialogue

Hi, Vicky,

 

Can you send a screenshot of the Details for the Cancel button? You'll see the details below the preview in the Rules pane on the action.

 

You could also try setting the UIA Targeting Override option in the Tools menu for the action.

 

Thanks,

Mike

Reply
VictoriaD
Apprentice

Re: "Cancel" button not found on print dialogue

@michta I'm afraid I don't understand your direction of there the details are located.  I've attached all the screenshots for the Cancel button setup as I'm aware of.

0 Kudos
Reply
michta
Nintex Employee
Nintex Employee

Re: "Cancel" button not found on print dialogue

Understood. See the attached screens for the locations of what I'm asking about. If you could save the details and share them here, that would be best.

 

Thanks,

Mike

Reply
VictoriaD
Apprentice

Re: "Cancel" button not found on print dialogue

Hello @michta,

 

I didn't see either of those options, so for future reference...

- "Comfort Level" of professional is required to see the "Details" button, and

- "Comfort Level" of expert is required to see "UIA Targeting Override"

 

Details attached.  Enabling "UIA Targeting Override" didn't resolve it, unfortunately.  Thanks for your assistance!

0 Kudos
Reply
VictoriaD
Apprentice

Re: "Cancel" button not found on print dialogue

Nice find @devinweber!  That works 🙂

@michta is taking a further look at the "Cancel" button so stay tuned to see what they learn.

 

In the meantime, I hope that I will benefit from your extensive workaround experience again in the future.  Thank you and take care!

0 Kudos
Reply
michta
Nintex Employee
Nintex Employee

Re: "Cancel" button not found on print dialogue

Cool, thanks @VictoriaD. Can you try Google Chrome and see if you can target the Cancel button? Also, what version of RPA Bot are you running?

Reply