Error: Type Mismatch: “sleep”
Problem:
ZAPTEST doesn’t have method “sleep“. Instead of, please use the built-in method “Wait” or “Zap.Wait” which accepts time in seconds and in milliseconds(optional).
How to Resolve this problem:
- Replace “sleep” method calls within built-in “Wait” method
- Please check-out the Wait method documentation page to get more information and examples
What to do:
As additional, please watch the video – which standard methods we can find in a tool: