Skip to main content
Share Your Experience: Take the 2024 Developer Survey

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
29 views

Looking from Page Object Model and OOP viewpoint (Selenium) how do we deal with waiting for web element?

Lets assume that I have a list of web elements: private List<WebElement> listOf250Movies; To action/process the list I need to implement explicit wait. In accordence to single responsibility ...
4 votes
5 answers
670 views

Is there any possible way to automatically update the locators when developer changes the locators

I am planning to build a self-heal tool to update the locators automatically when developer the changes the UI locators
0 votes
2 answers
9k views

How do I implement Extent Reports in my REST assured API testing framework?

I have recently started rest assured to automate APIs. My current framework folder structure has an ApiTestCases class in a folder under src/test/java. I have a testNG suite xml to run the tests. How ...
1 vote
2 answers
2k views

How do I switch reporting from allure reports to extent reports in an existing automation framework?

I have been handed an existing framework that uses allure reports for reporting purposes. I am not really liking allure reports for primarily a couple of reasons: It displays the results only after ...
2 votes
1 answer
4k views

How to save Appium logs to a local text file?

I am using Appium to automate all my test cases related to IOS device using Java, Logs are currently displayed on Appium app itself. I want to save them in a text file so that i can check error after ...
0 votes
4 answers
1k views

Sikuli IDE or Eclipse/JAVA for windows based application?

I am trying to prepare a POC using Sikuli. Can any one suggest me what is the best approach to use Sikuli for a windows based application ? Should I use Java with Eclipse or the Sikuli IDE itself?
0 votes
1 answer
3k views

How to get the Indexes of all columns In a Single Row using Selenium WebDriver and C#?

For single web element in that row i got index..for multiple column in a single row how to get the index: IWebElement colelement = driver.FindElement(By.XPath("//div[@id='grdBooking']//table//tr/ th[...
0 votes
2 answers
112 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 ...
1 vote
1 answer
110 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 ...
0 votes
1 answer
393 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
565 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
2 answers
637 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
96 views

Randomization test with constraints

My current project is written in C++. It takes a certain config file to do various work. There are a large number of parameters inside the config. I would like to do randomization test for those ...
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 ...
5 votes
0 answers
1k views

Karma/ Jasmine testing framework - tests don't appear to be executed

I am looking to implement the Karma/ Jasmine test suite/ framework for use with my AngularJS app. Having never used a testing framework previously, I have followed the tutorial - to give it a go, ...
2 votes
0 answers
7k views

Does Robot Framework have more to offer than Cucumber?

I have some experience with Robot Framework + Selenium and am now learning Cucumber, since I noticed it's one of the most widely used frameworks in test automation. However, from what I've seen so far,...
0 votes
1 answer
242 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 "../...
0 votes
2 answers
361 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
1 answer
259 views

Unable to execute single tc, login then run other application features, right now its running as a suite

I have to execute my test cases as a single as well as a suite, right now its running as a suite but not as a single test case in selenium webdriver: Below is my test which are calling methods present ...
1 vote
1 answer
100 views

Automated test execution custom pdf reporting tool

I am automating desktop-based application testing. My requirement is that based on my execution for a particular test, I would like to mark real-time results in pdf generated by the automation script. ...
1 vote
1 answer
137 views

IE 11 auto accepts the alert pop up

So I am on an edit page and when I click the cancel button to stay on the edit page the IE driver automatically accepts the leave page in alert pop up. I even added the IE capabilities saying: ...
1 vote
1 answer
764 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 ...
2 votes
5 answers
638 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
1k views

How to perform click on an element using selenium for which I am getting staleState Exception

Problem: There are couple of radio buttons with the same ID and I need to perform click on these. The first radio button gets the click where the second one is getting StaleElementReferenceException. ...
0 votes
2 answers
661 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
27 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
2 answers
1k 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 ...
-1 votes
2 answers
2k views

How to get incremental xpath for newly added rows in webtable using robot framework-python-selenium

I came across a certain requirement. There is a web table where new rows are added daily.I want to write an automation script in Robot Framework-Python-Selenium-Eclipse-RedEditor Plugin. Right now, I ...
5 votes
2 answers
3k views

How do I automate front-end testing for a web app with Javascript?

I am introducing myself to devops engineering and I'm stuck on "how to automate testing for web applications". I consider that backend and api test automation are relatively simple and the concept is ...
-1 votes
2 answers
182 views

Unit Testing and Integration Testing with Robot and Cucumber

I understand that both frameworks are great for acceptance testing but how hard or more complex is writing lower level tests such as integration tests or unit tests using the mentioned frameworks when ...
2 votes
1 answer
196 views

How can I solve OutOfRangeException on using Selenium C#

I've faced with the below problem, while trying to run a data driving testing and have tried to resolve it, but nothing seem to be working for me. Please could you take a look at my code and tell me ...
0 votes
2 answers
4k views

Robotframework installation - keyword not found error

I have set up robotframework on my machine and I have installed all necessary plugin and using Pycharm as IDE. But I am getting keyword not found error and also SeleniumLibrary library which I have ...
1 vote
4 answers
138 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
123 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, ...
4 votes
1 answer
330 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 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'...
1 vote
1 answer
3k views

Selenium Webdirver C# Running more than one test class from the test suite

I have created a test framework in VS 2017. The framework is written in the Page Object Pattern. To avoid having one test class and N number of test methods I have decided to split all my tests into ...
2 votes
2 answers
532 views

Test Automation Framework: How to integrate other project to a Black-box Automation Test Framework

I've been spending for at least 3 months building a Test Automation Framework from scratch using Selenium WebDriver(Java) and TestNG. I did the next things: adapted the concepts of page-object-model. ...
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
137 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 ...
12 votes
1 answer
810 views

Tools for tracking automated tests

I have used STAF/STAX in the past, and liked the way that information was tracked in the tests. I'm currently investigating Technologies to tie together a few tools that use XML-RPC, and am ...
2 votes
2 answers
125 views

1 Repo vs 2: Test Framework Development For Multiplatform Native Applications Using Appium

This question is more of an attempt to gather opinions. I have automated multiple mobile applications, that existed as native apps on both iOS and Android. In these scenarios, my go-to pattern has ...
0 votes
1 answer
121 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/...
0 votes
1 answer
42 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 ...
13 votes
11 answers
2k views

What is a Test Automation Framework?

Some automation engineers use an underlying automation framework as a jar dependency in their selenium web driver project in eclipse. Then, they use the framework to write functional scripting of the ...
-1 votes
2 answers
69 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....
10 votes
4 answers
1k views

In Page Object pattern, aren't we creating over-specialized methods than generalized re-usable functions?

Background: In the Selenium UI automation we all have been using Page Objects pattern as the "Best Practice" for years. In Page Objects "methods" are tightly coupled to pages ...
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 ...
6 votes
6 answers
392 views

Test automation role: challenges beyond automated tests and frameworks?

Before asking the actual question, let me describe the current situation. The IT department consists of a few Scrum-like teams, with one or two software testers per team. Furthermore there are two ...
0 votes
0 answers
909 views

How to pass dynamically JSON test data file to json spec.js file to get data in Cypress + Cucumber?

I want to run same test for the same web page for different combinations. Therefore I'm planning to created different scenarios in same feature file or different files. I have already tried passing ...

1
2 3 4 5
9