Questions tagged [selenium]
Selenium is a portable software testing framework for web applications. From Wikipedia: http://en.wikipedia.org/wiki/Selenium_%28software%29
57 questions
1vote
2answers
263views
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 ...
4votes
2answers
196views
How to check a solution method submitted by a user?
I am developing a website somewhat like leetcode, however, it will be for website testing using Selenium WebDriver.My service will provide different websites, along with various tasks that describe ...
-3votes
1answer
220views
How does a site API determine the difference between a user and program request in a browser?
So this is in regards to scraping yes; no language in particular. Some sites allow you to see a JSON modal if you pull it directly from a web browser. But, at any notion a program is used, immediately ...
0votes
1answer
55views
How would you have a fallback for html insert when the html has changed?
Given a website, our customers will pick a spot on their website and we record an xpath to that location. Our software is DNS integrated, similar to cloudflare, and we manipulate the origin's html ...
-3votes
1answer
99views
Selenium and Junit: Does it make sense?
Simply, given that Selenium is a testing tool, it seems redundant to combine Junit with Selenium tests. Does one write the Selenium test and then a separate Junit test of the Selenuium test or should ...
-1votes
1answer
280views
How to do test-driven front end development?
I'm trying to rapidly develop my frontend, but every time I change my code I find myself refreshing my browser and running some macro to test whether the changes in my code solved the problem. I ...
3votes
2answers
1kviews
Unit tests vs Automation testing
I'm a C# developer & never worked before on either unit tests or Selenium browser test automation. For a current assignment, there is an existing Visual Studio solution that has a project that ...
1vote
1answer
328views
Create a common interface to use N libraries and define specific behaviours
I am creating a browser automation library that is capable of using Puppeteer(automates chromium) and Selenium(automates all major browsers), but the goal is to also be able to add more libraries in ...
1vote
2answers
167views
In BDD - How do I automate tests up front for things that don't exist YET
My team is just starting with BDD, and we are learning to write scenarios in a GIVEN, WHEN, THEN format. This will position us to start to automate our tests (with selenium) at the start of sprint, ...
3votes
1answer
336views
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 ...
-3votes
1answer
491views
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 ...
9votes
6answers
4kviews
Which stage of Agile (SCRUM) should we start creating automation tests?
A little background of me - I'm a manual tester for almost 2 years within an Agile environment using SCRUM (1-2 weeks sprints). So I'm wanting to introduce automation testing in my work using ...
2votes
1answer
2kviews
Simple parallel multithreading script
I'm trying to write a python script that creates 10 threads at a time and runs until I stop it (ie closing the console). I just need it to do basic logging, so when it fails, its just logs a failed ...
1vote
0answers
74views
How to improve this web app testing process?
My boss had an idea of simplifying tests to English like statements so that non programmers could write tests as well. We chose Lisp as the syntax in which the tests would be written. This testing ...
1vote
0answers
59views
Pros and cons of asserting on the DB level in selenium tests
Consider a Selenium test that does some steps on the UI (e.g. fill a field and then click a save button), and afterwards checks with a DB query if the data entered in the new field was really saved ...