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
2 answers
56 views

Is it possible to become a SDET(QA Automated) without having experience, with the free paths of Test Automation University from Applittols? [closed]

I'm new in the community. I have worked for several years as a programmer maintaining code and fixing bugs of ready-made applications. Thanks for your answers, Best regards. Reference https://...
user avatar
0 votes
3 answers
132 views

How to calculate security test or penetration test cost for the customer?

Details: A customer would like to know in detail what costs penetration testing causes on the one hand, and what benefits penetration has on the other hand. Also, what it effectively means to save ...
user avatar
  • 1,173
0 votes
1 answer
50 views

How to send POST api request with the extracted details from an element using selenium+java

Use case is as below. There is a modal in a website and it contains User ID, Name and email. I want to capture those details using selenium+java and send a POST api request with the above extracted ...
user avatar
  • 107
0 votes
2 answers
99 views

How to run java+selenium method continuously?

There is a functionality like in sometimes one of modal pops up and there is a button on it. If the modal pops up user needs to click on that button. This is a continuous process and I need to ...
user avatar
  • 107
-2 votes
1 answer
113 views

Element is working for the local but not for the jenkins in selenium

There is tool tip scenario it is working fine in my local but getting unable to locate element in jenkins. I have given wait and also using isDisplayed() method to get the element .I have to verify ...
user avatar
3 votes
0 answers
137 views

Contract testing with separate frontend and backend repos

We are using a code pipeline for our CI-CD. Front-end and back-end are separate repositories. We run cypress end-to-end tests on the deployment of both frontend and backend. The code gets merged from ...
user avatar
1 vote
3 answers
100 views

Security test plan for vulnerability test

Details: I would like to address the topic of security test plan. I can hardly find suitable material when it comes to the topic of Vulnerability test. Most of the time the information is limited to ...
user avatar
  • 1,173
-2 votes
1 answer
36 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 ...
user avatar
  • 419
-1 votes
2 answers
58 views

I wrote automation code to click on a date from a data picker but its not working

