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
27 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 ...
-1
votes
2answers
39 views

Ways to apply Automated/Automation Testing?

I was tasked with researching 'ways to apply automated testing'. I have never done automated testing. Only manual with test plans written by developers. Not sure where to begin. Anyone have any ...
5
votes
2answers
162 views

What infrastructure is required for automated testing on a hosted desktop?

I've started investigating dogtail as a solution for writing GUI-driven unit tests in a GNOME Wayland session. Before I dive deeper I want to understand what I'll need to run these GUI-based tests on ...
-2
votes
0answers
22 views

Run Selenium Automation kick start from webpage? [closed]

Am also looking for a solution can you please help me 0 i Developed a Automation Selenium java program to non IT support guys where they need to simply update the data file with required input data ...
1
vote
1answer
191 views

Automating a desktop app based on Chromium Embedded Framework using Selenium

Background: At work we are passing the --remote-debugging-port=9555 parameter to a CEF based desktop app and launching it using Runtime.getRuntime.exec("path to app"). Then, using selenium, we open an ...
-2
votes
0answers
13 views

Excel file upload/import using cypress [duplicate]

I've a UI similar to I need to upload a xlsx file which I have placed in fixture folder in to the application. Any suggestions?
1
vote
2answers
665 views

Running selenium scripts through web

I have developed a web page which takes all inputs for test cases such as: locators, input data, urls to open, etc. I run the page in tomcat server. Whenever I'm executing the test case with that web ...
0
votes
2answers
1k 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
2answers
44 views

What strategies and test cases should I use to test in Agile development?

How do you build test cases vs user stories/features vs requirements? What is your test strategy in agile development model? What is automation test strategy in agile development model?
3
votes
5answers
151 views

Can I test an app on all devices without purchasing all devices?

Is there any way to test an app on all devices without purchasing all devices?
0
votes
0answers
23 views

How can we use the “TableTransfomer” Method to read data from “DataTable” in Cucumber?

I am stuck with using a TableTransfomer Class to convert Datatable into desired domain object. I am following some examples from the web, but have completely messed up my code. I just want Cucumber ...
0
votes
1answer
19 views

How can I minimize the size of the framework? [closed]

I am encountering an issue that when I push changes to Master branch in bitbucket, a Warning msg returned says that the size of the framework is too large, how can I enhance this?
0
votes
0answers
11 views

How do I validate the data display in mobile app against the expected values?

We have been developing a mobile application using Xamarin and a server component. So there are no direct services calls to the mobile App all the services coming and going through the server ...
3
votes
8answers
6k views

How to do performance/load testing of a mobile App?

Is it useful to do separate load testing on a mobile App? I mean a mobile App is just a light weight client/viewer (like a browser) which internally calls some services/web API's. So, can we say load ...
1
vote
1answer
30 views

What testing should be carried out in which environment?

The solution in question is a financial transaction based platform made up of a number of Microservices. The question relates to the testing performed at each stage of the release pipeline. We ...
0
votes
0answers
9 views

hover on svg in cypress and test tooltip

0 Scenario: I have something similar <svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"> <!-- Using g to inherit presentation attributes --> <g fill="white" stroke="...
3
votes
1answer
44 views

How draw a straight line in canvas using protractor

Context: I want to test a signature canvas field So i want to draw a signature and then validate that signature is displayed on the canvas. Right now i cannot even draw a proper line , so wanted to ...
0
votes
2answers
4k views

Scroll to element stopped working

I'm using this method, for scroll down till the element is visible: var element = driver.FindElement(By.id("element-id")); Actions actions = new Actions(driver); actions.MoveToElement(element); ...
0
votes
1answer
23 views

WARNING: Passing multiple tags through @CucumberOptions is deprecated. Please use a single tag expressions?

I tried to run a Cucumber test with multiple tags. But got this error. I am using Cucumber version 5.7.0. How can i run multiple tags now? import org.junit.runner.RunWith; import io.cucumber....
8
votes
3answers
16k views

How to check a button is disabled using Cypress

<button _ngcontent-c21="" color="primary" mat-button="" class="mat-button mat-primary" ng-reflect-disabled="true" ng-reflect-color="primary" disabled=""><span class="mat-button-wrapper"> ...
0
votes
3answers
563 views

Getting error : NoSuchElementException - Unable to locate element with ID attribute

