selenium-extent-report

How to increase the size of the Screenshot Thumbnails in ExtentReports 4.0.9

左心房为你撑大大i 提交于 2021-01-29 20:01:36
问题 I'm trying to customize ExtentReports 4.0.9 When I'm opening report after test fails, It displays screenshot as very small thumbnails. How can i increase size of the Thumbnail. I've tried extent-config.xml <!-- custom styles --> <styles> <![CDATA[ .featherlight-image { border: 1px solid #f6f7fa; cursor: zoom-in; width: 100px; } ]]> </styles> Screenshot is : https://imgur.com/eSy5fLz but it didn't work. Please suggest How can i Increase the size of thumbnail. 回答1: I have researched about it

Is it possible to have screenshots of allure report between steps like extent report?

∥☆過路亽.° 提交于 2020-11-29 04:02:05
问题 I'm using allure report to generate a report for my tests. earlier I used to use extent report. as you know, in extent report you can add logs and screenshot in order of creating them but in allure reports, all the screenshots are going to be shown at the end of steps. My Question: Is it possible to show the screenshots between steps? I want to create a screenshot after each step and I want to see them in the right place and not at the end of the report. Thanks for your help :) 回答1: You can

Is it possible to have screenshots of allure report between steps like extent report?

大憨熊 提交于 2020-11-29 04:01:38
问题 I'm using allure report to generate a report for my tests. earlier I used to use extent report. as you know, in extent report you can add logs and screenshot in order of creating them but in allure reports, all the screenshots are going to be shown at the end of steps. My Question: Is it possible to show the screenshots between steps? I want to create a screenshot after each step and I want to see them in the right place and not at the end of the report. Thanks for your help :) 回答1: You can

How to display the TestNg “dependsOnMethods” as separate node in the test result column Extent HTML report

我只是一个虾纸丫 提交于 2019-12-13 04:25:40
问题 How to display the TestNg "dependsOnMethods" as separate node in the test result column Extent HTML report" I am running the TestNg,java, extent reports 3.1.2, selenium tests in Maven project. I have a test- TEST1 which calls TEST2 internally(using TestNg- dependendsOnMethods).After the run, when I check the Extent Report, it shows the results of TEST1 & TEST2 separately as 2 tests rather 1 test i.e.TEST1 with 2 child tests i.e. TEST1 & TEST2. This is the link to the current situation : https

ExtentReports: HtmlReporter not starting when running an executable jar file created using maven-assembly-plugin

只愿长相守 提交于 2019-12-13 03:57:11
问题 I am trying to execute my test cases programmatically using TestNG. The virtual suite file is executing fine. But, the Extent Report is not being generated. Getting the following exception stacktrace: java.lang.IllegalStateException: No reporters were started. Atleast 1 reporter must be started to create tests. at com.aventstack.extentreports.Report.createTest(Report.java:69) at com.aventstack.extentreports.ExtentReports.createTest(ExtentReports.java:241) at com.aventstack.extentreports

Wrong step name displayed in Extent Report And replaced with When

核能气质少年 提交于 2019-12-13 03:26:53
问题 I am using the given code in spec flow to generate the extent report. Test execute and report generated successfully but wrong steps name displayed in the extent report, And in the extent report replace with When. Steps come under And displayed in When while in the feature file steps written in And section. Steps written under And syntax in feature files, displaying under When in Extent report. I am using the following code to generate extent report. using AventStack.ExtentReports; using

how to call a unit test project by a windows application?

一笑奈何 提交于 2019-12-11 17:45:53
问题 I am new to selenium and C sharp i somehow managed to write a code that does the unit testing of my application and creates a Extent Report with all my 7 test cases output Everything is working as expected The issue is i do not want every time to log into visual studio and run the selected test case Is there any way i can create a Windows application and make the test cases run with a click of a button I have a total of 7 test cases and runs perfectly when running i select them all and run

Extent Reports V4 overwriting test results

℡╲_俬逩灬. 提交于 2019-12-10 23:52:14
问题 I was using Extent Reports V3 with selenium / C# and I just upgraded to V4. Previously each run would give me a unique report based on the Date stamp / Class Name / Time stamp. However, after moving to V4, it always puts everything under the same file named "index" and a separate file named "dashboard" which is a file to sit above the other for navigation purposes. Here is my code for starting the report: htmlReporter = new ExtentHtmlReporter($"C:\\Test-Results\\" + dateStamp + "\\" +

Extent Report 3 Add Screenshot

我只是一个虾纸丫 提交于 2019-12-10 12:05:47
问题 I"m trying to build selenium with extent report but i could not get the save screenshot function working because i cannot reference the WebDriver object in the ITestListener class. Below is my sample code: Test Runner.java: @Listeners({com.peterwkc.Listener.TestListener.class}) public class ChromeTestManager { private WebDriverManager webDriverManager = new WebDriverManager(); private WebDriver driver; private LoginPages loginPages; private AdminPages adminPages; @BeforeClass //@Parameters({

Unable to generate Extent reports (Version 3.1.3)in selenium with c#

痞子三分冷 提交于 2019-12-09 23:07:40
问题 I am new to C# and I am trying to use ExtentReports for generating reports ( Version used: 3.13). Any help with this would be much appreciated thank you. I am getting below error: Message: System.InvalidOperationException : No reporters were started. Atleast 1 reporter must be started to create tests. Here is my Code:` using AventStack.ExtentReports; using AventStack.ExtentReports.Reporter; using NUnit.Framework; using NUnit.Framework.Interfaces; using System; using System.Collections.Generic