Custom Screenshot Writer doesn't work correctly #2152
serhatozdursun
started this conversation in
General
Replies: 3 comments 1 reply
-
I changed my code like below and it's work but I think it's not difficult like that ` @OverRide
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Have you tried using the recommended code which is
Notice that it uses |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
java -version
openjdk version "17.0.1" 2021-10-19
Gauge version: 1.4.1
Plugins
html-report (4.1.2)
java (0.7.15)
screenshot (0.1.0)
spectacle (0.1.4)
xml-report (0.2.3)
I have overridden takeScreenshot() methods as below
public class CustomGaugeScreenShot implements CustomScreenshotWriter {
}
Screenshots taken by Appium are saved under its ".gauge/screenshots".
But screenshot src in the report like this:
in the nutshell, gauge reports seek the screenshots in the images folder below the html-reports folder with the path returned by takeScreenshot() method.
Beta Was this translation helpful? Give feedback.
All reactions