Record and Play Back using SAP GUI API using VBScript
I am new to SAP but has a good experience in developing vb scripts. Now I got a task to automate SAP transcations using VB Script. This is pruely for testing.
I could able to record scripts and modifiy them to suit for testing with dynamic test data from xml and excel.
I am facing a problem when executing the scripts, some times a new pop up gets displays and my script stop executing. This is because of some checks implemented. Can any one let me know how to capture unexpected message box. Is there any way I constantly monitor popup windows and check the content and by pass or take action.
Here an example,
I am creating a sales order and tested this for three times for all this tests I used only one Sold to Party. When I execute this fourth time I will get popup for dynamic credit check. I want to stop the script if I get this popup.
Thanks in Advance.