I am running this code: from selenium import webdriver from `selenium.webdriver.firefox.options` import Options Setup: options = Options() options.add_argument("--headless") def get_results(...
1
vote
1answer
34 views

How to verify a triangle-triangle intersection algorithm

I have programmed a triangle-triangle intersection algorithm, which have I have successfully tested for all distinctly different situations I could think of. I did this by manually inspecting all ...
0
votes
2answers
21 views

visiting a dynamic link that opened in new tab in cypress

Scenario: While clicking a link/button in the application, a new tab is opened (with a dynamic url) Is there a way in cypress to test somethings in the newly opened tab? I cannot use cy.visit() as ...
2
votes
1answer
61 views

Data creation and deletion for happy path automation

Hypothetically, if an automation engineer had to write a test for commenting on a post in a group on Facebook and did not have direct access to the db, but instead to the rest api, the automated test ...
1
vote
1answer
53 views

Sikuli verification/assertion text image

It is possible to verify the text in image using sikuil plugin with java running on eclipse? I'm testing a scenario where i double click on a saved notepad, i should able to verify that the notepad ...
23
votes
5answers
38k views

Open source tools for automation of Java GUI application testing

The testing tools (or tools that could be used in testing purposes) for testing Java GUI application I know are: Jemmy - jemmy library contains methods to reproduce all user actions which can be ...
1
vote
2answers
55 views

Unable to click on “Add Payment Method” button on Google Pay site

I am trying to click on "Add payment method" button under Payment Methods tab using selenium - https://pay.google.com/gp/w/home/paymentmethods Tried using xpath, className and cssSelector but looks ...
0
votes
1answer
18 views

Element draged but not droped in destnation

//drag. WebElement From=driver.findElement(By.xpath("//div[@id='settings']//div[2]")); Thread.sleep(3000); // drop. WebElement To=driver.findElement(By....
0
votes
0answers
10 views

Issue with running Restsharp SpecFlow tests using MSTest via command line

I have created restsharp specflow tests using NUnit framework and I am using MSTest as a test runner in app.config file. I tried to run the tests via command line and it does not work - says the tests ...
0
votes
1answer
32 views

Problem with Selenium testing with Python [closed]

I am working on automating a website test using Selenium this website is dynamic so i can't use class names/ID's and names checking the HTML code i noticed there was only a class name so i looked into ...
3
votes
4answers
85 views

How do I do mobile testing for a website?

I have already created automated test cases using selenium and java for desktop web testing. Is there a way for me to run the same tests on my personal mobile? Searching on google I find resources ...
-1
votes
0answers
25 views

How and where to test conditional content using Cypress? [closed]

We are using Cypress for an end to end automation. On our product page, we show price of a product based on the user's city(location). We need to verify below test case. Is the right price shown for ...
-1
votes
1answer
22 views

What does it mean to instantiate Webdriver in Selenium? [closed]

WebDriver driver = new ChromeDriver(); Now, when we "instantiate" Webdriver and create a reference variable and then assign the object returned to it, then does it mean that we have a new Chrome ...
0
votes
1answer
97 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
131 views

Setting up an API Test Framework

I'm testing an API and I'm looking to define my payload using classes so that my program can then deserialize/serialize into any format(namely XML in my case). Below is an example of the payload <...
2
votes
1answer
40 views

Which AWS certification to pursue for a road towards becoming an SDET/test architect? [closed]

Should I go for an AWS certified Developer associate? Since I have good programming experience related to Test automation and want to move my career as a Test architect or tools and automation ...
0
votes
1answer
150 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
2answers
440 views

How to maximize browser window irrespective of windows versions

I have some scripts which are running on Firefox browser. Here the problem was I am using driver.manage().window().maximize(); code to maximize the browser. It is perfectly working fine with Windows 7 ...
2
votes
3answers
659 views

Android application not launching with Appium

I have downloaded the latest Appium Desktop to inspect the different elements for automating an app. I was able to launch the calculator app on my Android phone but was unable to launch an app that I ...
1
vote
2answers
74 views

REST Assured API | Why we use equalTo() while asserting body part of response?

When we assert our body part, we use the method equalTo() but while asserting for Header, we are just providing ("Key","value") pair only. Why can't we use just- body("scope","APP") Any specific ...
1
vote
3answers
13k views

Cucumber step definitions in .feature file not highlight

In my project, I create simple feature file in my maven project using cucumber syntax. but IntelliJ IDEA, not highlight steps in feature file and also I cant use ALT+ENTER key to create step ...
0
votes
1answer
31 views

Appium-based framework for testing desktop app (not web)

Anyone had experience in automating desktop applications (not web)? I need an Appium-like solution to integrate it with my mobile automation (written on Appium, Java). Our company has a messenger ...
6
votes
5answers
2k views

Is Cypress set to replace Selenium as the preferred tool for automating web applications? [closed]

I see many articles pointing out the effectiveness of Cypress as against Selenium for automating web applications. From most of the articles I've read, I see some points for Cypress such as: Cypress ...
0
votes
2answers
71 views

Assertion on static value or calculated one

This may be more of a theoretical question than a practical one, but I'd like to know the community's opinion. Some context: On some integration UI test, in which we are testing that a field ...
3
votes
2answers
451 views

How to interact with the radio button if isDisplayed, isEnables are false

Scenario: I am automating a feature where i need to click on the radiio button but after many attempts it didn't work. So I checked with isDisplayed, isEnabled and isSelected.Upon execution it was ...
1
vote
4answers
7k views

Protractor - jasmine; How to click submit button

Our dev has a submit button like this: <button _ngcontent-c6="" class="btn btn-block btn-primary mt-lg" type="submit">Login</button> I tried using: element(by.buttonText('#submit')); ...
2
votes
3answers
1k views

How to get Selenium 3.0.1 to work on a Mac with IntelliJ

I am using a Mac as well as IntelliJ. I am trying to update Selenium from 2.53 as the website I am testing has functions that no longer work with older versions of Firefox (version 46). I am trying to ...
0
votes
0answers
7 views

How to close/restart UFT in “Not responding” status with AOM script

I use a UFT project several times for performance test, and I use this AOM script to execute the test 100 iterations, to reduce the UFT load memory, the script will stop and run again UFT each 10 ...
3
votes
2answers
73 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
559 views

Running Junit test parallely with csv test data

I have a csv test data file with 50+ test data in it. I want my JUnit test to process these 50+ test data in parallel than serially. How can we do that? Is there a framework that can do that? Junit ...

1
2 3 4 5
64