Closed AbdulAmrinSubair closed 3 years ago
@AbdulAmrinSubair Change your .robot file the way below and let us know the results. Thanks.
*** Settings ***
Library SeleniumLibrary
Library Collections
Library Customlogger.py
*** Test Cases ***
Sample Test
Open Browser https://www.google.com chrome
${path} Capture Page Screenshot
Log Free Memory ${path}
@iivanou no screenshot attached yet
@AbdulAmrinSubair Can you apply changes from #101? They should fix the problem.
@iivanou i tried but nothing changed pip install git+https://github.com/iivanou/agent-Python-RobotFramework.git@screenshots
@iivanou i confirm that screenshot works now! but if this logic is defined inside * Keywords screenshot attach doesn't happen
@iivanou i think the issue is due to https://github.com/reportportal/agent-Python-RobotFramework/issues/102
@iivanou
tried version robotframework-reportportal v5.1.1 but still screenshots aren't attached
Version 5.1.1 has not been released yet.
As a user i cannot upload screenshots/files to reportportal via robotframework
Versions:-
Below is the python class with add attachment logic
Below is the .robot file
Both the files are in the same folder structure.
Actual:- Keywords and test are displayed in the reportportal except screenshots
Expected:- Screenshot should be attached