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
1 answer
193 views

Playwright File layout

New to QA and Playwright. Related to styling and file naming conventions: Say you have complex software with multiple endpoints that you are writing automated tests for. How would you organize your ...
Mish's user avatar
  • 1
-1 votes
3 answers
2k views

How to open downloaded PDF file in Chrome and verify its content in Selenium?

When I click on the "Download PDF" link, the file is downloaded in Chrome. I need to open and verify the transaction data is correct in the file. I use Selenium and Java.
Raj87's user avatar
  • 1
-1 votes
1 answer
213 views

How to validate invalid date error message in Selenium Java project?

I have a "Date" field on my page I want to automate. Now, when I enter invalid value or invalid format, then its displays an error like: "This is invalid value for "Date" ...
qatester249's user avatar
0 votes
0 answers
27 views

How to automate clicking in modal?

Inside a modal I need to click text "Show hidden fields" so additional fields are available scroll down find field "Billable hours" and update text to 0h then scroll down and ...
Radek's user avatar
  • 101
-1 votes
1 answer
784 views

How to connect with Mysql db using Cypress 12?

I want to connect to Mysql DB in the server to delete several records. I have tried using some of the tutorials and answers available. Since all of them are regarding older versions of Cypress, I can'...
Syrus's user avatar
  • 1,197
0 votes
0 answers
23 views

Design of shared Acceptance Tests steps for different test frameworks and languages

