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
94 views

How to run automated selenium test scripts using C# in AWS Lambda and integrate them Amazon CI/CD pipeline

I have been give an task by a faculty member in which I have to run my selenium automation scripts written in C# using Visual Studio under the .Net Core on AWS Lambda and also I have been told to ...
-1
votes
1answer
15 views

Image Url Testing Through Jmeter

Please let me know how to resolve this issue i.e. I want to test image urls(10,000 plus) through Jmeter, but jmeter showing 404 error also incase of correct image. an example : https://g-cdn.alwka....
0
votes
2answers
118 views

How can I test when app requires OTP via SMS?

I am using Selenium with Java to test a web application. The app requires a user to receive a One-Time Passcode (OTP) to authenticate they are who they say they are and to authorize several critical ...
0
votes
0answers
42 views

How do I deal with a Gmail CAPTCHA during automation? [duplicate]

My test suite involves me logging into a website with 4 specified social logins: - MS Live - Facebook - LinkedIn - Google Now the problem is that many of these social logins sometimes give me a ...
-1
votes
2answers
36 views

How can I create a function of login test case in selenium web driver- python & how I can call it in other test case?

How I can create a function of the login test case in selenium web driver- python and how I can call it in other test cases? basically I want to call my login test case in other test cases.
1
vote
1answer
22 views

Unable to get multiple browsers working with Chrome and IE Edge browsers

I am new to QA testing; I was practicing automating test case in TestNg but can't seem to get the cross browsers to work. The test keeps failing. It worked when it was just one browser. Any ...
0
votes
1answer
330 views

Permissions error trying to run Appium test on Android

I am not able to run my automation testing with Appium server using Eclipse with Selenium. The error I get is: Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Unable to ...
1
vote
3answers
78 views

How to select option in a dropdown when the html-tag has a random id

I have a problem how to select a desired option (e.g. From, To...etc.) from list if 'datalist id' and 'select name' are randomly generated. This means that the ID and name has another value after ...
0
votes
1answer
22 views

How to get text from header having separator

How to fetch text for <h1 _ngcontent-gtj-c13=""> Site-2 <span _ngcontent-gtj-c13="" class="seprator">|</span> Building-1 <!----> </h1> I have used attribute ...
1
vote
2answers
36 views

How to proceed after clicking a button and that navigates to another page in selenium [duplicate]

Exception in thread "main" org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//input[@name='Name_First']"}
1
vote
1answer
29 views

Run Selenium test case in time interval from a console application c#

how to create a console app - a batch file which will hit my Automation testing application and runs selected test cases. I have test case with code coverage and it runs from my visual studio . and ...
0
votes
4answers
46 views

Save variable from java test class 1 and use variable in java test class 2

I have written the Selenium scripts (page object model) to navigate a website, fill in form data, and submit the form. I next need to verify that the form data was indeed saved in the database. My ...
1
vote
1answer
71 views

What tools will let me analyze automation reporting results?

I'm looking for a tool that stores the history of automated test runs performed on Jenkins and allows analysis to be performed to the desired level of detail. Today we have several Jenkins jobs that ...
0
votes
0answers
14 views

Mobile Device with custom Bluetooth Devices

We are currently looking for a mobile test solution for our latest product. Since the application is not standalone but works via a Bluetooth connection to embedded hardware (smart textile) we are ...
0
votes
0answers
20 views

First API call in list has very low Apdex score? What should be done for the same in Jmeter?

Very first API call in list is very low Apdex score even that API is simple list from DB. Due to that the overall average Apdex score is getting decreased. For example, for login there are three ...
4
votes
4answers
133 views

What is best approach to run regression Automation in Agile

We are following agile methods in manual testing. We had not done any automation until sprint 10. Our current sprint is 15. After sprint 10, We started automation using Java, Maven, and Selenium ...
0
votes
1answer
23 views
1
vote
0answers
39 views

Issue with switching to the new window in Selenium + Python (chromedriver)

I'm having an issue when I try to switch the new opened window. Every time I execute a test case, my chromedriver opens with a window named "data:,". My code: def test_case(self): reg = Register(...
0
votes
1answer
52 views

Number of actors in E2E tests

We have roughly 30 Cucumber tests and a few actors that run these tests that have been created based on our service's personas. Exemplifying this: We have a C2C ecommerce platform and an user. Users ...
0
votes
1answer
16 views

Selenium Mac Salesforce

I am trying to automate to log in into salesforce account and after it logs in i want it to click on contact button but for some reason it wont, i even wrote a different function just for it to click ...
0
votes
2answers
59 views

How do I find total number of links on a web page using selenium and java 11?

package exsc; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.By; public class S1 { public static void main(String[] args) { ...
0
votes
1answer
28 views

Is performance testing needed to perform on User Interfaces?

Should we use performance testing on UI? Should we use End to End testing scenarios for performance testing?
0
votes
3answers
90 views

Benchmarking web page performance

I currently work in QA at a small software company that develops web based training software. Most of the work I do is manual usability testing but recently I've been tasked with performance testing ...
0
votes
2answers
47 views

Is there a better way of carrying out basic text and form validation instead of doing it at E2E?

My understanding of E2E tests is that we should be carrying out tests that run through the whole system to check if everything works together via Selenium (for a web application). However, I've seen ...
0
votes
1answer
19 views

how to connect oracle database using remote desktop in SOAP UI?

I have been trying long time to do this. My organisation uses remote desktop to connect through Oracle database. I am using ready API licence one.my problem is while trying JDBC connection in SOAP or ...
1
vote
1answer
55 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
69 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
48 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
94 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
61 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
27 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
55 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
48 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
79 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
59 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
92 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
41 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
41 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
50 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 ------------------------------------------------------ ...
2
votes
1answer
121 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
41 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
370 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
68 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
135 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
514 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 .