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 votes
0 answers
39 views

Automated UI testing against a table whose editable elements change over time - dynamic xpath?

Context: We've got a table on a webpage that displays a varying amount of rows based on the input request. Data within the table can be clicked on to then make edits. The data is time-based and data ...
Moorpheus's user avatar
  • 263
0 votes
1 answer
24 views

safari message error when starting selenium

I have a MacBook m2 and I want to test with the Safari web browser. I received this message when I compiled my small test with Intellij idea ce. Could not start a new session. Possible causes are ...
Manel's user avatar
  • 1
0 votes
3 answers
53 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 ...
qa235's user avatar
  • 1
0 votes
1 answer
32 views

How to fetch header values from columns that are not visible in ag-grid using python selenium

I can catch the headers that are visible, not the ones that are not visible. If I use execute_script("document.body.style.zoom='30%'") with chrome, I can capture up to 40 (out of 50) ...
Nestor Nelida's user avatar
-1 votes
2 answers
45 views

What is correct approach to write Login test and subsequent tests that depend on it?

I am brand new to Software/application testing. I am testing a Web application using Cypress. For this web application, I have created my first login test. But for any subsequent test case, I need to ...
dAviN's user avatar
  • 3
0 votes
1 answer
35 views

Get code from email - java

I have an automation flow where there is a need retrieve a code from an email and input it into as a verification code. As its a demo I could use any temp email and grab it but I am wondering now what ...
Keith's user avatar
  • 11
0 votes
2 answers
48 views

How to correctly divide API tests into test cases

I'm practicing API testing and I'm wondering what the correct approach to dividing tests into test cases is. For example, GET gives me a JSON which is a list of items and I want to check a few things ...
eilchner's user avatar
1 vote
1 answer
62 views

NET::ERR_CERT_AUTHORITY_INVALID while recording from playwright

While I'm trying to record the web based application using Playwright tool and after launching the application getting as NET::ERR_CERT_AUTHORITY_INVALID . After recording and in the playwright tool ...
Bhaskara Reddy Dwarampudi's user avatar
0 votes
0 answers
22 views

Integration project automation and test strategy

I recently joined a company and will be working on an integration project. The Dev team will be building a solution to replace Excel spreadsheets. Data from multiple spreadsheets will now be displayed ...
C.Me's user avatar
  • 11
-1 votes
1 answer
28 views

To Cucumber(or other bdd) or not to Cucumber when automating api tests?

I want to know you’re opinion about your experience with Cucumber when automating api tests. Would you recommend it in all cases? I’m dealing with a very complex endpoint(complex request/response) and ...
Thea's user avatar
  • 11
0 votes
0 answers
21 views

Appium Android: How to click on Spannable Text?

just posting the same question posted on Stackoverflow: https://stackoverflow.com/questions/77614973/appium-android-how-to-click-on-spannable-text I have a screen that contains a TextView, the text ...
Mina Wissa's user avatar
0 votes
0 answers
15 views

Using Driver Factory, create reusable method

Objective: In our automation suite, we are using the driver factory implementation and would like to have it in a reusable method. So, In our tests, we do the following ( want to get away from this ...
Michael J Frazier's user avatar
0 votes
0 answers
16 views

Keyword hierarchy in robot framework

I would like to ask, what is the best way to organize keywords in robot framework. I am using robot framework to test backend application using rest interface. I have multiple keywords stored in robot ...
martin balaz's user avatar
0 votes
1 answer
56 views

Dataset for user stories and corresponding test cases?

Is there any opensource large dataset of user story mapped to test cases of e-commerce?
UserBH's user avatar
  • 13
0 votes
0 answers
19 views

Unable to click the button in SAP table using UFT one

Am automating SAP, now there is a button inside SAP table I have been trying to click it my code is failing. object: SAPGuiSession("Session").SAPGuiWindow("SAP").SAPGuiTable("...
Phira's user avatar
  • 1
0 votes
1 answer
33 views

Can Appium be used for web testing on a Mac with PyCharm?

I wanted to automate my project, which has three parts: Web testing Ipad app Ios App I have started with the web testing, by following all the steps on appium.io and installed Appium Server, Appium-...
Ankush's user avatar
  • 1
1 vote
1 answer
65 views

how to find project to contribute as automation tester?

I'm manual QA with 3 years of experience. At the same time I've learnt some automation and wrote autotests on java for selenium-based framework on the previous job. I decided to get more knowledge of ...
domagile's user avatar
0 votes
2 answers
51 views

How to handle this Particular date picker scenario where i want to traverse back in selenium

In this code i want to navigate to the year 2022 and select July and print that result in the console but the issue is that in the else if condition when checking when this particular condition is ...
Krishna Sriram's user avatar
0 votes
1 answer
611 views

Playwright - Target Closed before any action

I am trying playwright and try to automate login feature. I have page classes, test classes and separate action class to write common actions like click,enter inputs. My common action class import { ...
Darshani Kaushalya's user avatar
0 votes
2 answers
328 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 ...
secretAgent's user avatar
0 votes
0 answers
108 views

How to connect to a Anti-Detect browser (Incogniton) using selenium java

I want to connect to a browser session of this specific anti-detect browser called Incogniton. It does support Selenium browser automation, but it only supports Python. I don't know anything about ...
likenzy's user avatar
0 votes
0 answers
25 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 ...
Kate Velasquez's user avatar
0 votes
0 answers
131 views

Playwright Webkit encountered an internal error

I installed playwright using npm init playwright@latest then I ran npx playwright test but I got this error: 1) [webkit] › example.spec.js:4:1 › has title ─────────────────────────────────────────────...
Ezzeldien Rashad's user avatar
0 votes
0 answers
21 views

Does Playwright offer clickable test suite that anybody can run through a dashboard page?

We need to implement automated E2E testing that would allow anybody on the team to visit the dashboard page and review test run reports and at the same time initiate new tests with a button click. Is ...
Abhishek's user avatar
0 votes
0 answers
31 views

Is it possible to use Appium to automate an iOS application on a Windows machine?

I need to automate an iOS application with Appium, C# on a Windows PC using SauceLab. I can utilize any real-time device or emulator that is linked to saucelab. I only have a Windows computer here. Is ...
Aman Khan's user avatar
0 votes
1 answer
74 views

What should be in a base page object?

When building an automation framework some examples I see use a "Base Page" object that all other Page Objects derive from. Typically these include a default constructor passing whatever ...
Mercfh's user avatar
  • 1,726
0 votes
0 answers
50 views

How to select drop-down value from CSV file using Apache POI - Selenium Java

I am currently working on a web form (Selenium Automation) where I need to display values from a CSV file in a drop-down input text field. I've managed to read the CSV data using Apache POI and ...
Anony's user avatar
  • 1
1 vote
1 answer
229 views

CPU issues after upgrade to Selenium V4.11.0

After using selenium 4.11.0 version and launch error for 116 browser launch error was resolved. Has anyone observed Maximum CPU utilization issue after changing to selenium 4.11.0? I was using ...
Likitha Hs's user avatar
0 votes
3 answers
62 views

Login Integration Testing Good and Bad Password

I am writing Cypress Integration Test for UpdatePassword. One reason I wanted one whole test: We had a minor bug before, when the user enters a bad password, and then fixes it up, the Submit Button ...
mattsmith5's user avatar
-1 votes
1 answer
28 views

This element is working on Jenkins previously, but not working now on Selenium Java Cucumber BDD framwork. I am facing this issue consistenly

Results : Tests in error: invalid selector: Unable to locate an element with the xpath expression None edit reseller content lib because of the following error: SyntaxError: Failed to execute '...
Ammar Ahmed's user avatar
-1 votes
2 answers
36 views

What tool to use for ui testing for teamcenter like windows apps?

I was trying to conduct ui testing on teamcenter and similar windows apps. I found selenium but it only works in the browser. What is the best way to test the UI for an app which we do not have the ...
mmi's user avatar
  • 1
0 votes
1 answer
43 views

Should I implement both possible and negative test cases for this scenario?

I am testing a web-based application. One feature of this application is to accommodate customizable elements in a given region. There are several regions: Top Top-left Top-right Items Right Bottom ...
Yu Zhang's user avatar
  • 9,952
0 votes
1 answer
87 views

How to store a value which is not inside a tag in the SeleniumIDE?

My Problem I'm trying to automate a login/logout test to my website using Selenium IDE and I'm facing a problem while trying to verify a value displayed in the page. In my test I first verify the ...
Marc Agnetti's user avatar
0 votes
1 answer
25 views

Best way to plug in several sub flows as part of a single one in Cypress?

I am currently working on integrating Cypress e2e tests in our existing CI/CD pipeline (I'm not an automation engineer but a developer). Our application is a fintech app which involves the typical ...
Oscar Calderon's user avatar
1 vote
2 answers
139 views

What is the best practice of dependsOnMethods in TestNg?

I know that having interdependent tests is a bad idea. But, then my question is: What are the valid usecases of dependsOnMethods which TestNg team provided ? In other word, under what conditions i can ...
Jimmy's user avatar
  • 249
0 votes
0 answers
32 views

why my page is not scrolling full at the bottom in selenium testNG(java)?

The images below are my codes(Singleton,homepage and test classes) I'm new to automation and I tried to achieve POM using Singleton now my problem is whenever I try to run my test cases it navigates ...
Shabbin Hossain's user avatar
0 votes
0 answers
58 views

Can't click on element in selenium

I am trying to click on this element in selenium for login but it wont work for me. This is my code for it driver.FindElement(By.XPath("//div[@id='otherTile']")).Click(); But it wont work. ...
ghosty's user avatar
  • 1
0 votes
1 answer
25 views

Appium version issue

I am confused to see what Appium version is installed on my machine. If I look into Appium UI it shows Appium v1.22.3 but When I check from cmd it shows 2.0.0-beta.71. how do I know which one is ...
Jahanzaib.Khan's user avatar
0 votes
2 answers
40 views

Is it fine the environment for data migration tool testing be the same as the environment where regression testing is done?

We have a webapp which is an ecommerce site, and we have another web app (data migration tool) whose main purpose is to bulk upload data to the ecommerce site. We then have 3 environments we can ...
Rocky Boar's user avatar
0 votes
1 answer
202 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 "../...
Syrus's user avatar
  • 1,207
0 votes
1 answer
173 views

selenium how to deselect the selected element

<select id="SelectedCustomerRoleIds" multiple="multiple" name="SelectedCustomerRoleIds" data-role="multiselect" aria-disabled="false" style="...
Stive's user avatar
  • 11
1 vote
2 answers
525 views

Is it recommended to use Page object model for cypress E2E test? if not what is the suggested method to adopt

I am new for writing e2e UI test using cypress. But I am uncertain if it's good practice to use page object model, when I repeatedly need to use same elements in different test cases. Does "Aap ...
Maryum Khan's user avatar
0 votes
1 answer
47 views

How to delete cypress reports for both windows and linux before every run?

using below script for windows and linux but it is not working for linux
Surya Singh's user avatar
0 votes
2 answers
480 views

JMeter- multiple user login and extract the user id and password without using csv file

I am new to jmeter. so I need to know what is the alternative for csv data set config because if I use csv data it okay for couple of user but every time i need to change or add the data in file. it ...
kala's user avatar
  • 1
1 vote
2 answers
54 views

How do you ensure your 'passing' tests(UI automated) actually pass?

How do you ensure your passing tests(UI automated) actually pass? As automation engineer I think we should question our passing tests in the same spirit as we dig in our failing tests to find out ...
Vishal Aggarwal's user avatar
3 votes
6 answers
123 views

How can I get enough time for unit testing as a developer

I'm always being pushed for feature development and then held to dates that don't give enough time for writing unit tests. What practices can I use to be a better advocate for getting unit tests ...
Michael Durrant's user avatar
0 votes
1 answer
151 views

Python + Appium : ios video recording is creating zero byte videos

Background : I am trying to record video on iOS using MacOS with M1. Problem : I am able to record video but after saving I can see video size is "Zero byte". I have not seen any error so ...
Narendra Chandratre's user avatar
1 vote
2 answers
24 views

Managing exclusive resources across tests

I have a serial E2E test suite that's growing and getting slower. To solve this issue, I have to run the tests in parallel. But creating a user and all the required configurations is very complicated ...
André Roggeri Campos's user avatar
1 vote
3 answers
70 views

Is this way to automated test for php upgrade feasible?

We are upgrading from php 7 to php 8 on our backend. There is a smoke-test automation in place to verify the expected functionaly. I am thinking if it is feasible to read our php code base and look ...
Yu Zhang's user avatar
  • 9,952
0 votes
0 answers
33 views

Tool for automating the testing of CLI applications

At my job we have a few products that include command line applications with no GUI alternative. In the QA team, we are trying to automate more of our regression testing. We've found and started using ...
S.Pacitti's user avatar

1
2 3 4 5
74