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

回放Android 测试 生成的截图无法在测试报告中显示出来 #1002

Open
stephenwang1011 opened this issue Sep 30, 2021 · 9 comments
Assignees
Labels

Comments

@stephenwang1011
Copy link

  • Macaca Version: 2.2.2

  • Macaca Doctor Logs:

  • Operate System: MAC OS 11.4

  • UIRECORDER: 3.5.3

  • Programming Language: Nodejs

执行安卓自动化测试时候,我看截图已经保存下来了,但是在网页测试报告中 却无法显示出图片。 config.json中已经设置 截图:
"screenshots": {
"captureAll": true
}
但是图片没有显示出来:
image

image

@macaca-bot
Copy link

This is the translated issue:


Screenshots generated by playing back Android cannot be displayed in the test report.

  • ** Macaca Version **: 2.2.2

  • ** Macaca Doctor logs **:

  • ** Operate system **: Mac OS 11.4

  • ** UIRECORDER **: 3.5.3

  • ** programming language **: nodejs

When I execute Android automation test, I see that the screenshot has been saved, but I can't display pictures in the web test report. Screenshots have been set in Config.json:
Screenshots: {
"CaptureAll": True
}
But the picture is not displayed:
! [Image] (https://user-images.githubuserContent.com/3350356/135373756-87f4f537-d1c9-49ca-9dec-c675be056512.png)

! [image] (https://user-images.githubuserContent.com/3350356/135373863-8A950764-139D-4B22-9786-A6A6E87EF250.PNG)

@stephenwang1011
Copy link
Author

@xudafeng 希望大佬能指教一下

@macaca-bot
Copy link

This is the translated issue comment: @stephenwang1011


@xudafeng hopes that the big 佬 can advice

@stephenwang1011
Copy link
Author

谁能帮忙看下是咋回事呢

@macaca-bot
Copy link

This is the translated issue comment: @stephenwang1011


Who can help me look back?

@yihuineng
Copy link
Collaborator

@stephenwang1011 你可以提供一下最小复现工程代码吗?

@macaca-bot
Copy link

This is the translated issue comment: @yihuineng


@ Stephenwang1011 You can provide the minimum recovery project code?

@stephenwang1011
Copy link
Author

@yihuineng 发现这里 image 没有链接上图片
image

@macaca-bot
Copy link

This is the translated issue comment: @stephenwang1011


@yihuineng found here image no link on the picture
! [image] (https://user-images.githubuserContent.com/3350356/141732359-69bfb3d1-9a55-415a-b46d-4cad22787c7f.png)

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

No branches or pull requests

4 participants