We have the following setup: Multiple client applications containing UI E2E tests written in different programming languages (java, c#, swift ...). All those client applications have basically same ...
trajgon123's user avatar
2 votes
3 answers
302 views

How to validate if .txt file format is correct as a part of File processing in Automation framework?

In my Selenium+Java automation framework, I need to open a .txt file or any other extension file and then see if the text is in a particular format. Now, I need to see if all lines are in this format ...
test0023's user avatar
1 vote
2 answers
111 views

How do I effectively measure the level of impact of test automation within a Safe Scrum environment?

Details: Currently we are within a Safe Scrum environment and have already automated much of manual testing. However, we would like to measure the effectiveness and coverage of test automation across ...
Mornon's user avatar
  • 1,105
0 votes
2 answers
88 views

What is the general structure of an automation framework built in Selenium Java Cucumber BDD?

I am a complete newbie in Selenium and test automation. What is a general structure of Java Automation Test, using a Behavior-Driven Development (BDD) framework in Cucumber. Additionally, could you ...
tester232's user avatar
1 vote
1 answer
4k views

Facing Invalid Session ID issue in selenium Web driver Using TestNG frame work

package automation; import java.time.Duration; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome....
Y.khan's user avatar
  • 13
0 votes
4 answers
298 views

Selenium Locators are not working for this site?

public class LoginPage { WebDriver driver; @FindBy(xpath = "//input[contains(@class,'oxd-input') and @name='username']") private WebElement userName; @FindBy(xpath = "...
harry234's user avatar
0 votes
1 answer
41 views

How to include automation framework jar file dependency in my maven pom.xml?

I want to include one .jar file which has classes of my core automation framework. I created a "lib" folder in my selenium project and then gave its path in the pom.xml dependency. This Jar ...
harry234's user avatar
0 votes
2 answers
63 views

Is it a good approach to use a core automation framework(jar file) as opposed to creating all classes of framework yourself?

Some teams in an organization use existing core automation frameworks(made in Java). In my case, I converted it to a jar file artifact and then used it in their Selenium project as a local library/...
mahesh234's user avatar
0 votes
2 answers
44 views

Best way to test multiple scenarios that test same permissions or use similar users

The problem I have it's that I don't know what is the best way to test multiple scenarios that test different permissions on files by one or two users. Those tests are automated by Selenium. And my ...
MeGeT's user avatar
  • 3
-1 votes
2 answers
215 views

Is it mandatory to return a PageObject instance in every Page Object save/submit method?

In the Page Object model, we separate page UI elements and Test methods. However, there is a concept of Page chaining, in which we return an object on the next Page Object in the previous page object ...
abhi235's user avatar
0 votes
1 answer
72 views

Will Selenium Webdriver become less popular in coming years? [closed]

Lot of Automation engineers have shifted to new Web automation tools like Cypress, WebDriverIO, Pupeeter, Playwritght, Katalon Studio, AI tools like Testium, Functionize etc and i am still working on ...
jimmy234's user avatar
0 votes
1 answer
55 views

What aspects of javascript are relevant for Selenium Automation (with Java bindings)?

I use Java and Selenium for my automation framework. However, sometimes, as per need, I have to use JavaScriptExectutor in my script. But I have never studied JS and no nothing about it. If someone ...
jimmy234's user avatar
1 vote
5 answers
212 views

How to automate tests for sanitization of user input [closed]

I've checked what is sanitization of user inputs. And now I stuck with idea hot to automate tests for the sanitization of user inputs? I'm new about this topic.
Maryum Khan's user avatar
0 votes
1 answer
48 views

How to find an unnamed button belonging to a certain h2 entry XPath

(I am a bit of a StackOverflow newbie, so please forgive any beginner mistakes and let me know what to improve in the future) I am trying to select the highlighted button in the appended picture. ...
Adrian Leonhard's user avatar
0 votes
4 answers
282 views

Selenium email automation

I'm trying to automate tests using Selenium and a Yahoo email address. The problem is when I run my test in Azure DevOps I face the CAPTCHA privacy terms. Any ideas on how to fix this problem?
Ghofrane Chakroun's user avatar
2 votes
1 answer
259 views

How to solve Mouse over error in Selenium IDE Script Recording

I'm new to Selenium. Currently, I'm trying to automate the testing process of a React Django-based app using Selenium script recording in Selenium IDE. I'm facing repeated issues with mouse click ...
Flint_Lockwood's user avatar
0 votes
3 answers
662 views

Is there any way to import postman collection into playwright?

Details: We have several thousand APIs in various postman collection. Our customer wants to have them customized accordingly, towards E-2-E testing. The customer would like to use Playwright for ...
Mornon's user avatar
  • 1,105
-1 votes
1 answer
66 views

list the cyphers of a tls client

So, I have to test that client that connects to an HTTPS server, and ensure it offer the listed cyphersuites during the tls handshake. But I'm finding no way to start a server and have it tell me what ...
Spoutnik16's user avatar
-1 votes
1 answer
44 views

Verify that 4 products are shown with € symbol

I want to verify from this website: https://demo.nopcommerce.com/. There are 4 products shown with the Euro symbol by using for loop. Code: List <WebElement> productcurrency = driver....
Esraa Emad's user avatar
0 votes
1 answer
38 views

Want to identify most accurate and effective approach to raise only actual defects automatically in JIRA on test execution failure

Currently the requirement we have is to create defects automatically in JIRA when a test automation script fails. However we are looking for approaches to avoid raising defects if it's an Environment ...
SRM21's user avatar
  • 299
0 votes
0 answers
20 views

Selenuim IDE choose from table

I'm new in selenium IDE, Is there a way that I can click the edit icon on my table that contain employee id = 18-35 and the inclusive start date January 10 2023, please refer on my table: Employee id ...
New qa's user avatar
  • 1
0 votes
1 answer
23 views

How do you handle CCPA Privacy Manager alert while running test cases in Selenium Webdriver/TestNG

When I run test cases in Selenium Webdriver or TestNG my test always fail. The reason being, I'm not able to handle an alert-like pop-up exclusive to California residents. Those of you in California ...
Benjamin John's user avatar
1 vote
2 answers
76 views

Which exception happens in Selenium when the wait isn't long enough?

When we give a wait of 15 seconds and the application response time is 20 seconds, selenium throws an errorr Which is the exception that selenium throws?
Tejveer Singh's user avatar
1 vote
1 answer
44 views

Should I write redundant unit tests for property setters/getters?

Given: I have a policy of writing thorough, automated unit tests for every externally visible element of an application/system. Given: I have an API that includes accessors for a property. The ...
Jack Straub's user avatar
-1 votes
2 answers
76 views

How would you prioritize these bugs, and why? [closed]

Here is a hypothetical scenario for a software quality assurance (QA) logical question: You are a QA engineer testing a new feature for a web application. The feature allows users to upload and share ...
Hardik Kanajariya's user avatar
1 vote
0 answers
38 views

How to handle the google adds Window which display over the page

Add Pop Up coming when run the test suite and other operations where failed I tried to click directly on close button with x-path but it not work
Sushrut Parab's user avatar
1 vote
4 answers
165 views

Selenium Test cases for UI look

I have a test case, where I need to verify: a user selects any of the options. the text is not going out of the layout and displays complete readability to the user. As a result, the UI look and ...
Ghofrane Chakroun's user avatar
0 votes
2 answers
282 views

How can I disable sub sample request under a parent request which is unnecessary in jmeter?

I am trying to disable a sub-sample request embedded in jmeter parent request that follows a redirect of the main request.
Pravallika's user avatar
0 votes
1 answer
97 views

Cypress Error on chaining Cypress-If / Cypress-Drag-Drop commands with Cypress-iFrame commands

The application, which I have to automate, is completely inside an iframe. To continue, I used cypress-iframe plugin. However, when I am trying to chain the commands of cypress-drag-drop or cypress-if ...
Anand's user avatar
  • 101
0 votes
2 answers
1k views

How to get link from web element without actual download using Selenium Python?

I have multiple link on webpage with button. I wanted to validate and ensure all link are working. Do not want to download each file and wait till gets finished. After successful download to check ...
Narendra Chandratre's user avatar
0 votes
1 answer
937 views

New SeleniumManager api in Selenium 4.6.0 - Error: session not created: This version of ChromeDriver only supports Chrome version 102?

I am using new Selenium Manager functionality in the 4.6.0 version. However, it is downloading the Chromedriver.exe in the .cache folder, but its not compatible with the Chrome Browser. Chrome Browser ...
nitin235's user avatar
0 votes
1 answer
71 views

Is there a way to execute end-to-end testing one after the other (not multi-threaded)

We are setting up a new step on our build server to trigger E2E testing, as we did for UT. Some E2E make changes to the test database, so we encounter problems because the tests are not executed one ...
Rabskatran's user avatar
0 votes
1 answer
45 views

Does Test Complete (SmartBear) allows to write unnitest classes in script steps?

My query is if I can write scripts inside TestComplete using unittest? (Don`t get me wrong. Not import unittest/pytest test suite. WRITE tests in Scripts 'directory') As per TC (TestComplete) ...
karl5252's user avatar
0 votes
0 answers
601 views

How to pass dynamically JSON test data file to json spec.js file to get data in Cypress + Cucumber?

I want to run same test for the same web page for different combinations. Therefore I'm planning to created different scenarios in same feature file or different files. I have already tried passing ...
Syrus's user avatar
  • 1,197
1 vote
3 answers
65 views

Do I have to run all tests for each user group?

Let's say I want to test a "Change Password" page, and I have 3 user roles: admin, superadmin, and player. I use selenium + pytest, each test can be parameterized to run as many times as ...
pavso's user avatar
  • 13
1 vote
2 answers
515 views

How do i select random future date from date picker every time in katalon studio

How do I select a random future date from the date picker every time in Katalon studio?
deepthi's user avatar
  • 11
2 votes
2 answers
81 views

destructive testing vs chaos testing

I was reading about these two kinds of testing and I'm not sure what's the difference between them. It seems like they both test by failing the system. Are they actually the same? specifically when ...
CodeMonkey's user avatar
1 vote
1 answer
4k views

Run iPhone simulator with appiume but get xcodebuild failed with code 65 xcodebuild error message:

I'm using Appium to run an iPhone simulator and it's not working. I got the following error message: Failed to create session. An unknown server-side error occurred while processing the command. ...
Max's user avatar
  • 113
1 vote
1 answer
798 views

Error while testing android device using appium and selenium

I get this error and cannot start the device: java.lang.reflect.InvocationTargetException Unable to create a new remote session. Please check the server log for more details. Original error: An ...
sahar's user avatar
  • 11
1 vote
5 answers
367 views

Is it possible to use Cypress for data validation?

I'm writing some end-to-end automated tests for a CRM-alike web application. One of the development team leaders is asking me to do something that I've never done before. The problem is that the data ...
Eduardo's user avatar
  • 11
1 vote
0 answers
227 views

Some value from Postman test undefined

I need to create tests in Postman for running key values for the AI Conversation app. I have created tests, where I have used the logic below, where I can see all of the values after a test run except ...
Natalia Hunter's user avatar
3 votes
4 answers
437 views

How to contribute for the open source community as a Quality Assurance Engineer?

I want to contribute for open source projects. Personally I have used many tools and I believe it's time for me to do something in return. I'm not sure where to begin with. Are there any software ...
Syrus's user avatar
  • 1,197
0 votes
0 answers
25 views

How to match the location of a file contained in the project locally with the location of that file in the azure devops pipeline?

I have created a pipeline in azure devops in order to run automation scripts using seleniun in c#. My issue is the following: I run the tests or automation scripts locally and when I need to read a ...
punk code's user avatar
2 votes
2 answers
120 views

How to test data retention policy and cron job for deleting old data?

There are some retention policies for the data that my company uses. For different types of data, we have different rules and these different types of data and files are used in different ...
Keipro's user avatar
  • 29
0 votes
1 answer
312 views

How to approach test automation of Graphs and Charts? i.e., elements made of <CANVAS> <SVG> tags

In my project, we have a module called Reporting which covers graphs and charts. It's basically a dashboard on the homepage of the website with multiple graphs and charts (after inspecting them they ...
Ramkrishna Bhandare's user avatar

1
2
3 4 5
74