Questions tagged [automated-testing]

Use for questions involving problems with automated tests. Relevant for designing test automation, debugging test automation, automation tooling questions, and questions about when it is appropriate to automate. Questions regarding specific tools should tag those tools as well.

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

Unit testing a native sql query

The project in question runs on Hibernate 5.4 for persistence, against MySQL when deployed. Unit tests are ran during the Maven build. I'm in the process of doing a feel-faster optimization. As such, ...
-1
votes
1answer
28 views

How or which tool can be used for automating Cognos dashboard testing? [closed]

I need to test 4 cognos analytics dashboard. This dashboard has many graphs and charts which can be customized by the user. Dashboards are built using Vertica database and for my manual testing, I am ...
0
votes
0answers
83 views
+100

Hardening of test cases in test automation

Details: In a discussion about maintainability of automatic test cases in the area Cucumber + Junit / Unitest the topic "hardening of test cases" came up. You know this topic from your ...
-3
votes
0answers
18 views

Where can i find a Good tutorial on using Apache POI library to read/write Excel sheets in Selenium? [closed]

I have many tutorials on the web that explain how to use POI libray to read/write from Excel sheets in Selenium. But most of them are too basic. Is there a course or reference material, which does in ...
-2
votes
0answers
39 views

Brute Force Automation [closed]

How to do the brute force this script for 50 time, anyone can help me? i'm using python selenium from selenium import webdriver #browser exposes an executable file #through Selenium test we need to ...
1
vote
1answer
27 views

testCafe: How to configure the tests in the same spec file, to execute sequentially?

We are using testCafe for automation. when it comes to executing tests in parallel, test cafe even executes test blocks within the spec file, parallelly. Our tests are independent, but there are some ...
0
votes
1answer
17 views

Android/iOS: How to dismiss a popup advertisement while automating an application using Appium & Robot Framework?

Asking a solution to handle these kind of random Ad popups which comes up on any screen of the application. If someone can help with threading solution using Python it would be great.
18
votes
4answers
3k views

Is it good practice to write unit tests when features are changed frequently?

