Hi All,
Screenshot not getting captured when running robot script with pabot. I am using below commands to run parallel-
pabot -d results -t “*TestTask” . . . test.robot
getting below error after executing with above command
FAIL FileNotFoundError: [Errno 2] No such file or directory: ‘C:\Screenshots\homepage.png’
[Arguments] ${image_name}
# Capture screenshot image
${image}= Set Variable ../Screenshots/homepage.png
Log To Console Capturing screenshot image homepage.png
capture page screenshot ${image}
Log To Console Captured screenshot image homepage.png
When I run robot script using robot test.robot then only its capturing screenshots.