Yes, I tried with Click Image Activity but the button is not getting clicked. After selecting the Yes button I am getting below output. The image is not clear or maybe it is not getting captured properly.
Try opening UI Explorer and selecting the yes button to see the selector that is automatically being generated by uipath and try and build a reliable one from that. Sometimes buttons from pop up windows need a dynamic selector or need certain elements to not be included in the selector.
There is no better way, utilise UiExplorer.
You have to create selectors based on it.
You can also try using element Exists, it will wait for element to appear and perform action on it, more like a element appear however more reliable in use.
The first thing I would try is replacing the ctrlid=‘6’ to ctrlid=‘*’
If that doesn’t fix it try the same technique by replacing cls=‘#*’ as well.
The * acts as a wildcard that accepts any number of characters, so if the ids of the application window changes then the selector will still be able to find it.
Copy your current selector in notepad, one you are using.
Debug your code, it will break at this particular point when unable to click on yes.
Stop bot at this point, recreate your selector and compare it with the one you have in notepad… share both of your selectors.
I deleted the excel sheet and downloaded it again and now I am getting the popup. And I found that after entering into the Excel Application Scope the Do Sequence is not getting executed. The Do Sequence is not getting executed that’s why it is not giving the message or clicking the button.
Only after closing the popup box (manually) I am getting the Message on the screen.
I think that the Excel Application Scope opens the Excel instance and goes to the activities inside the scope only when the Excel Window is available, since it passes also the session as output.
In case there’s a popup the Excel Window is not active, so the scope is “stuck” into the opening.
Now, I am able to open the excel sheet but not able to write data in the cell. If I am trying to select the cell then a complete excel sheet is getting selected. Write Range and Write Cell only works with Excel Application Scope Activity. And if I am using the Excel Application Scope Activity, then I cannot access the excel sheet.
By using the Start Process Activity the excel sheet is getting open and the POPUP box issue got resolved but Is there any way to write in a particular cell or I have to use Excel Application Scope Activity?