Close applications activity is giving me an exception


#1

All,
The following Exception is throwing while closing a notepad application opened by a sequence.

How can i fix this…

image


#2

Hello!

Could you please share with us the arguments that is passed on Close Application activity?

Regards,


#3

Hello Lucas,

Nothing i am passing… i am a beginner. can you brief me how can i handle it. attached is the screen of properties of close applications activity.

image


#4

please can you expand the ‘target’ field in the above screenshot and take a screenshot of the full selector, and also one of the notepad window you are trying to close?


#5

Hello Djh,

here is the screen shot… my doubt here is, drag and drop close applications activity is enough to close the opened notepad, or else do we need to configure anything to do so…

image


#6

Hello!

You must have to indicate the application that you want to close.

On the close application activity, click on “Indicate on screen” then select the opened Notepad.

Hope It Helps!

Regards,


#7

Hi,

Thank you for your suggestion. i am opening the application using open application activity, since it is opening in middle of execution and writing some text into it, how can i go with indicate on screen option here…


#8

Close application activity: Indicate on screen and specify the application.


#9

Ok…

To your better understanding follow below a example:

OpenCloseNotepad_Example.xaml (9.1 KB)

Hope It Helps :smiley:


#10

when you place the close application activity, it will look like the below. click on ‘indicate on screen’ and then click the notepad window, which should go blue. This will set the close application activity to the notepad application
image


#11

You ll need to place close activity in attach windiw. Also add the selector in the attach window activity.


#12

Hi Avnesh,

  1. Add activity of a close application
  2. Click on “Indicate on screen”
  3. point the cursor on close symbol/picture and drag on it.
  4. Selector path will be captured.
  5. Add regular expression to make it dynamic.

Hope this will help else let me know further.


#13

Hi Friends,

I am new to UiPath. When I am trying to close application even I am getting the same error message.
Error
My close application activity is looking like this:
close%20application%20activity
And my Activity Panel is like this when I am trying to select close application activity:
Activity%20panel
Properties%20panel
Can someone suggest what to do?


#14

Are selecting the opened application? Since you select it, the selector property will fill with the application information that need to be closed. Without this, Uipath cannot know which application needs to be closed :open_mouth:

Hope it Helps :wink:

Regards,