Close Window Problem

When i try execute this activity the follows error appear:

Close Window ‘firefox.exe Visualizar’: The target Element was not specified for this activity. You should set its Target property or use this activity inside of a scope activity (Attach Browser, Open Browser, Open Application, Attach Window, Get Active Window, Element Scope activities).

This activity is configured as follows:

When I configure it separately from the process it works, but I need to do it in the correct sequence of the activity

Hi @Guilas,

Please try to close window in to another attached window and set Applicationwindow variable in attached window and same variable is use to close window

image

If it is working fine Please mark this as solution.If you have any issues let me know. :smiley:

Regards,
Omkar P

I created the variable, but …

Close Window: The selector is not valid