question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Robotframework + Allure: Screenshot attachments return 404 error.

See original GitHub issue

I’m submitting a …

  • bug report
  • feature request
  • support request => Please do not submit support request here, see note at the top of this template.

What is the current behavior?

Screenshot attachments return 404 error.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

Here’s the project I pushed to git in order to able to reproduce the issue: https://github.com/KonstantinxVx/robotframework-docker-dummy

  1. Clone my project: https://github.com/KonstantinxVx/robotframework-docker-dummy.git
  2. Pull my Docker image: https://hub.docker.com/r/konstantinxv/robotframework-docker-project/
  3. Run Docker inside the project’s directory:
$ docker run --rm -i -e DBUS_SESSION_BUS_ADDRESS=/dev/null \
      --shm-size  512M \
      --user $( id -u $USER ):$( id -g $USER ) \
      --volume $(pwd):/test/:rw \
      --workdir /test/ konstantinxv/robotframework-docker-project \
      robot \
      --include webdriver-test \
      --outputdir results \
      --listener 'allure_robotframework;./results/allure' \
      /test/dummy.robot
  1. Generate Allure report:
$ allure serve results/allure
  1. Go to Allure and open penultimate executed Capture Page Screenshot step.

What is the expected behavior?

Screenshot attachment is displayed without issues.

What is the actual behavior?

Failed to load resource: the server responded with a status of 404 (Not Found)
http://192.168.1.2:50104/data/attachments/selenium-screenshot-4.png 404 (Not Found)
2018-10-08 14-47-54

Please tell us about your environment:

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
sseliverstovcommented, Oct 29, 2018

Great! I guess, that is not only one way to attach screen shots, if you have a some ideas, welcome.

0reactions
rodolfo-enjoeicommented, Oct 7, 2021

Hi! I’m trying to use this custom lib with AppiumLibrary, but got this problem:

[ WARN ] Imported library ‘robot_mobile\Library\selenium_helper.py’ contains no keywords.

Any way to solve this in AppiumLibrary?

Read more comments on GitHub >

github_iconTop Results From Across the Web

getting 404 error when generating allure report in protractor ...
I am trying to generate allure report in protractor for the first time,. To generate allure report I am using jasmine allure reporter:1.0.2 ......
Read more >
allure-framework/allure-core - Gitter
A flexible lightweight multi-language test report tool with the possibility to add steps, attachments, parameters and so on. People.
Read more >
allure-robotframework - Python Package Health Analysis - Snyk
The python package allure-robotframework was scanned for known vulnerabilities and missing license, and no issues were found. Thus the package was deemed as ......
Read more >
Clustering 4000 Stack Overflow tags with BigQuery k-means
logging, exception, error-handling, azure-functions, reflection, ... gerrit, rebase, open-source, githooks, allure, ssh-keys, git-push
Read more >
Simple index - piwheels
... cottoncandy permitio ots-scheduler pytest-ui-failed-screenshot-allure django-fstore mobilepayclient pybigbuy odoo12-addon-document-page-quality-manual ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found