Vugen script takes different action when error occurs
We have Vugen 9.5 and we created a script that logs on to a web page. Sometimes the user id used in the script does not exit successfully and the web site thinks the id is still logged in during the next runtime of the script.
Is there a way to modify the script that if a certain error message appears then click the button that allows access using the existing connection, and if there is no error then the script should work as normal?
Re: Vugen script takes different action when error occurs
It is possible to modify your script according to your requirement. Insert a web_reg_find() function in your script in order to capture the required error message. Insert an IF condition to perform the required set of actions according to the condition. It is very simple. Please refer to the "Vugen help" for the function syntaxes if required. Let me know if you need any more help. Thanks. 🙂