I need the bot to throw an exception if it has not clicked/TypeInto on any element in a webpage. Instead it continues to perform subsequent activities(despite previous activity was not completed) and gives a “Success Transaction” popup.
- Open browser
- Click(should be performed - But i have deliberately commented the click activity)
- Invoke Workflow file
- Click button(in new page)
To put it simply, i need to extract an exception if the click activity is not performed before calling a new workflow file. How to achieve that. Suggestions would be appreciated. TIA…