Academy - Advanced - Cannot close Work Items PopUp Window

Hello,
I try to finish Generate Yearly Report - but I struggle in one place.
When I click Update Work Item button, new window will appear - ACME System 1 - Work Items - Internet Explorer.
I have no problem with populating Add Comments, choosing New Status, clicking Update Work Item button and finally clicking ok at popup window with message Work Item was updated.
The issue I have is that I cannot close ACME System 1 - Work Items - Internet Explorer window.

  1. The ACME System 1 - Work Items - Internet Explorer window is always in background.
  2. When I use Click Action - by selecting cross close button, the action pass but is not doing anything (the window stays).
  3. Maximising ACME System 1 - Work Items - Internet Explorer window is working but the window stays in the background.
    I’ve try few different method but nothing is working.
    What I’m missing?

@RobertOzog

I can see one more Click Activity in between Click Update Button and Click Close Button. What it is doing ?

Hi,

Sorry formy mistake (misspelling)
It’s closing popup window with message Work Item was updated.

@RobertOzog

Use Element Exists activity and indicate that Pop-up. If it exists then it will give output as True else False. If it’s true then close that pop-up else do nothing.

@ lakshman
Thank you very much for your advice.
Unfortunately this solution is not working.
Element is found, but click is not working.

What I found is that both closing elements (crosses) have identical selectors.
So I was wondering how to change the selector for popup element/cross only?

Problem solved.
Tank you.