galenframework / galen-sample-java-tests Goto Github PK
View Code? Open in Web Editor NEWA showcase of Maven + TestNG + Galen usage
A showcase of Maven + TestNG + Galen usage
When I ran maven verify with -DforkCount=2 -DreuseForks=true
I found that if you have more than one class on com.galenframework.java.sample.tests
, the final report: ..galen-sample-java-tests/target/galen-html-reports/report.html
only shows the test result from one of the two test classes.
On the final maven logs you see that both Test classes generated individual report:
[main] INFO com.galenframework.testng.GalenTestNgReportsListener - Generating Galen Html reports
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.673 sec - in com.galenframework.java.sample.tests.CesarPageTest
[main] INFO com.galenframework.testng.GalenTestNgReportsListener - Generating Galen Html reports
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.743 sec - in com.galenframework.java.sample.tests.WelcomePageTest
But the index report only shows the results from the WelcomePageTest
tests.
Is there away to allow the report.html
to include the test result from both Test clasess or is this actually an issue with current relase?
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
@ishubin , Thanks for the awesome tool. I was able to integrate galen into ma workspace. After the test run, i need to amend as a part of report on which platform (mobile,tablet,desktop) the test ran .
Currently the sample testng example it just writes the method name to the report, on which we fail to understand on which platform the specific test has failed
for now we have only single test case file welcomePageTest.java.
Now if you add one more test case file lets say contactusPageTest.java then it gets fail.
I am almost done with testNG Java+selenium+POM, but this thing is blocking me.
Please suggest what to do or what i am missing.
Hi,
My Question here is; Is it possible to generate reports in Galen Framework before Galen Session expires,?
Hi Team
Thanks for the awesome tool. I was able to integrate galen into ma workspace. After the test run, i need to amend as a part of report on which browser (chrome,firefox,safari) the test ran .
Currently the sample galen html report it just writes the method name , device name ,size to the report, on which we fail to understand on which browser the specific test has failed
During Automating a webSite after navigating several pages I reach a page where I cannot perform any action using Selenium. Even when I try to get current title or current URL, I get the stuff from very previous page and if I do some random click anywhere on page it happens on the previous page. In short this paticular page cannot be automated or It does not have driver to perform action(driver remains on the previous page). So I want to know Is it possible that a particular page cannot be automated using selenium or a particular property that is set to prohibit doing automation. If NO then how can I handle such situation? How can I make driver to work on current page
Hello Ivan,
That is awesome of you to come out with java integration.
But is there any way that i can integrate with the default report that galen provides rather than creating own.
If not how can i achieve it
I am getting this issue when i try to scroll the page ex: bottom of the page to view the element within the view port. The screenshot is taken but objects are not highlighted.
I'm having trouble pointing a test to my local spec file. What directory does the program use to complete a relative path? As far as I understand from the example, it uses the specified path relative to {project root}/src/test/resources/
.
If I pass "galen/sample.spec"
to my Galen.checkLayout()
call, I expect the program to look for a file at {project root}/src/test/resources/galen/sample.spec
.
Is this correct?
Do we have any Eclipse plugin to create Spec file and annotation to pull multiple screen size to execute selenium For example Cucumber BDD-JVM approach?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.