CrashMonkey icon indicating copy to clipboard operation
CrashMonkey copied to clipboard

the script is not taking any screenshots

Open Tomtombulla1 opened this issue 9 years ago • 3 comments

Hi,

unfortunately I have the problem that script is not taking any screenshots while it is running. I start the script as it is described with:

  • crash_monkey -a /pathTo.app -w B9DECF10-E048-4823-83D5-7E34F91AFAE5
  • simulator is starting and swipes, pinches etc. are executed
  • unfortunately I con not see the "Screenshot is captured" in the console as it is described in the video below
  • when the script is running a report has been created and in the crash_monkey_result folder I can see the index.html

but I only can see the console logs and the screenshots as it is described in the video here: https://www.youtube.com/watch?v=y5PZGVbLHtI&feature=youtu.be

Did I missed something or is here an issue ?

thanks for your help

Tomtombulla1 avatar May 18 '15 10:05 Tomtombulla1

Sorry I mean

"but I only can see the console logs but NOT the screenshots as it is described in the video here:..."

Tomtombulla1 avatar May 18 '15 12:05 Tomtombulla1

You need to enable it in config.json file here is the path of mine: ~/.rvm/gems/ruby-2.1.5/gems/crash_monkey-0.3.0/lib/crash_monkey/templates/config.json

add " "screenshotInterval": 0.25," into the file then you will see.

By default download it's not enabled. I checked the code then found need to set it in config.json. Try it, works for me.

JohnnyWuMigme avatar May 19 '15 02:05 JohnnyWuMigme

Thank you so much. now it works perfectly!

Tomtombulla1 avatar May 19 '15 12:05 Tomtombulla1