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

Selenium: Capture DOM Elements Image

I have an API to capture the image of a particular element in DOM and return them. For that, I have a list of WebElements which needs to be captured into a single webpage. For that same, I have found ...
1
vote
5answers
65 views

Any advantage to using particular language from Cucumber? BDD enquiry?

I'm curious, I'm only just beginning a journey into the BDD and wondering if there any advantages to the languages which Cucumber (Gherkin) can translate to? I note that some languages are not ...
1
vote
3answers
47 views

How to handle a messenger pop up which does not always appear?

Some times a messenger pop up comes up on application which is completely random. It may appear in any page and also not as soon as you land on a page. It may take a while to pop up. It is basically ...
0
votes
1answer
84 views

How can I limit a keyword's execution time without failing?

I am testing an API on a server. When I close the connection from another external computer to that server it takes some amount of time to complete. I want to limit the amount of time my test waits ...
-1
votes
1answer
16 views

Automation tools recommendations for E2E and integration testing a Firestore back-end application?

Does anybody have any experience and/or have any recommendations for automation tools for testing a suite of web applications that rely heavily on Firestore for data storage? We are currently working ...
3
votes
1answer
60 views

What should be unit tested in an API client?

I've been reading about unit testing day in, day out for a few days and the more I did, the more frustrated I became. The System Under Test is essentially a client calling external APIs that take XML ...
0
votes
0answers
26 views

Driver does not recognize pop-up's - can not switch

In years it is the first time I saw something like this, when I do a: config.getWebDriver().getWindowHandles().size() The result is always 1, but in fact, there is a main window opened and after a ...
0
votes
1answer
54 views

Automated End-To-End-Testing: Generate API calls via swagger or make them hardcoded?

We, the test automation team, are currently implementing end to end tests. We use the API of the backend team for the setup of the end to end tests, which run via UI. Should we use the swagger file ...
0
votes
1answer
44 views

Getting Stale element exception when iterating over a dropdown in Selenium

List<WebElement> dropdownlist = driver.findElements(By.xpath("//* [contains(@class,'mat-option ng-star-inserted')]//span")); int count = dropdownlist.size(); for (int j=0; j<=dropdownlist....
3
votes
3answers
75 views

Can existing tests and data effectively compare old and new systems?

This idea was presented to me recently: You have a complex legacy ETL system in Java in a TEST environment that no one understands completely. You write some tests that run it and compare the output ...
0
votes
0answers
54 views

Getting Appium integrated with BrowserStack behind a proxy

I'm trying to get Appium WebDriver integrated with BrowserStack, using C# behind a corporate proxy server and am having trouble. I'm using CNTLM due to the proxy server, so am trying to point Appium ...
0
votes
1answer
87 views

Unable to launch Firefox driver using selenium

I'm getting error like Exception in thread main java. NoClassDefFoundError:com/google/common/collect/immutableMap and above are the full screen shots:
0
votes
1answer
39 views

With appium which language will be compatible when application is built on dot net?

My application is built on dot net and I want to automate the application using Appium tool. I am not able to decide which language should I use with Appium to automate this app. Considering this is a ...
0
votes
2answers
43 views

Cucumber sentence autocomplete

I have a difficulty with writing Cucumber tests. The re-usability of the Cucumber sentences is not consistent - I would like to avoid code duplication when creating sentences and methods glued to the ...
1
vote
0answers
40 views

Issue with parallel testing in pytest

So I have two test cases in a map. From command prompt I type "pytest -n 2" then hit Enter. Instead of opening two browsers and execute them in parallel, pytest is opening 4 browsers, but only two of ...
0
votes
1answer
42 views

Unable to Run Tests on Edge browser in Jenkins

I am trying to run my Tests in the Jenkins using Microsoft Edge. When I click on build now, I am getting the below error in the Console Output ------------------------------------------------------ ...
1
vote
1answer
83 views

Automating verification of sent EMAIL/SMS messages

I have been doing some research about how to do verification automation on sent emails - but haven't really found anything that has worked thus far. Here is what I need to test: We have a customer ...
1
vote
1answer
30 views

Is there a Informix Test Framework available? Or any kind of way to test informix screens?

I am looking for a way to test Informix 4GL screens, such as this one in blue from the left. I have tested similar screens like this, in Mainframe systems using Jagacy Framework. The tests were ...
1
vote
2answers
226 views

Schema Validation in Postman

I'm having trouble validating a schema in Postman using tv4 inside the tests tab - it is always returning a true test, no matter what I feed it. I am at a complete loss and could really use a hand - ...
2
votes
1answer
64 views

Representing Complex Objects for Page Object Model?

So this is sort of a follow up question to me previous question: Page Object Model: How much abstraction is necessary? In an effort to make my test scripts simpler and methods easier (since ...
1
vote
1answer
139 views

Why do most IT companies create their own test automation frameworks when there are so many open source frameworks available for free?

I have observed that in many cases, IT companies create their own customized test automation frameworks for automating web applications even when there are a plethora of open source frameworks easily ...
0
votes
1answer
121 views

Not able to add Bug from Testlink to JIRA (Required Version Number)

I have Integrated JIRA from testlink using REST API. I was also able to link the failed testcase to a bug in JIRA. But while trying to create issue in testlink there is a validation happening for ...
4
votes
2answers
95 views

What factors determine automation feasibilty?

What are the prime factors which bring automation into play? When does a test manager / lead determine the need to automate an application? What factors influence Automation feasibility?
0
votes
2answers
281 views

Print API response in “Test results” tab in Postman

I'm using Postman to automate an API using Newman. But the response body of the API call is not showing in the Postman "Test results" tab. var body = JSON.parse(responseBody); tests["Response ...
-2
votes
2answers
49 views

How to make a test fail if driver takes long time to look for an element. I am not sure which elements will throw this exception

I am not sure which elements will throw this exception.In general is there any method other than providing - a page load time out , implicit, explicit or frequent wait for a particular element .
-1
votes
1answer
54 views

How to i find the count of check boxes is selected?

In the UI there are 50 check boxes. If I selected 20 check boxes. How to I find count of 20 is selected?
6
votes
2answers
138 views

Page Object Model: How much abstraction is necessary?

So i've been working on a Page Object Model framework for a large web application for our current company. It's the first time i've made my own framework and implemented the page object model. Im ...
-1
votes
1answer
22 views

Not able to execute Selenium maven automation project using Eclipse Run as “Maven Test”

When i execute my selenium java project using maven test its not executing. its showing me error. Its execute properly when i execute through TestNG.xml file. But its showing error when execute it ...
-1
votes
1answer
42 views

How to validate test logic for date dropdown?

I have a close date field where the date is already populated, and a date creation field which is the actual activity creation date and the logic I want to validate is below - Validate that the ...
0
votes
2answers
57 views

Unable to select <li> element from a <ul> list

How do I select a "li" element from a "ul" tag list? This is my current code vtenants.VT_USDelselectfld.Click(); //Clicks field to display the dropdown Thread.Sleep(500); IList<IWebElement> ...
-1
votes
2answers
82 views

How to learn automation from scratch? [duplicate]

I have zero knowledge about any coding language. But I have to learn an automation tool, preferably selenium. How should I begin? What language should I learn? In short, how to begin??
-2
votes
1answer
102 views

OWASP ZAP integration into SOAPUI for REST API Testing

One of the topics I am currently working on is the testing of APIs on the security level, e.g. as integration in SOAPUI and OWASP in WSO2. The integration of SOAPUI and WSO2 is set up and also works. ...
-1
votes
1answer
42 views

Selenium with C#

I am new to C# with selenium and visual studio,I have some experience only in Selenium with java in eclipse. Here my doubt is that in eclipse we used to configure the packages for every new projects ...
-1
votes
1answer
106 views

Katalon vs Taiko automation

Our team of -manual- qa's are currently working with Katalon automation tool. But our boss decided that Java is outdated and JavaScript is the feature of web automation. So they proposed us to use ...
-1
votes
1answer
101 views

Deprecation issue for InternetExplorerDriver

I want to use PAGE_LOAD_STRATEGY strategy while launching IE driver by using the following code but I'm facing a deprecation issue for InternetExplorerDriver. What's the reason for it? ...
-1
votes
2answers
30 views
0
votes
1answer
31 views

Is it possible to make a jar file using Selenium java and Eclipse and run that file on any machine for the testing

I am using Selenium and Java with Eclipse and TestNG. Now I want to make a .jar file for running this test case on another system that doesn't have Selenium and Java. How can this be done?
2
votes
3answers
95 views

Selenium forgets the authentication

I'm using Selenium and Java to automate tests. When opening the page under test, Chrome performs basic authentication (prompts for username/password). However, authentication should be solved on the ...
0
votes
1answer
246 views

I am getting the error UnhandledPromiseRejectionWarning: UnsupportedOperationError: sendKeysToActiveElement

I used the below lines of code but i have been facing an issue. browser.actions().mouseMove(control).keyDown(protractor.Key.CONTROL).keyUp(protractor .Key.CONTROL).perform().then(function());
1
vote
1answer
57 views

Non-functional test, in which CI test step is it best to use?

Within the Continious Integration stages, within this staging development, it is clear to everyone what is to be done where. Unitest in development, sonar if required, or RESTAPI testing via SoapUI. ...
-2
votes
2answers
69 views

What are the challenges to consider while automating Desktop client application that has WPF framework?

I want to automate regression testing for a desktop client application. The application uses WPF as UI framework. I have just started to investigate various tools. I am keen to know what are the ...
3
votes
2answers
106 views

How to handle bottle necks in agile testing procedures

We have a problem in our development team, the development throughput is much higher than our QA members can test. Our test team found itself in a situation where a new feature needs to be tested ...
2
votes
2answers
86 views

Best approach to UI automation

Let me start with my background, Been in the industry for over a year, got the wonderful opportunity to join the team despite no prior background, loving and enjoying every moment so far actually. My ...
3
votes
4answers
76 views

Creation of a test charter within the explorative test? How should it be structured?

According to istqb foundation level, a test charter is the following: "An instruction of test objectives and possible test ideas on how to test. Test charters are often used in explorative testing. ...
0
votes
1answer
31 views

How to Handle Dynamic path in jmeter

How to handle Dynamic Request URL Path in Jmeter. This request is not recorded in Script, it dynamically appears only in Login page response where in two places.
-1
votes
2answers
35 views

How to handle web dropdown for below action method & Also How should I write reusable method for such Action?

How to create Page Object for such element with Reusable Action Method ? Methods to include: A method to select an option from list dropdown, example: selectFromList(String option)
2
votes
2answers
39 views

To use direct page URL or complete path?

My question is which approach is recommended when writing automation test for testing something like filters present on page no.3? Should I directly use url of page no.3 in my test file and test ...
1
vote
1answer
326 views

Check if password field displays masked characters (Selenium + Python)

I'm new to automation testing, so I have a question regarding the code that I used to execute a simple test case: "Check if password is masked". 1. Open the browser; 2. Enter the URL “http://practice....
0
votes
1answer
27 views

Is it possible to use methods in java library or a java project snapshot in a protractor project? [closed]

If I create database testing project using java and export to a snapshot(as a jar), can I use it in a protractor project? Hoping to use in protractor project, protractor,jasmine framework along ...
0
votes
1answer
77 views

How correct I executed the test case?

I'm new to Automation Testing. So I have a simple test case - "Login with incorrect username and password". Steps: Open the browser Enter the URL “http://practice.automationtesting.in/” Click on "...