MulgraveTester
10 years agoFrequent Contributor
log.picture bug
From time to time I get caught out by the log.picture bug. If you want to log a picture you use log.picture (obj.picture) [This works] but if you want to log a picture with message text the he...
- 10 years ago
Hi Michael,
In VBScript, to call a method with parameters you need to either use the Call keyword:
Call Log.Picture(obj.picture, "my message")
or omit the parentheses around the parameter list:
Log.Picture obj.picture, "my message"
This is standard VBScript syntax, and not a TestComplete issue.