1

I'm having trouble with Selenium screenshots when using pabot to run my tests. They're simply not visible in the HTML log file as seen in the example below (only a dot is appearing) :

enter image description here

The HTML log file is looking for a file named Acceptance.Bills.Sbip2 12020.Sbip2 14252.visibilityOfReferenceNumberInBillModification-selenium-screenshot-1.png, but my screenshots aren't saved using this name when executing with pabot.

enter image description here

Any idea what I'm doing wrong?

1

One possible cause, the file system. Some don't like spaces, while others don't like really long file paths. Your file name alone is 112 characters.

0

I think that the problem is in the double / in you path -> pabot_results//Acceptance... Also can you please check if the problem occurs only with pabot and see if it's OK with pybot to seek the problem in a narrower area?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.