`# Error:** java.lang.NullPointerException: Cannot invoke "com.aventstack.extentreports.ExtentTest.log(com.aventstack.extentreports.Status, String)" ...
`# Error:** java.lang.NullPointerException: Cannot invoke "com.aventstack.extentreports.ExtentTest.log(com.aventstack.extentreports.Status, String)" ...
I'm trying to run multiple test cases that are placed in different classes, but when I run the code, the last class creates a new instance of chrome d ...
How to pass this variable now with mvn command? Tried: Always getting the error, seems like connected to . (dot) symbol not treated as expected: ...
I have a test case like this: I want to get value of testCaseKey, and I want to parse it , within my test case, how can I do that? ...
I have a test suite as follows Filename: LoginTest.java @Test(description = "send invalid username") void loginWithIncorrectUsername(){} @Test(desc ...
I am trying to run a TEST in TESNG and i want to know if a popup with a specific text is thrown in screen. I'm kinda new to Selenium and JAVA When i ...
I ran a testcase with multiple test data and one got failed and remaining got passed but the allure report at suites level is showing as passed for th ...
I have a scenario where a class "Pre-Requisite" class have to be executed first and then I have 5 testng classes which have to use certain data gather ...
I am working with Extent reporting API but every time I run the code the following exception is thrown: I need to fix this but I am unable to disco ...
I have a long running test suite and once run is completed, maven build logs are available in console. The issue is it is not in proper decimal format ...
I have a little JAVA program that login into a website Note: in my example the correct login is: username = admin and password = admin It ...
The YML file I have used in my project is The error I get in the workflow build Surefire results path mentioned in both the images is correct but ...
I need to pass specific @example cucumber tag with my TestRunner class execution. I know that I can configure which tags I want to include in the run ...
I have a maven project, with testng framework. I agree I might have played around with different JAVA versions, changing project level SDK's and stuff ...
I'm trying to get the value of string in first class and use it to another class. Below is my code public class Add extends driver { public static ...
I am using Selenium+Cucumber+TestNG and I am trying to close and open a new browser in between my feature. That is my requirement as there is no logou ...
I configured my eclipse environment to generate a TESTNG.xml file. My code has this: I installed TESTNG plugin and then i click on the project and ...
I want to turn on the toggle button if any toggle button is in disabled state , I wanted to let it be if the toggle button is already in enabled state ...
When executing a Maven testng setup, with mvn verify, I see the tests ordered alphabetically as documented at https://www.tutorialspoint.com/what-is-t ...
// This is from another file but same package. public class EmpData { @DataProvider public Object[][] getData() { Object[][] dat ...