You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.
The selenium library already provides the option to embed screenshots in the output file. It would be very usefull to have such option also available in application library.
The motivation behind this is that it is possible to import the output file in test management tools (e.g. XRay for Jira supports the output format of Robot Framework). XRay creates a protocol in Jira containing each step (keyword) in the automated test execution result with the execution state (PASS or FAIL). If the screenshots taken by the screenshot keyword are embedded in the output file (like for Selenium), the screenshot is also embedded in Jira. In the case of e.g. MobileLibrary, the screen shot is missing. You have to attach the screenshots manually.
Usage example
For example, a parameter during import of the library could be used to specify if screenshots should be embedded.
Library ApplicationLibrary.MobileLibrary screenshot_root_directory=EMBED #that way it is used in Selenium Library
The created output.xml when test execution finishes has embedded screenshots and can be imported into XRay for Jira or any other tool.
The text was updated successfully, but these errors were encountered:
Feature and motivation
The selenium library already provides the option to embed screenshots in the output file. It would be very usefull to have such option also available in application library.
The motivation behind this is that it is possible to import the output file in test management tools (e.g. XRay for Jira supports the output format of Robot Framework). XRay creates a protocol in Jira containing each step (keyword) in the automated test execution result with the execution state (PASS or FAIL). If the screenshots taken by the screenshot keyword are embedded in the output file (like for Selenium), the screenshot is also embedded in Jira. In the case of e.g. MobileLibrary, the screen shot is missing. You have to attach the screenshots manually.
Usage example
For example, a parameter during import of the library could be used to specify if screenshots should be embedded.
Library ApplicationLibrary.MobileLibrary screenshot_root_directory=EMBED #that way it is used in Selenium Library
The created output.xml when test execution finishes has embedded screenshots and can be imported into XRay for Jira or any other tool.
The text was updated successfully, but these errors were encountered: