Stupid issue about pop up windows when download files

I have managed to the final step which command is used to press the save button instead of manually click it

Dialog buttons are best clicked in desktop automation mode. => Add this to your macro:

  • XDesktopAutomation | true

  • XClick | image

You can also try to just simulate enter keypress instead:

  • XType | ${KEY_ENTER}

as you can see the dialog frame is focus on the filename ,i try to use
Xtype | ${KEY_TAB}
and

  • XType | ${KEY_ENTER}
    failed anyway it still wont auto click the save button and close this pop up dialog

Yes, on some dialogs the KEY_ENTER is not received. I am not sure why. But the solution with XClick works always.

i dont know what do you mean by that.it seem no support for target. and select dont work either.since it is not a html part ,i could not figure out xpath either

This is an image of the button as input. You must use it with XClick, not Click.


like this still no luck .pic have been uploaded

image
Line 22: Image ‘save.png’ (conf. = 0.6) not found

To debug the image search:

  1. Switch to desktop automation (on the VISION tab in the settings)

  2. Select the XClick Line and press FIND button. Before that, add e.g. “@0.3” behind the image file name to lower the confidence level.

But: Why is the image name so long? I guess you copied it from my forum post? :wink:
=>You must not copy the image from forum! => Instead create it yourself on your machine:

  1. Switch to desktop automation (on the VISION tab in the settings)

  2. Select the XClick Line and press SELECT button. This opens the screenshot graber tool and you can select the button image.

actually when pop up a window,i can not switch to plugin for that select operation except close dialog first

Do you mean the UI Vision IDE is frozen until the dialog is closed?

yep .
nothing i can do for that moment

Which browser is this?

firefox 90.0.2 64bit