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
1 vote
4 answers
53 views

How to share responsibility for pipeline tests across multiple teams

We have three teams working on the same product. Each follows the same sprint cadence but has their own scrum meetings. Recently the API testing has shifted to developers mostly, including maintenance....
user avatar
  • 5,834
0 votes
2 answers
63 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 ...
user avatar
  • 1,173
-1 votes
1 answer
31 views

I want to select a checkbox, how to obtain a xpath for the picture below anyone?

Please help me with the xpath for the above picture to select a checkbox?
user avatar
2 votes
3 answers
208 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 ...
user avatar
  • 1,173
0 votes
0 answers
334 views

Cypress - Identify when page is fully loaded

I am new to Cypress, but wanted to capture the time from visiting a page, up until the page is fully rendered and available to use. I understand I can use the Window: load event to identify when the ...
user avatar
  • 1
0 votes
0 answers
25 views

How to pass Selenium By in UIselector

I wrote script which is scrolling mobile app view and selects element by resourceId and text. Simple text select doesn't work for me. public void tapOnElementById(String resourceId, String visibleText)...
user avatar
-1 votes
1 answer
41 views

Is it must to learn RPA tools apart from web automation tools like Selenium?

I see many testers learning RPA tools like UI Path etc apart from Selenium, UFT etc. Is it necessary for a Test Automation engineer to learn about process Automation tools? Or is just Automation of ...
user avatar
1 vote
4 answers
93 views

Is software unit testing with tools considered manual or automated?

I'm quite new to software testing. I was studying about it and I've read testing can be either manual or automated. So is unit testing with tools (e.g. unittest or pytest in python) considered manual ...
user avatar
  • 21
0 votes
2 answers
35 views

How to find xpath of "BBB element in following example?

I am unable to find xpath of "BBB" in following span class example. <span class="xyz"> "AAA" "BBB" "CCC" ==$0 </span>
user avatar
  • 1
0 votes
3 answers
732 views

Selenium - How to remove &nbsp from my text value

I am trying to use this xpath to find the number of elements that have a value between X and Y. The problem I am facing is since there is &nbsp in the HTML, and the code doesn't detect the text ...
user avatar
  • 1
0 votes
1 answer
60 views

Automated testing framework that can switch to an open desktop application

I have a desktop app I am testing that is launched through an API (using JavaScript). I am able to launch the app by making a few API calls, but I need something that can shift the context to the open ...
user avatar
0 votes
2 answers
76 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 ...
user avatar
0 votes
3 answers
44 views

Selenium - invalid selector ui-sref

I have the following link, and I wish to click it using Selenium, <a data-toggle="tooltip" data-placement="middle" title="Nuova Richiesta" ui-sref="showRda({...
user avatar
1 vote
1 answer
70 views

How can we automate social login scenarios in regression suite?

We have to automate an e-commerce portal that supports social login using various social providers like Google, Twitter, Linkedin, Apple, etc. Most of these social login service providers either ask ...
user avatar
1 vote
1 answer
34 views

Using snapshot tool to simply the assertion - data snapshot testing

I started using a nice NuGet package for doing integration tests - https://github.com/VerifyTests/Verify and received feedback such as : it's not entirely fair to use the system under test response ...
user avatar
  • 209
1 vote
0 answers
68 views

Is formal verification just duplicating the same logic in two languages for equality?

I’m trying to wrap my head around why formal verification is useful. I’ve read that it reduces vulnerabilities in code, but I’m puzzled by how it can do that. My understanding is you write a ...
user avatar
  • 11
0 votes
1 answer
334 views

Selenium - cannot click on radio button

