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
5
votes
4answers
234 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
33 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&...
0
votes
1answer
37 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
2k 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
106 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
43 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
158 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
110 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
357 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
171 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
51 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 ...
1
vote
1answer
438 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"&...
2
votes
1answer
413 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
661 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
84 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 ...
1
vote
2answers
72 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?
1
vote
1answer
833 views

Hover on svg in cypress and test tooltip

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=&...
2
votes
1answer
93 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
2answers
1k 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....
4
votes
2answers
84 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
304 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
84 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
23 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 ...
1
vote
2answers
7k 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
87 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
174 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
97 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 ...
7
votes
5answers
2k views

Is Cypress set to replace Selenium as the preferred tool for automating web applications? [closed]

I see many articles pointing out the effectiveness of Cypress as against Selenium for automating web applications. From most of the articles I've read, I see some points for Cypress such as: Cypress ...
1
vote
0answers
21 views

Who are the most popular Selenium Automation experts and advocates? [closed]

I am a newbie in Selenium WebDriver and have started my journey of learning the tools. I wanted to follow blogs/articles/tutorials of most famous and expert Automation engineers who work primarily on ...
5
votes
1answer
442 views

How to bypass antivirus certificate warning in test automation

I have Kaspersky antivirus installed. When I run automated tests in dev environment, I get the warning Connection not protected The security of your connection is reduced. Criminals can ...
5
votes
4answers
1k views

Can't find the element of a toast message because it disappears immediately

I am trying to add an assertion on the shown toast message in my scenario, Is there a way to stop the screen to find the element of a toast message?
0
votes
0answers
24 views

I have handled alert in selenium java it is working fine . When i run local but while azure pipeline execution this alert is not handled shows error

I have handled alert in selenium java it is working fine . When i run local but while azure pipeline execution this alert is not handled shows error ... TimeoutException:Expected condition is failed :...
0
votes
2answers
1k views

How to select values from dynamic drop down using selenium?

My code: from selenium import webdriver driver = webdriver.Chrome(executable_path="D:\\Work\\chromedriver.exe") driver.get("https://www.makemytrip.com/") print(driver.title) print(driver.current_url)...
0
votes
2answers
887 views

How to add two data attribute check in cypress?

Example: <div data-component="tab" data-value="first_tab"> </div> How can I get data-component="tab" and data-value="first_tab" together in cypress ...
0
votes
1answer
53 views

How to correctly update the Webelement List?

I'm in product catalogue in e-commerce store and I would like to choose one particular product with number "7000029644". On the displayed page, there are 8 products available, so I need to click the "...
1
vote
1answer
192 views

Is it possible to test Desktop Applications using Protractor directly or via a third party tool?

I have an application built over angular (new version) and WinForms (legacy) which needs to be automated for testing. I had identified selenium (WinAppDriver + NgWebDriver) as the possible tool for ...
3
votes
1answer
12k views

How to wait till all components are loaded in Cypress?

My Cypress test cases are working fine when I run from my system pointing to QA. But the scheduled builds from CI are failing randomly because sometimes the page is taking more time to load. I've ...
1
vote
1answer
1k views

How to implement Extent report in Cucumber using EventListener and Where to find documentation for this class

I was trying to implement a custom formatter using cucumber event listener but I was not able to get official documentation for this class. When I Googled i got the below link : https://www....
2
votes
1answer
483 views

How to fetch username and password from excel one by one to test login functionality in robot framework-selenium-python

I am trying to login to my application one by one using different credentials in robot framework-python-selenium but it is not working. Below is my code. Please suggest. Open Browser ${URL} chrome ...
6
votes
3answers
3k views

How to test if my application method handles HTTP status 404 of a REST API without actually calling that REST API

I am currently trying to automate some of the testing for my application using JUnit. My application has a method which calls a 3rd party REST API. I need to check if that method is handling HTTP ...
0
votes
0answers
52 views

Integration tests and data used in these tests

I read a lot about unit and integration tests and how they work with maven and java and how it works with Continuous Integration. I am using Flyway for db migrations, the schema part is already done. ...
5
votes
3answers
191 views

End to End tests on multiple build agents?

I am using Cypress for end-to-end testing on a Web App, and for some browsers I noticed slight changes in the output when changing the build agent. It is something that I didn't even consider before, ...
3
votes
5answers
133 views

How do I do mobile testing for a website?

I have already created automated test cases using selenium and java for desktop web testing. Is there a way for me to run the same tests on my personal mobile? Searching on google I find resources ...
-1
votes
1answer
69 views

Sikuli IDE syntax test report error

I just have a head start on Sikuli. I am not sure why I am getting an error. There is a double-click mismatch error. This is my sample code from sikuli import * import unittest import ...
0
votes
1answer
38 views

Is there any mocking framework available for blackbox testing of windows and mac apps?

We test a bunch of applications on windows, mac and mobile platforms. We use a tool called TPlan robot for our UI automation testing of those apps. Our testing is blackbox testing so there is no way ...
-1
votes
1answer
134 views

Test script failing due to “INTERNAL_SERVER_ERROR” , when I try to automate application. It run fine when test the same flow manually

I am using Java. I am trying to automate a scenario, where am trying to search all details of an ID, it works fine when I test the scenario manually. It fails when I automate the scenario. Note: I ...
0
votes
1answer
153 views

Automation testing for video chat web application upto 20 users?

I have a video conference web app for multiple users to login and chat . I want to automate below scenario by using selenium and Jmeter Scenario - test this application for max of 20 users login into ...
1
vote
2answers
3k views

JMeter - FileToString with relative file path to test plan?

I've got a JMeter POST request that has body data like below: ${__FileToString(/${json_request}.txt,,)} The json_request variable comes in from a CSV data set config, allowing me to iterate through ...
1
vote
1answer
422 views

Sikuli verification/assertion text image

It is possible to verify the text in image using sikuil plugin with java running on eclipse? I'm testing a scenario where i double click on a saved notepad, i should able to verify that the notepad ...
0
votes
0answers
76 views

What is your setup for running nightly automated web driver tests

There seem to be three predominant setups for running automated tests. The company invested in a selenium grid that is always available and the nightly tests run against them. The CI will build a ...

1
3 4
5
6 7
68