Should I write the unit test cases for a frequently changing product? For example: I start the project with Phase 1 (say it's 6 months long) and I know there will be a phase 2 (3-4 months or more) ...
0
votes
1answer
28 views

How to re-run jest failed test suite [closed]

I want to re-run the whole test suite when any test has status failed. I only found how to re-run the test case but I want to re-run the whole test suite.
0
votes
1answer
19 views

App Elements not rendering/inspect in IOS using appium and Xcui Automation testing

Currently working in a automation project. Element tag was not rendered. though i check some random element, I'm getting the message of element is not intractable. But in Ipad I can see the input text ...
0
votes
0answers
44 views

Not able to run my test from testng.xml file

I'm not able to run by test case from testng.xml file after run of file I'm getting that Total tests run: 0, Failures: 0, Skips: 0 but if I will try to run the test class directly then test will run. ...
-2
votes
1answer
38 views

Performance Testing: Flag when a UI/API test's runtime increases by x% (Selenium C# Azure)

Our team currently use Selenium and C# (and NUnit) to run UI Automated tests. All tests have been manually programmed, meaning no recorders have been used. Issue: We now have a request that these ...
1
vote
1answer
55 views

testNG, Java: How to combine a few Data Providers in one test?

in the provided test I need to read the data from the cell in Excel and it works. I would also like to add the functionality to store the price of the product in another cell in the Excel. I've ...
-1
votes
0answers
26 views

NPM library to convert cucumber tests into Robot framework

can we convert a cucumberJS generated XML into RObot Framework generate XML? if yes, I am looking for an npm library to convert cucumber test reports(as XML) into Robot framework format as XML.
3
votes
2answers
56 views

Test class organization and naming in an MVC webapp

I'm a developer who is making his first attempts at using Selenium for automated UI testing. What is the best practice for creating and naming test classes in an MVC webapp? My webapp has a dozen ...
-1
votes
1answer
30 views

How to do users Load testing of mobile app?

I don't have source code of application, I just downloaded an application from play store. Is there any way to do load testing of users. My scenario is 100,000 users using the App simultaneously.
1
vote
1answer
34 views

Protractor E2E Test Cases migration from Angular 2+ application to React

If we have E2E test cases written for an Angular2+ application using protactor, if we migrate the Angular2+ application to React, how difficult it will be to migrate those E2E test cases to work ...
0
votes
0answers
30 views

How can I automate the email signup and verification process using selenium? [duplicate]

I have to automate the email signup and verification process using selenium. Any suggestion?Thanks in advance.
0
votes
1answer
76 views

How to disable Chrome Automation Extension via Selenium (Java)

I have a requirement to disable the "chrome automation extension" while running my selenium scripts. Can someone suggest me an approach to disable this extension using Selenium. [ Note: I ...
0
votes
1answer
51 views

Which one is the best tool to test a React JS based application? [closed]

I am looking for a best tool to test a React JS based application. I want to do end to end test with the tool. Could you guys please help me to find the best testing tool for React?
1
vote
1answer
47 views

Selenium Extent Reporting Problem

I cannot figure out the problem. After the picture, another problem is here. htmlReporter.config() is not working and I'm not able to fix it. This is my dependency: <dependency> <groupId>...
4
votes
4answers
168 views

How to track which stories / functionality in an agile project have automation test coverage?

I'm a developer trying to find some guidance for the testers on our team. Our strategy regarding selenium automation testing has been rocky to this point. (A .NET project for context). We started off ...
0
votes
1answer
29 views

How do I write a better xpath of this element? [duplicate]

I am working on a project and building automation test suite for a webpage. A certain part of the webpage looks like this. The corresponding HTML is as follows: <p class="customer-service&...
-1
votes
1answer
32 views

Quality Checks on Excel / Automation

I am tasked to complete a quality check on excel. Background - We receive several excel files from different vendors daily. Before putting on the BI tool i need to make sure the naming convention is ...
0
votes
1answer
37 views

Get most recent downloaded file using python-Selenium

My Python-Selenium script is downloading the particular file but the file is taking long time to start and get completed downloaded. It starts after clicking in 25/30 seconds and completed in 50/55/60 ...
-3
votes
1answer
36 views

Why do we create parameterized constructor in every PageObject class which accepts one driver reference when BaseTest has a global driver object? [duplicate]

When every test class will inherit driver, then why should we create constructor that takes driver object? public class BaseTest{ public static Webdriver driver = new ChromeDriver(); } public class ...
1
vote
1answer
37 views

Sticking to DRY when fixtures and test cases overlap

I'm looking for a way to structure tests from simpler to more complex and at the same time stick to the DRY principle. Here is an example that might clarify things better. I'll use some pseudo code to ...
0
votes
1answer
17 views

Electron Application toolbar automation using selenium python

Is it possible to automate the tool bar options like File. Edit, View , Window and Help options using Selenium webdriver with python?
-3
votes
1answer
49 views

Which is the best tool for free temporary email service? [closed]

I checked the various tools for it but want to know about the best tool for my requirement. found some of the high rated tools on web: TEMPMAIL MAILDROP MAILINATOR Mail7 YOPMAIL Although I tried all ...
-1
votes
2answers
33 views

How do I verify a value from a CSV file using Postman test [duplicate]

I'm using Postman to push data from a CSV in my Google cloud bucket to an app. I need to write a test to verify that one of the values in the CSV is all in uppercase.
1
vote
1answer
27 views

Hooks not getting executed in protractor cucumber

I new to protractor, and trying to implement hooks. But the hooks are not getting executed. Following is my code: Hook.js: const { Before } = require('cucumber'); const {AfterAll} = require('...
0
votes
1answer
26 views

Getting undefined when I define {string} parameter in the when section in the step definition in protractor cucumber

I am new to protractor with cucumber. I have to automate a flow wherein on entering first name, last name, and postcode, a new user is created. I am trying to add the data to be entered in the feature ...
0
votes
1answer
52 views

How can I loop through li elements of a ul in Testcafe

(translated using Google translate) I am trying to loop through the <li> elements of a <ul>, but I cannot make it work. My HTML: <ul class="sc-iFMziU> <li class="sc-keVrkP"&...
1
vote
1answer
24 views

How to load multiple chrome extensions in Chrome browser using Selenium java?

I got the below code to open Chrome browser using Selenium with extension enabled. To enable multiple chrome extensions, do I need to repeat the steps or is there any simpler way? String ...
0
votes
0answers
32 views

How can i run my Cucumber project as a Maven Test as the Build passed but it shows Tests run: 0?

I have created a Cucumber project, which has multiple feature files, Step definition classes and one TestRunner.java class. Now, that project has a Maven project structure and i want to run it as a "...
0
votes
5answers
80 views

Ways to apply Automated/Automation Testing? [closed]

I was tasked with researching 'ways to apply automated testing'. I have never done automated testing. Only manual with test plans written by developers. Not sure where to begin. Anyone have any ...
0
votes
0answers
18 views

How do I validate the data display in mobile app against the expected values?

We have been developing a mobile application using Xamarin and a server component. So there are no direct services calls to the mobile App all the services coming and going through the server ...
1
vote
2answers
59 views

What strategies and test cases should I use to test in Agile development?

How do you build test cases vs user stories/features vs requirements? What is your test strategy in agile development model? What is automation test strategy in agile development model?
0
votes
1answer
81 views

hover on svg in cypress and test tooltip

0 Scenario: I have something similar <svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"> <!-- Using g to inherit presentation attributes --> <g fill="white" stroke="...
2
votes
1answer
46 views

What testing should be carried out in which environment?

The solution in question is a financial transaction based platform made up of a number of Microservices. The question relates to the testing performed at each stage of the release pipeline. We ...
1
vote
1answer
56 views

WARNING: Passing multiple tags through @CucumberOptions is deprecated. Please use a single tag expressions?

I tried to run a Cucumber test with multiple tags. But got this error. I am using Cucumber version 5.7.0. How can i run multiple tags now? import org.junit.runner.RunWith; import io.cucumber....
1
vote
1answer
41 views

How to verify a triangle-triangle intersection algorithm

I have programmed a triangle-triangle intersection algorithm, which have I have successfully tested for all distinctly different situations I could think of. I did this by manually inspecting all ...
3
votes
1answer
63 views

How draw a straight line in canvas using protractor

Context: I want to test a signature canvas field So i want to draw a signature and then validate that signature is displayed on the canvas. Right now i cannot even draw a proper line , so wanted to ...
2
votes
1answer
65 views

Data creation and deletion for happy path automation

Hypothetically, if an automation engineer had to write a test for commenting on a post in a group on Facebook and did not have direct access to the db, but instead to the rest api, the automated test ...
0
votes
0answers
10 views

Issue with running Restsharp SpecFlow tests using MSTest via command line

I have created restsharp specflow tests using NUnit framework and I am using MSTest as a test runner in app.config file. I tried to run the tests via command line and it does not work - says the tests ...
0
votes
0answers
41 views

How can we use the “TableTransfomer” Method to read data from “DataTable” in Cucumber?

I am stuck with using a TableTransfomer Class to convert Datatable into desired domain object. I am following some examples from the web, but have completely messed up my code. I just want Cucumber ...
0
votes
2answers
398 views

visiting a dynamic link that opened in new tab in cypress

Scenario: While clicking a link/button in the application, a new tab is opened (with a dynamic url) Is there a way in cypress to test somethings in the newly opened tab? I cannot use cy.visit() as ...
-1
votes
1answer
24 views

What does it mean to instantiate Webdriver in Selenium? [closed]

WebDriver driver = new ChromeDriver(); Now, when we "instantiate" Webdriver and create a reference variable and then assign the object returned to it, then does it mean that we have a new Chrome ...
2
votes
1answer
47 views

Which AWS certification to pursue for a road towards becoming an SDET/test architect? [closed]

Should I go for an AWS certified Developer associate? Since I have good programming experience related to Test automation and want to move my career as a Test architect or tools and automation ...
0
votes
3answers
88 views

Assertion on static value or calculated one

This may be more of a theoretical question than a practical one, but I'd like to know the community's opinion. Some context: On some integration UI test, in which we are testing that a field ...

1
2 3 4 5
65