I have tried all the possibilities but am unable to click the radio button Yes or No. It would be great if I get some help. I have observed that Need to take this attribute (<span radiogroup class=&...
user avatar
0 votes
2 answers
828 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. ...
user avatar
0 votes
1 answer
1k views

How to select li element using Selenium in Python

I am trying to automate something on shopify, and depending on what the variable (lets say x) is, I want it to go into that list. For example, if x=2, then from that ul/li(list), how can I make it ...
user avatar
0 votes
1 answer
319 views

Cypress: cy.type() requires a valid time with the format with the format HH:mm, HH:mm:ss or HH:mm:ss.SSS

I am automating using cypress, there is a time input in the application. The html of it as follows: <label>Time</label> <input data-testid="time" type="time" name=&...
user avatar
  • 139
0 votes
2 answers
34 views

Software development companies that apply tests automation vs usual approach success statistics

I search the web, but can't find any. Are there any official statistics of the companies success depending on whether they use e2e, unit, integration tests and automation?
user avatar
  • 109
0 votes
1 answer
218 views

Type mismatch: cannot convert from WebElement to WebDriver?

Type mismatch: cannot convert from WebElement to WebDriver Getting this error in my code why? package testcases; import java.util.List; import org.openqa.selenium.By; import org.openqa.selenium....
user avatar
  • 3
3 votes
6 answers
132 views

Need some career advice here about level of experience and the software QA jobs I should apply to

I have a total of 7 years' experience as a software QA engineer. Out of which, I have 2-3 years' experience in automation testing(UFT, selenium, cypress) and the rest of the experience is manual ...
user avatar
  • 139
0 votes
1 answer
269 views

Testing Stripe payment integration using Cypress

We've recently implemented Stripe for customers to checkout. However, using Cypress to automate our regression tests was incredibly painful as the fields are inside an iframe (and, for some reason, ...
user avatar
  • 2,442
1 vote
1 answer
105 views

Can we Drag and Drop multiple desktop images at the same time to web page using selenium - Java through script ingestion

I found the below article for image upload using script ingestion. But this script is working for a single file at a time but I want to drag and drop multiple files at the same time. My client doesn't ...
user avatar
0 votes
2 answers
65 views

Unable to capture the element using xpath

I'm trying to capture the dynamic code using xpath(Selenium+Java). I want to get that code and store it in a variable, but it always returns no such element exception. My xpath looks like below when ...
user avatar
  • 107
1 vote
1 answer
89 views

Why do we need to initialize Page Object class again in every Step of Cucumber scenario?

User user1; Given("Add a new User profile") public void addUser(){ PageFactory.initElements(driver, User.class); user1.enterName(...); } Then("Edit a existing User profile") ...
user avatar
5 votes
1 answer
127 views

How to accelerate the release process by rethinking test automation

Background: web security company which was acquired by a bigger one. It was a startup with only manual testing, test automation started after the acquisition with a contractor team with mostly UI ...
user avatar
  • 81
0 votes
1 answer
163 views

Is it a good design to use a single Webdriver instance in Base Class and then each Page Object class inherits the driver instance in Cucumber Steps?

Im using Cucumber BDD framework with Selenium+Java. Now, I have made on BaseClass.Java in which i declare on public static WebDriver driver; Now, in my .feature file i have many scenarios and in each ...
user avatar
0 votes
5 answers
143 views

Best tools to perform Performance testing on a web application?

While performing manual tests, I noticed that some features loading have taken longer to complete. I'm asking about any tools to use to track the performance of my web application (we work with Edge ...
user avatar
  • 13
0 votes
1 answer
105 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.
user avatar
  • 121
1 vote
0 answers
60 views

How to run a Selenium+Java+Maven project that is hosted on Azure DevOps server directly with Jenkins?

I have made a Cucumber based BDD - Selenium, Java, Maven, TestNG Automation framework that has it's source code hosted on Azure DevOps (formally TFS). Now, I have a corporate Jenkins server and I want ...
user avatar
  • 11
5 votes
6 answers
198 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/...
user avatar
  • 67
0 votes
0 answers
156 views

Selenium drag and drop keeps holding to previous element, resulting in ElementNotInteractableException

I'm trying to drag & drop two elements one after the other. The first element succeeds, but the second one fails with ElementNotInteractableException exception. This happens even when I flip the ...
user avatar
0 votes
1 answer
500 views

Selenium + Python: how can we close all opened tabs except the first tab/main tab?

This is my code, ''' import time from selenium.webdriver.common.by import By from selenium.webdriver import ActionChains from selenium.webdriver.support import expected_conditions as EC ...
user avatar
0 votes
1 answer
41 views

Automate checking multiple emails

I'm trying to automate a job that is done everyday where someone checks multiple emails that is sent by various inhouse programs/scripts that people wrote. The person doing the checking has to see if ...
user avatar
2 votes
2 answers
41 views

Should you write tests that are basically for no-op to catch errors? (e.g. test a transition does NOT happen in a state machine)

When writing tests for a state machine, should you also test conditions that would not trigger transitions to make sure they don't? E.g. for a software requirement transition from A to B if x is ...
user avatar
  • 121
0 votes
2 answers
106 views

Is automation testing Black Box testing or White Box testing?

I came across this question & couldn't find a proper explanation anywhere. Can anyone clear this to me?
user avatar
0 votes
0 answers
284 views

unknown error: session deleted because of page crash from tab crashed- [java+Selenium not docker]

I'm running selenium script frequently by connecting gitlab repo to AWS hosted jenkins. previously it runs without any issue. today i got below issue and failed the script. org.openqa.selenium....
user avatar
  • 107
0 votes
1 answer
207 views

How can we create our own Custom HTML report for Cucumber based Selenium Project?

I have a Cucumber based Selenium framework written in Java. Now, for reporting i use some common plugins/libraries like Extent report. That is fine. However, i want to create my own custom HTML report,...
user avatar
  • 11
0 votes
0 answers
58 views

How to switch to an already open Chrome window in Selenium Webdriver after logging out of another window?

I am using Cucumber to write Test Scenarios. First, I login into a User account and do some stuff. After, that I login into the ADMIN account and update some permissions/other stuff, while the other ...
user avatar
0 votes
0 answers
77 views

Test execution gets stopped after an assertion error using Pytest

For the data driven testing, if there are 10 data sets, and the assertion fails for 3rd data set, then the rest of the 7 data sets are not considered for execution and the program gets stopped at that ...
user avatar
0 votes
1 answer
68 views

Keep getting 403 error code when executing POST request via Jmeter

keep getting error code 403 when executing POST request to Upload file. The system is using oauth2 authorization. i'm able to execute login, navigate to page but keep failing and getting 403 when ...
user avatar
  • 1
3 votes
4 answers
96 views

Can TDD be a tester task?

I'm working in a team developing a web application frontend (using Angular) and backend (using Java). The manager and the team asked me to be in charge of doing TDD (since I am a test automation ...
user avatar
1 vote
0 answers
22 views

How to debug web-socket connection while running tests in Moon?

The problem is that: Autotests fail when I run tests in Moon Chrome. But the same tests pass when I run them locally in Chrome. I guess this problem is somehow connected with websocket connection ...
user avatar
0 votes
0 answers
23 views

check video playback on Mobile App

I am working on a hybrid mobile app (React native) automated testing project using robot framework and Appium, i'm looking for a way to test videos streaming. Is there a way to test if the video ...
user avatar
  • 1
1 vote
4 answers
66 views

Should automation scripts made in Selenium always contain wait calls?

Should the automation scripts made in Selenium always contain wait calls like implicit, explicit and fluent, or could it be that waits are not needed?
user avatar
4 votes
6 answers
917 views

Is security testing the sole responsibility of testers or part of a mixed team?

Details: The well-known differences between API/GUI i.e. Functional Test are clearly defined. However, I ask myself the question: Does security testing belong in the focus of testers at all? Or ...
user avatar
  • 1,173
0 votes
0 answers
27 views

Test Strategy for the Reverse Sync process by using KAFKA

How can I test (Test Strategy) for the Reverse Sync process implemented by using KAFKA? Any inputs on this? Detailed Flow: The data from Database 2 will be published into the KAFKA topic via the ...
user avatar
0 votes
0 answers
90 views

Katalon Windows App / WinAppDriver error ‘Process is terminated due to StackOverflowException.’

I'm using Katalon Enterprise 8.0.5 and WinAppDriver 1.2.1. I'm trying to automate this Microsoft application - 'Dynamics 365 (preview)' - despite the name it is supposedly the finished article: https:/...
user avatar

1
2
3 4 5
71