I want the robot to close message box by clicking on OK button. But when I am using Callout ativity or Click activity after message box , I can’t capture Indicate on screen activity, as It is done after \i click on OK button. If I save output of message box in string variable how can I use it to click OK button on message box. Please help.
I also tried running your workflow a lot but no luck.
Please have a look at screenshot that I put one more message box after indicate on screen activity.
Could you explain what are you trying to achieve over here by doing this?
I’ll be better able to explain to you once I can understand what scenario or situation requires this particular flow. Accordingly, it’ll help us identfy what can be a possible work-around or solution to it, depending on the requirement.
I don’t think you can close the Message Box using the same bot. One work around is you could use Auto Closing Message Box, below is the custom activity if you wish to use.
Just create another sample workflow with message box and run that workflow, message box will be displayed and use click activity in your main workflow inside parallel activity with message box and identify the OK button of your message box and modify your selector if required.
I used an “invoke workflow activity” to run your flow, but for you @Adi, you’ll have your message box there along with the click activity.
Also, to ensure things work smoothly, I’d suggest to add a delay via the properties of the “click button” activity. Under “DelayBefore” write say “1000” since it takes it in microseconds and 1000 MS = 1 second.
Let us know what works for you (and what doesn’t. ).
Hi Abdul…can you please tell me how you resolved…if you have screenshot,can you share me…since I am not able to place message box activity in parallel activity