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
2
votes
2answers
4k views

How to query the Canvas using Selenium with JavaScript Executor or Protractor?

I like to know if it's possible to automate this 'graph' which is created on the canvas, if yes, how to automate it. I have to interact with all the elements on the 'graph or a map like thing' by ...
0
votes
1answer
121 views

Once an exception is thrown, it shouldn't ideally go to a TearDown/ aftertest

I'm using the NUnit framework. If my test-case failed with an exception like a timeout or any other exceptions. After the test it should go to [Teardown] but it is not going struck there abort the ...
0
votes
3answers
132 views

Can we use a counter variable inside to form another variable so I can access it's value?

I have a Regex Extractor that retrieves following values, With this, i'm trying to retrieve all such values, orderId_1_g1=SGSM10820, orderId_2_g1=SGSM10821, orderId_3_g1=SGSM10822, and pass them in a ...
3
votes
2answers
303 views

What is the difference between BeforeClass and BeforeTest in TestNG - Selenium WebDriver

What is the difference between BeforeClass and BeforeTest in TestNG - Selenium WebDriver, please suggest me best link or site for this.
1
vote
2answers
548 views

What is shoulder checkin in software testing?

I had an interview and they asked me about shoulder checking. This is the first time I heard this term. Share your knowledge on this topic.
2
votes
0answers
156 views

BeforeClass doesn't get displayed in TestNG test results window

We are expanding our TestNG suite to run multiple tests. Doing so we've encountered a strange occurrence. In one suite I have two tests. Both tests have one class each. Tests in IntegrationTest.java ...
0
votes
1answer
1k views

Methods to setup parallel test execution in NUnit with Selenium WebDriver C#

For true parallel execution of Selenium tests in NUnit, does the setup of the webdriver object need to be within the test method itself? Or is there a better way? Previously, for parallel execution ...
0
votes
0answers
38 views

How to Access span element and change it's value

I am trying to create a python + selenium script in order to fetch CSV from a salesforce pardot page. Can Somebody please help me in accessing the nested span element inside the dropdown list which ...
0
votes
0answers
32 views

Facing issues while sendkeys for a autosuggestion dropdown in a webapplication

1) On the current screen we have dropdown with div tag (Select Agent) 2) When we click on the dropdown, the options appear only till time the cursor stays on the dropdown, once moved the options ...
0
votes
0answers
748 views

While running TestNG program in eclipse getting error: A JNI error has occurred, please check your installation and try again

