In Robot framework by default screenshots are generating for failure cases.I tried using Get page screenshot keyword, but still i can't see screenshots. Using the same script i can see screenshots if i am doing the execution in local machine.
I am executing with headless chrome in Linux slave with Jenkins. Same scripts are working in local but failing in Jenkins. I want to see screenshots for failures, but screenshots are not generating.
Input Text ${login_password} ${password}
capture page screenshot password.png
click on next ${password_next} ${login_password}
capture page screenshot next.pngI tried with below script to store the screenshots. It is working in Local. But screenshots are not generating if i m doing execution in Linux slave.
Capture Image
[Arguments] ${imagename}
${path}= Catenate SEPARATOR= ${EXECDIR} / Screenshots / ${imagename} . png
capture page screenshot ${path}

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/robotframework-users/4237c6e0-9b16-44f0-9979-5e34630ddbf5o%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/robotframework-users/CAHWVKXXm1wBenrUR%2B95%2BRy4W8n_-UB-OtPBbU%3D-qZ6UWKrhaGQ%40mail.gmail.com.