Questions tagged [test-automation-framework]
A test automation framework provides a superstructure for automated tests. The superstructure may include APIs, coding practices, ways to structure and run the automated tests.
425
questions
0
votes
1
answer
41
views
Maven Standard Directory Layout for UI Test Automation project on Java: what modules should be considered as main, and what as test?
Usually UI test automation framework is a separate code base, different from developers repository.
It is common to use Maven or Gradle as a build tool in test automation frameworks written on Java. ...
0
votes
2
answers
118
views
How to use java classes of one Selenium project into Another project in Eclipse?
I have around 10 Selenium/Java projects in Eclipse IDE and there is "utils" package and Automation framework classes that i manually copied to all projects and all those have different ...
0
votes
2
answers
772
views
Cypress.js : How to change default path for your e2e tests?
in v13.3.0, after you install Cypress.js into your repo, it creates these four default directories:
/cypress/e2e
/cypress/fixtures
/cypress/support
/cypress/downloads
the first one is where it ...
0
votes
0
answers
28
views
Seeking Suggestions for Automating a Smart TV App in a CI/CD Pipeline with Broad Device Coverage
We have a client who wishes to automate their Smart TV app within a CI/CD pipeline and aims to cover as many devices as possible. Currently, I am the sole QA on this project and am exploring setup ...
1
vote
1
answer
832
views
How to share data between steps in Cucumber feature file?
I am designing automation scripts using the REST APIs, RestAssured with Cucumber BDD framework. I have multiple APIs where one API's response is used as a parameter in another API.
Here is my feature ...
0
votes
1
answer
249
views
How to resolve "Error: TypeScript compilation failed." issue in Gitlab CI?
I'm trying to learn to create a pipeline in Gitlab. All my tests fail because of the compilation issue. My code is included below along with the error message.
import loginPage from "../...
1
vote
4
answers
140
views
Choosing Testing tools against multiple programming languages
I have a few questions in regards to setting up/deciding automation frameworks against microservice architecture OR codebases that span various programming languages.
Specifically in this "...
2
votes
0
answers
134
views
Test automation and test data generation for chatbots how to implement?
Details:
Our customer wants complete test automation including test data generation for a chatbot. The test data will probably be provided to us via RestApi. Since we have not completed this area yet,
...
-1
votes
1
answer
1k
views
How to connect with Mysql db using Cypress 12?
I want to connect to Mysql DB in the server to delete several records. I have tried using some of the tutorials and answers available. Since all of them are regarding older versions of Cypress, I can'...
2
votes
2
answers
643
views
How to validate if .txt file format is correct as a part of File processing in Automation framework?
In my Selenium+Java automation framework, I need to open a .txt file or any other extension file and then see if the text is in a particular format. Now, I need to see if all lines are in this format ...
1
vote
1
answer
116
views
How do I effectively measure the level of impact of test automation within a Safe Scrum environment?
Details:
Currently we are within a Safe Scrum environment and have already automated much of manual testing. However, we would like to measure the effectiveness and coverage of test automation across ...
0
votes
2
answers
139
views
What is the general structure of an automation framework built in Selenium Java Cucumber BDD?
I am a complete newbie in Selenium and test automation. What is a general structure of Java Automation Test, using a Behavior-Driven Development (BDD) framework in Cucumber.
Additionally, could you ...
0
votes
1
answer
128
views
Is it a good approach to use a core automation framework(jar file) as opposed to creating all classes of framework yourself?
Some teams in an organization use existing core automation frameworks(made in Java). In my case, I converted it to a jar file artifact and then used it in their Selenium project as a local library/...
1
vote
2
answers
2k
views
Is there any way to import postman collection into playwright?
Details:
We have several thousand APIs in various postman collection. Our customer wants to have them customized accordingly, towards E-2-E testing. The customer would like to use Playwright for ...
0
votes
1
answer
43
views
Want to identify most accurate and effective approach to raise only actual defects automatically in JIRA on test execution failure
Currently the requirement we have is to create defects automatically in JIRA when a test automation script fails.
However we are looking for approaches to avoid raising defects if it's an Environment ...
-1
votes
2
answers
71
views
Suitable free/open-source automated tests framework(s) (UI / API / mobile)
Context
Again, the 1 million dollar question... I have programming background skills, and about 6 months ago accepted a new role as the main responsible for QA testing at my company's development team....
0
votes
3
answers
111
views
performance testing tools for deskop application
I am searching for an open source tool to record the functionalities of a desktop application functionalities like starting and ending time of each operation like load report rendering and maintain ...
0
votes
1
answer
578
views
How to approach test automation of Graphs and Charts? i.e., elements made of <CANVAS> <SVG> tags
In my project, we have a module called Reporting which covers graphs and charts.
It's basically a dashboard on the homepage of the website with multiple graphs and charts (after inspecting them they ...
2
votes
3
answers
618
views
How to create an HTML test report in Selenium automation framework?
In my selenium java, Cucumber framework, i use an excel spreadsheet test results report. Now, there is a requirement to make a HTML report after every run of the test. How can i code an HTML report. ...
1
vote
2
answers
47
views
Should most of the Regression testing items be automated?
I work on a very complex financial product. We have very few Regression items/test cases automated. Like 20% is automated. Now, should I automate more and reach till 70-80 % coverage.
Is it necessary ...
0
votes
2
answers
372
views
Are there any browser automation tools that support video and audio recording?
I'm searching for a browser automation tool that can record video and audio.
Selenium, Cypress, and Playwright do not support audio recording. Puppeteer maybe with puppeteer-stream but I'm not sure ...
0
votes
0
answers
78
views
Testing Coverage Metrics for BDD automation Testing
My manager would like me to have a way to measure the overall amount of testing coverage that is done in a sprint. I used to use an excel spreadsheet in the past but he doesn't want to do that.
I ...
0
votes
0
answers
356
views
How to verify the Json response field data type in rest assured test
How can we verify the Json data type of mentioned fields such as "price", "ck", "name", "enabled" and "tags" in rest assured test.
{
"odd":...
1
vote
0
answers
612
views
Unable to scroll into view of an element in iOS with Appium & Webdriverio
i'm trying to scroll into an element but the the current code scrolls all the way to the bottom of the page, i have inserted the element name within the code but it doesn't seem to work.
const ...
0
votes
1
answer
394
views
How can I format the current date and time and then use them in a variable in GoTest?
I use the keyword...
get date
But I have a date with the format like this
Sun May 11,2014 9:60 p.m.
I need to convert it in to this format 2014.05.11.09.60.60.321 I tried to put this yyyy.MM.dd.HH.mm....
0
votes
1
answer
2k
views
How to set cypress to automatically detect proxy for automated executions?
I have a cypress test and its not loading the website properly. When I manually open the website using chrome, the website is working ok. Also I can find that my chrome proxy setting is set as "...
8
votes
8
answers
4k
views
Are there specific coding guidelines for test automation?
Details
Currently we are trying to find more ways to write better code. Of course, this does not exclude our automated test cases. We are already testing in the dev environment with SonarCube and ...
0
votes
2
answers
130
views
can we test GUI and a network protocol (SNMP) using selenium?
I have to test a website using Selenium.
This website is a graphical user interface for controlling a device and to shows data from that device.
This device is using SNMP which is used to give an ...
0
votes
0
answers
50
views
Not able to see web element when I navigate to page using Automation
I have a web page which displays a new contact creation button. When I try to navigate to a page through automation, I can not see that button. When I login to site manually and navigate to same page, ...
0
votes
1
answer
56
views
One Tests or Multiple Separate Test Automation BDD
How the system works (UI)
Registration Form > Redirect to Another Page with Products (based on the submitted in the registration form)
(backend)
API will check the validity > Valid or not it ...
0
votes
2
answers
194
views
Test automation within a waterfall project. What to consider?
Details:
In my new project I am to set up an automation, waterfall based project for a client. Since I have completed test automation exclusively within Agile projects so far, and in Waterfall rather ...
2
votes
5
answers
647
views
Test Strategy Documentation for test automation
What are the main points that should be included in a test strategy test automation document for a particular project? I'm not looking at details but more of a high level overview.
I've found that ...
0
votes
2
answers
525
views
How to execute multiple selenium java test-scripts with different parameter at one time?
Is there any solutions for executing multiple selenium webdriver java test-scripts having different parameters at one time and get results.
If parameter is URLs, then we can test multiple Urls on one ...
0
votes
2
answers
5k
views
How to validate nested array from JSON response using Postman?
I am trying to validate GET method API response JSON using Postman. I have tried some of online suggestion but nothing worked for me.
In my testcase i am validating that List tag is showing or not.
...
1
vote
1
answer
3k
views
Is there a free API for spell and grammar check?
I'm a QA automation engineer looking for a free API or a website for grammar and spell check to automate checks for those errors in web app using Selenium and Java.
5
votes
6
answers
380
views
Is it necessary to have a very complex Automation framework?
I have seen many QA teams in many organization creating very complex and huge test automation frameworks and use concepts like Java reflections, use a lot utility classes, use many many dependencies/...
0
votes
1
answer
46
views
Vulnerability testing assessment in an agile development environment
Details:
I would be interested in how you guys handle assessing your vulnerability testing within an agile environment?
Example:
You have weekly test series in which you test your project for ...
-2
votes
1
answer
52
views
Device Farm Vendors I have a meeting with them I need some questions [closed]
Firstly thank you for helping me with the previous question regarding device farm vendors.
I have a meeting with AWS next week and I'm stuck in regards to what questions I need to ask them.
I know I ...
0
votes
2
answers
868
views
Device Farms that allow React-Native with Detox and Jest
I hope someone can help with this as I'm honestly stuck.
We have an application written in react-native and we are on the hunt for a device farm that is compatible with the tests we have written (...
1
vote
1
answer
78
views
Is there an integration solution to integrate OWASP ZAP and Testlink with each other?
Starting point:
We are currently using OWASP Zap for our security test within a CI/CD pipeline based on Docker.
At the same time, we have Python based test cases that we execute within an API based ...
4
votes
1
answer
788
views
Automating source comparisons between two HTML pages
Background Information
Just to get some context for my question, I started at a new SME in the UK earlier in the year. I was employed as a PHP developer, but I am Scrum certified and have worked for ...
5
votes
2
answers
88
views
Avoiding GUI test overload working on legacy systems
I'm currently tasked with automating a 10+ year old, and rather large application.
There are no exposed APIs, it's built as a monolith. There are no unit tests, nor promise of unit tests to come. The ...
1
vote
1
answer
111
views
How to access dependencies from test class
I'm wondering what some other options are for accessing the test automation framework dependencies from my test classes.
Right now I have a layered architecture:
Framework layer (contains all shared ...
1
vote
2
answers
125
views
What is the best way/tool to share automated tests with non-technical stakeholders?
I've been tasked with finding a tool/solution to present our automated python test cases to other stakeholders in the business (I won't write actual python for time-saving purposes).
Our tests are ...
5
votes
4
answers
5k
views
Page Object Model from scratch: Best Practices?
Background
So I am sure this will probably get a lot of opinions but I am sure there are some things people with they thought of when starting to implement an automation framework from scratch, which ...
4
votes
1
answer
336
views
Pass in secrets as environment variables or retrieve at runtime?
I'm wondering what would give me the best result in a test automation framework:
CICD build pipeline retrieves secrets and passes them into the test automation framework as environment variables
CICD ...
1
vote
2
answers
100
views
Should a newbie in Test Automation learn the core underlying framework?
I am a complete beginner in Test Automation. I am trying to learn Selenium Webdriver with Java, TestNG, Cucumber(BDD) framework, Build tools like Maven.
Now, the problem is that there is an existing ...
2
votes
4
answers
3k
views
Playwright: Implementing Page Object Patter into Framework
Recently I have been asking questions regarding Playwright and so far the community has been very helpful. I hope that my question and answers provided will be in use for people who are just starting ...
1
vote
2
answers
2k
views
What is the difference between BDD automation framework and Keyword driven automation framework?
I am using the Cucumber BDD framework for test automation. I have read articles on keyword-driven which state that keywords such as sign_in are exposed to nonprogrammers and the implementation is ...
5
votes
1
answer
295
views
Which is the correct page object model design and why?
Issue:
The target webpage has many buttons in the page and adding separate abstraction for each method like , click button1 , button2 etc feels like unnecessary and just creates additional lines of ...