Hello AlishaM,
Thank you for your question.
Basically if the “Include” statement does work in some tests and in others it does not work this may be an issue of the test itself:
You need to check the *.zap file which the Include is adding to your test, maybe there are some coding errors (Try to run the *zap file separately and make sure it gets the required valuesexecution, if necessary use the “MsgBox” command to see the required values).
Also there is a need to check if the Include *.zap file’s attributes (Such as variables) is being used properly in the main test (For example, same Transaction name cannot appear in the include file and in the main test).
If all the above did not help, please remove the Include statement and copy to the main test all the *.zap code which the Include supposed to import to the test:
Also send ZAP the exact issue with the Include statement .
Please contact ZAP for further help.
Thanks,
Sasha