Getting JNI error while running TestNG program (that doesn't have main() function). But If trying to run the same program with same set of configuration (i.e. eclipse and java version), "Run as a ...
6
votes
1answer
660 views

How to approach setting up test data for a project that has a microservice architecture?

I have to integrate API test-automation on a project that has a microservice architecture. Each back-end service has a different repository and is deployed separately. I haven't had the opportunity of ...
0
votes
1answer
189 views

Python + Selenium: Is there a way convert Groovy based test cases into Python?

In my new project, I am supposed to bring the current test cases, all written in Groovy, to a Python base. We are talking about several thousand test cases that have accumulated over the last years. ...
0
votes
1answer
42 views

In Visual Studio 2019, The Name Of The Scenario In Test Explorer Is Different From The Test That I Want To Run

The test scenario in Test Explorer is different from what I have in my V/S Project. I have tried re-starting Test Explorer to no effect. Thanks !
2
votes
2answers
270 views

Specflow step is not bound even though the underlying step definitions have been implemented

Hello, the step has not been bound (hence, colour purple), even though the underlying step defintions have been implemented. In the screen shot, I clicked on "Ok". V/Studio takes me to the screen in ...
-3
votes
1answer
88 views

Tool suggestion for Database Testing

Anyone can suggest/recommand a automation tool which will cover DB testing end2end. The tool should support sql queries execution,Test Reports generation and support the CI/CD.
0
votes
1answer
31 views

How to create a property file in python?

In java we have .property file to have all our locators, how to have and use a same kind of file in python?
-1
votes
1answer
130 views

How to store text from a webpage using Ruby?

Ruby / automation beginner here - I'm trying to get and store an email address from a webpage using the element id, but am getting the error undefined local variable or method 'customer_email_address' ...
1
vote
1answer
48 views

HTTP client test integration into Jenkins

IntelliJ Ultimate offers a code editor to test HTTP request (including asserts). Those tests can even be stored as a file or run-config to be executed for later api testing. The official documentation ...
0
votes
0answers
32 views

Getting org.openqa.selenium.ElementNotInteractableException: element not interactable for Editor in selenium in Java [duplicate]

I have a Text Editor where I want to perform Sendkeys() but getting 'element not interactable' error. I'm able to get the text of that element by getText(). No idea how to work with this editor. ...
3
votes
4answers
332 views

What are the scopes of API testing

I am testing few API endpoints of a product and there are many observations like: Server response with 500 error if the application content type is JSON instead of form data. Different endpoints ...
0
votes
2answers
169 views

What is the correct way writing e2e tests?

I have a task do create e2e for a web app, but I don't know what is the correct way doing it. For example: In app there is a possibility to add new employee, so the scenario is as described: Login ...
2
votes
3answers
158 views

Test Management Tool for managing multiple projects

I am looking for recommendations on Test Management Tools. To start it would be mainly for manual testing, but we would like to integrate with our automated tests in the future. Ideally we would be ...
2
votes
1answer
4k views

If else loop is not working/ element exists: cypress automation

I am new to cypress. I read some of the other if-else cypress related questions and yet fail to understand whats wrong with my code. What I am trying to accomplish: if "There are no results" found on ...
0
votes
1answer
4k views

InvalidArgumentException: Message: invalid argument: 'using' must be a string

I'm very new to python, trying to create reusable code. when I try to call the class Login and function login_user in test_main.py by passing all the arguments that were used under Login class, I'm ...
0
votes
1answer
30 views

Is Nested Describes Acceptable For The Purpose Of Readability?

Is it ok to have a nested describe for the purpose of read ability? Example: describe('Atlas Search ', () => { beforeEach(() => browser.pause(20)); before(()=> { searchPage....
1
vote
2answers
65 views

Report non-unique ids?

Since a webpage should only have unique id attributes, does that mean you should report that as a bug on an otherwise functional page? For one, it surely makes automation more difficult, but for some ...
0
votes
3answers
675 views

Selenium WebDriver - handling authentication popups in Chrome and Edge

We have an internal web application that I am trying to automate using Selenium and BrowserStack, in C#. I have managed to use BrowserStack's 'local' functionality to get at the application but I'm ...
1
vote
2answers
62 views

iOS Automation Testing on AWS

Background: I have been searching how can I install an .ipa programmatically on a real iPhone, and all answers are "it's not possible". So I was wondering, iOS automation cannot be ...
0
votes
2answers
89 views

Run appium scripts without using Eclipse or any IDE

I developed appium scripts for my Android app in Eclipse and using this IDE to execute. But I wonder there's any way to run appium scripts on other PC without installing Eclipse or any IDE. I also ...
3
votes
2answers
79 views

Are there any automation tools which have a feature to first check (as a pre-request) for Internet connection up or down before script execution?

It was accidental but it's a required feature for most of the modern automation tools. Yesterday I made one automation script job on a remote machine and it will be supposed to run on schedule time ...
3
votes
3answers
458 views

Google Chrome browser and driver versioning

I have a CI pipeline that runs my E2E tests, which the agent is prepared by: Install Google Chrome by brew (latest) Chromedriver is installed by chromedriver_binary python package (fixed version) ...
2
votes
2answers
105 views

Does codeless automation tools work for large test suites?

AI-based codeless automation tools are on the rise. There are plenty of them that even claim to have flexibility and reusability. Are they good enough for large complicated test suites with many ...
0
votes
2answers
229 views

I am getting Stale element exception when I try to automate angular js - drop down using Selenium with Java

- I have around 40 items in my Drop down and I can see it by scrolling down in Gui - But when I inspect the DOM, I can see the code for only 10. I can see the rest only when I scroll it in GUI. (...
0
votes
1answer
92 views

TestNG how to build a queue of test cases to be retried

Currently, we have logic in place which retries all the failing test cases immediately after the failure, what could be any approach where if a test fails that test should go in a queue and should be ...
0
votes
1answer
637 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
81 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
196 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
153 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
67 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
228 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
930 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
610 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
32 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
156 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
864 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
283 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
540 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
196 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
5 6
7
8 9
68