Disable Certain Screenshots Taken in Keyword Test
Hello,
Is there a way to disable certain screenshots from being taken within the keyword test scripts? Below I have two screenshots that are automatically being taken and I was wondering if there was some option to enable / disable a specific screenshot.
Thanks so much!
this is almost directly related to the accepted solution of https://community.smartbear.com/t5/TestComplete-General-Discussions/Disable-taking-screenshot-with-On-Screen-Action/m-p/213343#M39426
in order to use the script solution provided within the docs
Options.Visualizer.CollectMode = vcmOff # Disable Test Visualizer Options.Visualizer.CollectMode = vcmImgObj # Enable Test Visualizer, save both images and object data
you would drag and drop the "run code snippet" operation into the place just above the operation where that screenshot you dont want is taken, and provide the first line you see above
then you would drag another "run code snippet" operation just below the end of the operation that you dont want screenshots taken for, and put in the second line provided above.