Video Tutorial #034 BI - Jaspersoft Reports | Image Component in Jaspersoft...
In this video, you will learn about the usage Image Component Jasper Reports. You can download the examples from : https://drive.google.com/file/d/1lIXwcC2cDPtH-dnwpWvC9kBxXPi6rAIV/view?usp=sharing...
View Articleorg.openqa.selenium.TimeoutException
org.openqa.selenium.TimeoutExceptionThrown when a command does not complete in enough time.For instance, in the below example, we get TimeOutException after having waited for 30 seconds This is an...
View Articleorg.openqa.selenium.NoSuchElementException
org.openqa.selenium.NoSuchElementExceptionThrown by various accessor methods to indicate that the element being requested does not exist.If the element is not present on the DOM, we get...
View Articleorg.openqa.selenium.StaleElementReferenceException
org.openqa.selenium.StaleElementReferenceExceptionWhen it occurs ? When the element has been deleted entirely.When the element is no longer attached to the DOMCauses: When the page is refreshed When...
View Articleio.cucumber.testng.UndefinedStepException
io.cucumber.testng.UndefinedStepExceptionThis exception, normally observed when the the steps are undefined. I have had two scenario's with same name and same tag provided then the one that has glue...
View Articlejava.lang.AssertionError
TestNG Assert.assertEquals compares the two strings This is one of situvations we get java.lang.AssertionError when the strings are not equalFor instance, String expectedEditProductURL...
View ArticleHow to give relative path to run AutoIT .exe file in Selenium Java for...
Using System.getProperty, we can provide relative path of AutoIT and then use Runtime.getRuntime().exec("PathToAutoITExeFile") method to do the windows based authentication in selenium. For instance:...
View ArticleAutomation of web driver | Usage of WebDriverManager or alternative for...
WebDriverManager is an open-source Java libraryIt carries out the management (i.e., download, setup, and maintenance) of the drivers required by Selenium WebDriver(e.g., chromedriver, geckodriver,...
View Articleio.cucumber.testng.UndefinedStepException when a step has braces
When there are braces included in the cucumber step title for a word and if we miss double backward slashes in the step definition then we end up with UndefinedStepException This exception we...
View Articleorg.openqa.selenium.InvalidSelectorException | Xpath text() method returns...
Xpath's text() returns the text of selected element and it doesn't fit into the WebElement's findElement method. So remove the text() from the xpath and then apply the getText() method on WebElement....
View ArticleHow to configure postman/newman API tests in Azure DevOps for Continuous...
How to configure postman/newman API tests in Azure DevOps Export the postman collection and environment Push the collection/environment to "Azure Repos Git" repositoryNavigate to Pipeline page in Azure...
View ArticleWhat are Waits in selenium ? Implicit, Explicit and Fluent waits in Selenium
What are Waits in selenium ?1) Implicit wait 2) Explicit wait1) Implicit waita) implicitlyWait()b) pageLoadTimeout()c) setScriptTimeout()2) Explit wait a) WebDriverWaitb) FluentImplicit wait |...
View ArticleHow to run cucumber scenarios from executable jar ? | Selenium Java, TestNG,...
In this blog post , we will learn majorly the following topics. 1. How to create an executable jar for cucumber+selenium+testng+maven project ?2. How to run scenarios from generated jar ? To create an...
View ArticleExtent Report for Cucumber 7 (Extent reports for Cucumber-JVM version 7) |...
This post outlines about - how to integrate Extent Report for cucumber 7 that is integrated with TestNG, Selenium Java and Maven. You can clone the complete example from this GitHub repo or down load...
View ArticleHTML5 Column Chart Advanced Properties in Jaspersoft Design Studio Pro
To display data labels above the HTML5 column/bar vizz in jasper design studio add the following advanced propertiesPlotOptions > column > dataLabels crop = false enabled=trueoverflow=justify To...
View ArticleHTML-5 Stacked Percentage Bar Chart - Advanced Properties in Jaspersoft...
For HTML-5 Stacked Percentage Bar Chart in Jaspersoft Design Studio How to get percentage on bars ? When there are two percentages, for instance 0 and 100 - how to hide 0 and display only 100% on bar ?...
View ArticleCould not start a new session. Response code 500. Message: unknown error:...
While we were trying to run the automation code in AWS workspaces, we stuck with the following error message and the temporary solution was to add the following argument to the chrome browser....
View ArticleCucumber scenarios parallel execution with ThreadLocal | TestNG, Java...
Hi, In this post, we will see how to run cucumber scenarios in parallel with TestNG. For the demonstration purposes, I kept the project structure simple, one package for all classes and a folder for...
View ArticleUsage of JVM addShutdownHook in cucumber selenium testng automation to send...
Hi, In this post, we can see how to use JVM shut down hook with in cucumber Hooks. What is JVM shut down hook ? (Definition credits : geeksforgeeks.org)A special construct that facilitates the...
View Article