Website : https://www.abhibus.com/ I am trying to automate selecting date of journey on the website above. Nothing I have tried is working. Screenshot of the date selector Code I am using ...
user avatar
0 votes
2 answers
313 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 (...
user avatar
  • 419
0 votes
1 answer
296 views

Can a Test Automation engineer switch to a DevOps profile easily?

I work with Selenium Automation, API testing tools etc but if I want to switch to a DevOps engineer role, then how challenging will it be for a QA to learn all tools? Also, Where does UI automation ...
user avatar
  • 13
1 vote
0 answers
66 views

Cookie Banner is not shown [403 error]

Need help with the following scenario, In a website, OneTrust cookies are implemented. The cookies are from an external company. The cookie solution is implemented by including a couple of references ...
user avatar
  • 15
1 vote
1 answer
856 views

How to return a value from a then() block and use it in another then block in cypress

cy.get('div:nth-child(1) > div:nth-child(1) > div.MuiGrid-root.MuiGrid-item.MuiGrid-grid-xs-6 > div > span.MuiChip-label').then(($today) => { const today=$today.text() cy....
user avatar
3 votes
1 answer
61 views

In unit tests, should I check all null and invalid child properties in the input arguments that cause error and force developers too?

In a large application, I have a lot of methods with input arguments that each argument is a model with nested models (as you see in the image). You see that I have written some conditional codes and ...
user avatar
1 vote
1 answer
48 views

Screenshot not found error in protractor

I am getting broken image for screenshot. Unable to take screenshot in protractor framework. Please anyone help on this. My code: testconfig.js file var fs = require('fs-extra'); var today = new Date()...
user avatar
  • 11
1 vote
1 answer
150 views

Cucumber - Accessing injected context in After scenario hook

I'm attempting to refactor a test automation framework I have inherited (Java, Selenide, Cucumber) from one that uses static global state for test data, to context injected test data using ...
user avatar
  • 13
0 votes
1 answer
381 views

How to get list of disabled elements on page using Cypress

How to get a list of disabled elements on a page using Cypress? Thanks in advance.
user avatar
3 votes
2 answers
52 views

How to effectively test randomness in item ordering?

We have a function that introduces randomness in item ordering, e.g.: the order in which a number of given items are presented to a user is random For this scenario, there needs to be automated test,...
user avatar
  • 9,650
2 votes
2 answers
121 views

Is it necessary to Assert web page title in every case?

I am writing a script in Selenium and TestNG to automate Add User profile pages. Now, when I land on every new page, then do I need to write Assert.equals("add user profile", driver.gettitle(...
user avatar
  • 31
2 votes
2 answers
76 views

Test Coverage Report in Cypress

I write my test cases in Confluence and then automate them in Cypress. I was wondering is there any way I can get the test coverage report. I already looked into Istanbul but it is for code coverage. ...
user avatar
  • 31
-1 votes
2 answers
61 views

How to automate dynamic ui from json in selenium

I have a UI that is rendered against the provided JSON in DB. If I change in the JSON how would I know the fields in UI How I do this in selenium
user avatar
2 votes
3 answers
97 views

How can automation help a tester in creative & useful ways to perform testing more effectively & efficiently?

How can automation help a tester in creative & useful ways to perform testing more effectively & efficiently? ( other than automating manual test cases)
user avatar
2 votes
1 answer
50 views

Is Cucumber Scenario equivalent to a Java Class?

@Add User Scenario: Add a new User profile in the System Given user is on the Add User profile page Then Add a new user profile in the system Then verify that user has been added successfully Now, ...
user avatar
0 votes
0 answers
129 views

I am not able to open Extent report that was generated at a specific timestamp when the Test ends?

I am trying to run a Cucumber Selenium project which is written in Java and use Test NG to run the Suite. Now, in the @AfterSuite Method, im trying to popup the Extent Html and pdf report both ...
user avatar
2 votes
1 answer
30 views

What are good strategies to test for gaps in automated data migrations between releases?

Given the following example MongoDB document in a collection person, which goes through different processing steps: { 'status': 'Step 2 is finished' 'name': 'Some Name' 'affiliation': 'Gang ...
user avatar
0 votes
3 answers
83 views

When should we use Assert.true() instead of Assert.equals() method in Selenium?

What's the difference between these 2 Assert class methods?
user avatar
0 votes
1 answer
81 views

Why dont we use the main() method in TestNG class?

public class Tests{ @Test public void run(){ sop("this is test method 1"); } } How will Jvm know about entry point of the program? 🤔
user avatar
2 votes
2 answers
364 views

Whats the best approach to select elements for automated testing?

I read following in cypress's best practices. Anti-Pattern: Using highly brittle selectors that are subject to change. Best Practice: Use data-* attributes to provide context to your selectors and ...
user avatar
  • 121
1 vote
0 answers
59 views

What is fast reset in appium, which I am getting in appium server logs and how to avoid it

What is fast reset in appium, which I am getting in appium server logs and how to avoid it...
user avatar
  • 11
1 vote
1 answer
55 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 ...
user avatar
  • 1,173
2 votes
1 answer
156 views

Vulnerability regression testing in an agile environment

Starting point: We used different solutions in the test team to test our websites for vulnerabilities in different ways. In doing so, we naturally also want to retest the bugs anchored in the backlog ...
user avatar
  • 1,173
0 votes
0 answers
89 views

Jenkin fail without explanation running tests process exitcode 143

I have multiple test suites running on jenkins, however there is only one which never completes. It gets interrupted but never shows why The only thing I see in my console of the build is this: 04:13:...
user avatar
2 votes
4 answers
1k views

How to open outlook and click on the link that is there in the mail using Selenium

In my application I need to send a confirmation after which an mail will arrive to my Outlook which I need to open and click on the link which is sent in the mail. Can someone please let me know if ...
user avatar
0 votes
0 answers
308 views

Try catch not catching NoSuchElementException

kinda confused. I have a method I created to help me handle various scenarios public void WaitHandler(IWebElement element) { int i = 0; WebDriverWait wait = new ...
user avatar
2 votes
2 answers
264 views

Passing the UI data from one test to another

I work with Playwright, Mocha and Chai. In the application that I am currently testing I need to automate the following scenario. When a user logs into the application a dashboard with assigned list ...
user avatar
2 votes
1 answer
78 views

How are you testing configuration changes?

I am curious if folks are testing configuration changes in applications. For example, I have a Spring Boot app that pulls its configurations from a local properties file at build time and from Spring ...
user avatar
  • 41
2 votes
5 answers
262 views

If your manager asks you to reduce the test execution time which you can't, how to convince your manager?

There is a situation where our automation test suite is taking nearly 8 hours to execute 150 test cases. Because there are lengthy steps which cannot be reduced or remove. And my manager ask me to ...
user avatar
  • 2,093
-2 votes
2 answers
88 views

how to detect a real front end issue?

If I am testing a website, perform a "zoom in" action, and notice that the features are no longer in their correct places (the boundaries have changed), should I consider this behavior a ...
user avatar
0 votes
1 answer
114 views

Automated testing confirmation that item went to an AWS SQS queue

We're considering creating automated tests that confirm that specific items made it onto an SQS queue. Note that that sentence said "made" it - this would be a test that can be run on a live ...
user avatar
1 vote
1 answer
179 views

Starting testing from scratch in existing software project

The question is: "How to implement testing from scratch? How to structure things?" I have taken the position of Head of QA in a start-up company. The situation is that they have a software ...
user avatar
0 votes
2 answers
77 views

how to add "\n" to the method

I have the below method: PUBLIC methodname(WebDriver driver,formEntryMap<String,String>,String Colkey) { String Xpath = This will have the xpath of the input text box inputfieldEntry(driver,...
user avatar
1 vote
1 answer
50 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 ...
user avatar
  • 161
0 votes
2 answers
372 views

How can I run a login test for 100 users at the same time using Selenium, TestNG and Cucumber? [closed]

I am a newbie in Automation testing. I have a list of 100 users in a excel spreadsheet: User1: userid1/password1 User2: userid2/password2 ... and so on. I need to create a script and make all 100 ...
user avatar
1 vote
2 answers
712 views

Playwright: Using ReqExp inside of the URL while trying to check PUT request via page.waitForResponse()

Currently in one of my test I am trying to check PUT request status. In one of the user scenarios when a user clicks Confirm button a PUT request is sent and if all good status code 200 is present in ...
user avatar
0 votes
0 answers
281 views

The ChromeDriver could not be found on the current PATH

I wrote a test suite for a web application by using Selenium IDE and I used ChromeDriver to test the application, the code I used is as followed. C:\>set APPLITOOLS_API_KEY=...
user avatar
0 votes
1 answer
173 views

android : How to fix? - ConversationToQueryExtension.isEnabledForHostApp():252 Conv2Query not enabled due to current app not in whitelist

I am trying to login android application on emulator hosted on Windows OS. Facing below error : I/ConversationToQueryExtension: ConversationToQueryExtension.isEnabledForHostApp():252 Conv2Query not ...
user avatar
1 vote
2 answers
82 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 ...
user avatar
0 votes
1 answer
161 views

What is BrowserGetter in JUnit?

I am a beginner for test automation and following the Test Automation University 'IntelliJ for Test Automation Engineers' course. In chapter 6.3 to create fields and variables use this 'BrowserGetter' ...
user avatar
0 votes
1 answer
76 views

Unit vs Component vs System Testing [duplicate]

Can somebody explain the difference between unit, component, and system testing with a real example. What I understand is unit testing is about testing individual functions with mock services if the ...
user avatar
  • 13
0 votes
0 answers
34 views

How can I use a for loop in this code in python

I want to run my code 10 times in 10 new tabs. Kindly help me on how can I use a for loop and open in 10 different tabs. code; import time from selenium import webdriver from selenium.webdriver....
user avatar

1 2
3
4 5
71