All Questions
15 questions
1
vote
2
answers
263
views
End2End/integration Testing in Java with Selenium - how to get a good test structure - looking for experiences [closed]
At work I am currently tasked to implement End2End/integration Tests for one application using Selenium.
we have an project consisting of a frontend and multiple backends (spring-boot apis). The ...
3
votes
1
answer
336
views
Automated Testing: where do I put Selenium?
I'm working on a Java application, it's a middleware between two ticketing webapps. I want to write end2end tests using Selenium to test functionality.
Let's say my testing process goes like this: I ...
-3
votes
1
answer
491
views
TestNG runner when using @DataProvider combined with apache poi does not execute tests sequentially
EDIT: I have an ExcelUtility.java class to get cell data from it and pass it on to the tests methods in my test class.
I am reading from 1 excel file.
The excel file has 3 worksheets.
Every worksheet ...
4
votes
2
answers
3k
views
How to make a webdriver run reliably in Selenium?
I have been having quite a time getting this to work reliably for 100s of thousands of terms and potentially millions of pages per source and ETL the resulting data into a database in an automated ...
2
votes
1
answer
542
views
Using Selenium in a Web Service
Given that a local copy of the Selenium server and web drivers are required to run an automation test, i.e...
junit-4.10.jar
selenium-chrome-driver-2.0a4.jar
selenium-java-2.53.0-srcs.jar
selenium-...
3
votes
1
answer
127
views
Is it unreasonable to implement a small domain specific scripting language?
At my new job, they are currently spending scores of labor hours that we don't have to do manual QA testing after every build. Nothing is automated at all. (We can only afford three developers, and ...
0
votes
2
answers
4k
views
Selenium Testing w/ dynamically generated element id's: XPATH or CSS selectors?
Background: I'm an intern tasked with learning Selenium; my organization plans on having QA/Testing use it to simplify testing. We use JSF and WebSphere Application Server.
One of the persistent ...
4
votes
2
answers
5k
views
BDD, Cucumber best practices
I'm trying to understand some best practices when it comes to BDD and Cucumber. I've only recently started to use it,
and the first feature I have written a test for is testing a search feature, more ...
12
votes
3
answers
1k
views
Unit Testing Competition
My employers runs a monthly unit testing day competition. One entire day is dedicated to writing unit tests -- obviously we do more testing throughout the month, but this is an entire day -- and the "...
5
votes
3
answers
5k
views
What is the best use case for selenium?
I've been trying to develop web applications while at the same time creating the testing. I understand unit testing, I can declare a test method and test specific methods in my application.
But I don'...
3
votes
3
answers
376
views
Should selenium tests be written in imperative style?
Is an automation tester supposed to know concepts of OOPS and design patterns to write Tests in a way where changes & code re-use are possible?
For example, I pick up Java to write cucumber step ...
2
votes
3
answers
7k
views
Should cucumber step definitions in Java be static methods or instance methods?
We are new to using cucumber with selenium to write automated test suites.
Our initial approach was to have one java class per feature file.
Now we added instance methods in each class for ...
0
votes
3
answers
313
views
Unable to convince on data hiding
I am working on a Selenium + java project where all Web Element in a class are declared as -
public class CheckoutPaymentConfirmpage extends WebPage{
public final Button btnPrintorder = new Button("...
3
votes
2
answers
1k
views
Which Continuous Integration for Selenium 2 with TestNG
So I have a Selenium Automation project (using Maven).
I'd like to be able to set my tests to run overnight and possibly email a report daily to the team.
Which CI would be most suitable for TestNG....
6
votes
2
answers
739
views
Have I mistakenly assumed that my routines are loosely coupled?
My Selenium test structures goes as -
Data Object class -
public class RegistrationData {
String firstName = "test first name";
String lastName = "test last name";
// Getter Setter Here
}
...