I cannot make a selection in a drop down because it is a popup apart of the website

I have an issue where I click on a link on a website (tab 0) and a dialog box pops up. The pop up is not a new window, nor tab, but the pop up is on the same website page tab (tab 0) where the actual page is grayed out so the pop up box is the only thing that is active to click inside. There is a drop down box inside of the popup where I need to make a selection. Ui.Vision is not allowing me to select anything in the popup because it is not actually apart of the website source page (tab 0). How can I click the dropdown and select an option in the popup? Please help.

The popup is in a div container that shows on the main page if that helps.

This is an hard case you can use 2 solutions

  1. Use image regonition to click with desktop automation

https://ui.vision/rpa/x/desktop-automation

  1. Use Xtype to switch in popup and after with KEY_TAB try to detect select

https://ui.vision/rpa/docs/xtype

There are are hard solution you must try more times because it’s an hard case to solve this.

An alternative solution can be try to force browser to not open in new window (with about config of firefox) or extact the url to click and open it in new tab without clicking on it.

THANK YOU SOOO MUCH! I used the second option “Use Xtype to switch in popup and after with KEY_TAB try to detect select”. Because I am using Xcommands that means I have to pay for a license?

With free xmodules you can use 25 commands Xtype or Xclick in a macro you can use free xmodules for limited amount of commands.

Just for confirmation, if a test folder has 20 macros inside, each of those 20 macros can have up to 25 Xcommands for free? Or does the test folder overall only receives 25 Xcommands?

Free play can use max 25 xtype/xclick command for each macro or testsuite.

Testsuite will stopped to execute command when reachs 25 xtype/xclick command for free plan

I also used XType with Key_TAB to highlight the popup close button, then XType with KEY_ENTER to click its button and it worked. Now i dont know how to switch focus back to the website…I tried selectWindow TAB=0, and selectFrame index=0 and still wont work. Any idea how to fix this?

I suggest you to close popup without any Xclick/Xtype because this type of command sometimes fails and can control the error.

When i used Key_TAB i have more strange problem (like changing of windows).

I also tried XDesktopAutomation | true to click the popup but then cant click on anything on the site. I tried xclick xpath, bringBrowsertoForeground, selectWindow | tab=0, selectFrame | index=0 or relative=top or relative=parent. Any clue how to be able to click in the website after i close the popup? Also tried to set XDesktopAutomation | false imediately after i closed the popup, and still wont work. Please help.

The job need to study, after you can find a good solution.

I use 20 external tools to detect advanced xpath (ui vision do not record these xpaths).

Post ulr page and i see the page and try to find a good solution.