Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Screenshot urls are not matching in pabot logs #669

Closed
pokaalinkanssayohon opened this issue Jan 18, 2021 · 6 comments
Closed

Screenshot urls are not matching in pabot logs #669

pokaalinkanssayohon opened this issue Jan 18, 2021 · 6 comments

Comments

@pokaalinkanssayohon
Copy link

When executing browser extension with pabot, screenshot url includes pabot process id (e.g. 0 or 1) and url in log.html doesn't contain this pabot prosess id.
Workspace file: 1-TC1_FAILURE_SCREENSHOT_1.png
Url in log.html: TC1_FAILURE_SCREENSHOT_1.png

To Reproduce
Steps to reproduce the behavior:

  1. Execute test case which fails by using pabot

Expected behavior
Url in log.html should match with workspace file

Screenshots

Desktop (please complete the following information):

  • OS: robotframework-browser docker container and same behavior in macOS 10.15.7
  • Browser [chromium]
  • robotframework-browser: 3.0.0.
@pokaalinkanssayohon
Copy link
Author

I was comparing results to pabot with selenium hub+nodes setup and there are screenshot url's ok. On the other hand, screenshot url's are in pabot with selenium hub+nodes same (including these pabot process id's) but url's in log.html are correct ones. Is this behavior/bug in pabot/robot instead of browser extension?

@pokaalinkanssayohon
Copy link
Author

pokaalinkanssayohon commented Jan 18, 2021

Screen Shot 2021-01-18 at 12 53 08

@pokaalinkanssayohon
Copy link
Author

Screen Shot 2021-01-18 at 12 53 58

@mkorpela
Copy link
Member

This is pabot behaviour. It is renaming screenshot files during log composing.

@pokaalinkanssayohon
Copy link
Author

pokaalinkanssayohon commented Jan 18, 2021

Ok, what might be the reason, that log.html file has different screenshot url's with browser vs selenium?
When I am using selenium hub+browser nodes, screenshots have pabot process id's as well but also they are linked correctly to log.html.

What could cause this difference?

@aaltat
Copy link
Member

aaltat commented Feb 1, 2021

Perhaps you are using older Pabot version which does not yet have this feature. Another option is that you are not using feature correctly. Example we use Pabot to transfer png and webm files from subfolders. Please check your configurations.

In any case this is pabot feature and nothing to with Browser library and therefore I am closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants