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

Nightwatch JS - How to run multiple individual test cases?

Are there any other way to run test cases individually other than using --testcase flag ? also are there any to run 2 single test case from 2 different test suites? For example: Test Suite 1 Test ...
0
votes
2answers
89 views

JBehave - large number of steps in a scenario, due to preconditions and pre-steps

I'm having a scenario which consists of around 500 steps. About 490 steps out of the it are preconditions and steps that needs to be done, in order to come to a state where the actual acceptance (...
0
votes
2answers
210 views

Testing multiple browser configurations via Selenium WebDriver

When covering cross-browser testing using Selenium WebDriver, how do you provide the browser and version information to the tool (e.g. BrowserStack, Sauce Labs)? For example, you're wanting to execute ...
3
votes
2answers
163 views

Selenium WebDriver - should explicit waits be held in the test method or within the page object?

As the question title says: If you're putting a test together and you need to wait for an item to be displayed (as an example), is it best to put the explicit wait within the test or against the page? ...
0
votes
1answer
69 views

Using both espresso and uiautomator and test is failing on Firebase, but not on AS emulator

I have the following piece of code which is: click a toggle from Firefox app the toggle opens the Default apps menu from System settings I open the browser list, pick my browser and return to the ...
0
votes
2answers
242 views

Stubbing Responses in end-to-end tests?

So i've been trying out Cypress for the past few days, and im liking the tool so far. One feature it enables is being able to stub network requests (I think only xhr right now). Im sure other tools ...
1
vote
1answer
961 views

When i send string with send_keys() its taking substring in chrome driver (selenium python)

Hi all i'am facing problem with selenium (i'am using python) for chrome driver, when i send some string with .sendkeys( ) some time its taking first two characters and some time its taking first ...
1
vote
1answer
671 views

How to verify the disabled dates from datepicker in selenium IDE?

We are using javascript and the datepicker also contain the aria-disable=ture/false. Can anyone help me how to test either the aria-disabled=ture or false based on the condition. Please help me how to ...
0
votes
1answer
33 views

How to test data usage of a single chrome window

I am trying to find an application to test the data usage of a WEBrtc based application. The goal is to determine how much data is used during a 10 minute video call. Any help would be appreciated ...
-1
votes
1answer
58 views

Business test data for automated tests

My automated tests (at the GUI/API levels) require to have already existing test data - like users or privileges assigned to them. I want them to be stable and able to run independently every time so ...
2
votes
1answer
157 views

Cypress + mochawesome-report undefined in consol

I have simple test to test mochawesome-report when I run it in terminal I have "undefined" multiple times during tests. How to remove it? undefined Sample test √ Passed 1) Failing ...
5
votes
2answers
972 views

How to wait for gettext not to be empty for an element

I want to make sure the getText returns a non-empty string before continuing the program flow. I have tried : var EC = protractor.ExpectedConditions; await browser.wait(EC.not(EC....
0
votes
2answers
309 views

Can't able to print the failure Message in Jmeter if API request getting fail

I tried the multiple API hits on the server through Jmeter and save the result data in the file but some how I cant print the failure Message in the file, any body helps me how to print the failure ...
1
vote
1answer
2k views

If/else with test on checkbox in SELENIUM IDE

I want to do an if/else test in SELENIUM IDE. If the checkbox is checked the test should run the IF-condition, whereas otherwise it should go into the ELSE. I tried several commands for the TARGET of ...
10
votes
2answers
549 views

Data driven testing using csv in Protractor

I am trying to run data-driven testing using csv file in protractor: I have created a read csv promise module: let readSync = async function (path1) { console.log(path1) const csv = ...
2
votes
2answers
197 views

Best strategy to test automatically a web application

I have an application that consist of a web server in Java EE (EJBs and JAX-RS RESTful services) and a client module in Angular that runs in a browser. The components that I can unit test ...
-1
votes
1answer
63 views

What are the important features to use with Selenium IDE? [closed]

I am an intern and was assigned to be a Software Tester.
1
vote
1answer
140 views

Installation automation

I would like to test software installation(on windows) after each release. Since installer doesn't support silent mode i wonder if there is one good aproach that can minimize list of used tools and ...
12
votes
10answers
2k views

What is Test Automation Framework?

I am a complete beginner in Test Automation and could not find a good answer on the web. Some automation engineers use an underlying automation framework as a jar dependency in their selenium web ...
1
vote
1answer
509 views

How to do load app socket testing?

We are handling the calling functionality through a socket connection in mobile Application, so anyone helps that know how to test the load on the socket connection? Jmeter is helpful for testing the ...
0
votes
3answers
92 views

What test cases should I consider when testing this flow?

I have an endpoint that when it gets called, a pdf is generated based on parameters that are coming in from the frontend and then that pdf is returned back to the client side for rendering. In the ...
2
votes
1answer
341 views

Selenium with Ruby: Script not finding options in a drop-down

This is my first post, so if I have missed any info that should be included, please let me know. I am self-learning selenium/ruby automation in my spare time with only a little programming background, ...
2
votes
3answers
5k views

How to automate Microsoft two-way authentication based login page in Selenium using C#?

In an application user needs to enter email id and password on a Microsoft login page. After clicking on the Log in button, it sends a sms to a mobile number. Now User has to enter the OTP to login in ...
-1
votes
1answer
364 views

Do we have any free inspect tool for java swing application?

I have one java swing application. I need to automate that application. At first I need to inspect the element from that application. Do we have any free inspect tool for java swing application?
1
vote
3answers
191 views

Network connect lost in JMeter it goes more then 500 request

When I am using the Jmeter I created multiple threads(More than 500) when I started for the more than 500 requests on the server in 10 Seconds, then I can't get any response and API goes fail and my ...
1
vote
2answers
426 views

How to do test automation of desktop applications using autoIT

We had a task of installing custom addin to Outlook and verifying that the addin was installed correctly. The function of addin is to send the mail automatically to higher authority when someone ...
0
votes
1answer
524 views

Can i check at a time multiple api in jMeter? [duplicate]

I have started the JMeter in the mobile Application can I test the Multiple API at a time in Jmeter if yes then how can I check the output?
5
votes
3answers
143 views

How to automate tests for a fancy web site

I am going to take up the responsibility of automating an in-house "Media" website that looks really fancy and has more than 50 elements per page. But being from "industrial and data-center network" ...
0
votes
0answers
30 views

Is it possible to open browser in different machine that you have installed UFT/QTP?

I want to execute a test in different window machine that I have installed the UFT/QTP software. Is it possible? I read some information about execute UFT in remote machine(run UFT software and ...
31
votes
8answers
14k views

How can Internet Explorer 5 be emulated in 2020?

Details One of our customers uses a rather old software solution, and this is still based (yes, it's unbelievable!) on Internet Explorer 5, and the customer still uses IE 11 in compatibility mode. ...
-2
votes
1answer
2k views

How to execute one test case multiple time in parallel in Robot framework?

I want to execute one test case multiple times in parallel, for example, execute test_case1 10 times concurrently? I am not able to achieve this using pabot --processes
0
votes
0answers
38 views

unable to select a value from drop down

I am unable to select a value from drop down while automating UI of a website public void setTargetPortalDropdownOptionInModalPopUp(String visibleText) { Select select = new Select(...
16
votes
6answers
5k views

Writing test automation in Java, while the company domain uses C#/.NET

I´ve recently got a job as a automation tester in a company, that basically only have manual testers (except me). The short term plan is to come up with a good test strategy for identifying which of ...
5
votes
3answers
5k views

What's the difference between integration and contract testing of microservices?

Well, integration testing supposed to be the testing of integrated components. Contract testing supposed to be testing of the way components interact with each other (API). But what the main ...
-1
votes
2answers
876 views

How to add elements in list from a dropdown using Selenium/Python

I want to add all the city names in a list, so that I can compare then in assert is not in unit test.
0
votes
0answers
1k views

How to resolve "Cannot find class in classpath: com.AES.Loginpage" error in Selenium?

I have created one java project and written a script for login to application using TestNG class. I got an error: "Cannot find class in classpath: com.AES.Loginpage" I have added jars and driver exe ...
2
votes
1answer
756 views

how to handle firefox download popup in selenium

Code: case "firefox": FirefoxProfile profile = new FirefoxProfile(); profile.setPreference("browser.download.dir", "Downloads"); // folder profile.setPreference("...
6
votes
5answers
13k views

How to connect Selenium to an existing browser that was opened manually in java or create semi automated tests?

I want to achieve some use cases in which: I want to perform some tasks that require manual intervention before kicking in automation execution. For instance, I need to manually launch the browser, ...
31
votes
11answers
7k views

Why do many jobs describe automation but then require extensive manual testing?

The question somewhat stems from frustration after seeing recent trends in software testing jobs: In Job Description, automation skills are given utmost priority. All the interview rounds will be ...
0
votes
1answer
399 views

Click function is not triggering even after button is clicked using htmlunit driver

I am able to click submit button and submit button click is working fine but text entered to add comments is not showing (basically submit button click is working ,but submit button functionality is ...
5
votes
3answers
126 views

Is unit testing related only to software development?

I have searched for "Unit test" on the internet and I always find that it is a software development topic. If I am not writing code and instead I am designing, for example, a BI dashboard, can I ...
6
votes
2answers
8k views

Is there a way to automate multiple tabs using cypress?

Is there a way to automate multiple tabs using cypress? e.g. After login to my webpage, I get redirected to another tab. So, I would like to automate login in 1st tab and then perform other testing ...
1
vote
0answers
47 views

Linking automated unit tests to Test cases

I'm working with a piece of software with over 4000 automated unit/security tests. I've been tasked with bringing requirements into an ALM. What's confusing me, is the best way to handle Test Cases. ...
11
votes
4answers
3k views

How to analyse 'Element not Found' exceptions when working with Selenium

When you are writing Selenium/WebDriver automation scripts you will probably run into the exception NoSuchElementException. You think your selector is working, but somehow the element cannot be found. ...
0
votes
2answers
72 views

Is it possible to do Functional Testing w/ JMeter - Invalid input test and required field input test?

I need to know if it's possible to do functional testing (frontend or backend) with JMeter only - w/o 3rd party software. I need to be able to test required fields and bad data input in a form.
0
votes
1answer
59 views

Trying to use xpath in order to select a text on desktop web browser [duplicate]

This is the error I am getting below: selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//*[@id="select-input-...
-2
votes
1answer
37 views

Visual Studio 2017 Community Installation issue [closed]

I have installed Community edition 2017 , i cant locate Console Application under File-> New -> Project. I can see below. Under Windows Desktop -> WPF App (.NET Framework) ->...
0
votes
2answers
266 views

Waiting for spinner to disappear does not work

I'm using the code below, waiting for "Loading" spinner to disappear. But I noticed that next test step does not wait until the spinner to disappear. Example: click on button_1 (after click, spinner ...
3
votes
2answers
620 views

Nested explicit wait does not work in Appium

For example, I'm sending a message. While it's being sent to the recipient it has the resource-id "pending_indicator". When it is delivered, it has the resource-id "delivered_indicator". So, I'm ...
-2
votes
1answer
59 views

Automation Testing using selenium webDriver on a javaScript based application

I am having a JavaScript-based application to automate using Selenium WebDriver. Can I automate a Javascript based application using Java with Selenium WebDriver OR do I have to use protractor (...

1
6 7
8
9 10
69