Questions tagged [automated-tests]

Test automation is the use of software to control the execution of tests, the comparison of actual outcomes to predicted outcomes, the setting up of test preconditions, and other test control and test reporting functions. Commonly, test automation involves automating a manual process already in place that uses a formalized testing process (wikipedia.org).

0
votes
0answers
8 views

Facebook\WebDriver\Exception\NoSuchElementException: no such element: Unable to locate element: {“method”:“link text”,“selector”:“Accept”}

I have this <li><a class="dropdown-item" href="{{route('user.invite_accept',[$user->id,1])}}">Accept</a></li> I tried this $browser2->driver->findElement(...
0
votes
0answers
15 views

Nock does not intercept call to 3rd party

I am trying to automate some REST services using SuperTest. The service is a POST call, which internally calls another third party service GET method. I am trying to mock third party services to ...
0
votes
0answers
10 views

My test stage in GitLab CI won't get picked up by the pipeline

I'm trying to have 2 types of tests run depending on why the pipeline is being run. On commits I'd like to run my build stage, and on merge requests I'd like to run my build and test stages. When I do ...
0
votes
1answer
13 views

How to create a Mongodb docker container without volume

I need to create a snapshot of a MongoDB in a specific state without volume, for auto-testing proposes. To be clear, I need all of the data saved on the container memory and persist, not using a ...
0
votes
1answer
13 views

Commits not uploaded to codecov

I have a python proyect on github named codecovtest. I have the .travis.yml file, which starts automatic test on travis-ci, on each push on github. The test passed on travis-ci. But the coverage ...
0
votes
0answers
7 views

How to change the css of testng reports?

Is there a way to change the css/customize the html of TestNG Reports (not programmatically)? I am using TestNG default reports.
1
vote
1answer
18 views

Access a global variable from within a ClientFunction

I would like to know if it's possible to access a variable from within a ClientFunction, or whether I should always pass required arguments in to it? I'm using TestCafe's ClientFunction to make a ...
0
votes
1answer
24 views

Get ResponseHeaders from website to Postman

I'm making requests to a site and I need a token, in RespondeHeader the token appears, but with all the requests I make, that token changes. How do I get the token value in Postman to make an ...
0
votes
0answers
11 views

Test if Android Soft Keyboard is shown after pressImeActionButton() with Expresso

I'm having a hard time writing an Android automated test. I´m assigning EditorInfo.IME_ACTION_DONE to an edit text dynamically so my goal is to check this two scenarios: The edit text has EditorInfo....
0
votes
0answers
24 views

Automate entering text into a field where editable field is defined in angular and my test framework is selenium webdriverio

I am trying to enter text into a field in a form. The action on the field is defined in angular and I am not able to locate editable object. . Here is my code piece: **Scenario**: When I enter "xyz" ...
0
votes
0answers
7 views

How can I test the upload of a file with Drag n' Drop using Behat?

I am testing several scenarios on Behat to check that the website is operating accurately. I would like to test the upload of a file using Drag and Drop and without a field to link the path of my file....
0
votes
0answers
14 views

Data Provider Mismatch while converting to POJO

I'm trying to read data from excel using apache POI and then using @DataProvider to pass the data to my tests. I have a POJO class to map the data from my excel. public class TestDataSet { private ...
0
votes
1answer
25 views

no such element: Unable to locate element: {“method”:“css selector”,“selector”:“body select[name='Accept']”}

I have this <li><a class="dropdown-item" href="{{route('user.invite_accept',[$user->id,1])}}">Accept</a></li> I am trying to click on it using laravel dusk I used select, ...
0
votes
0answers
12 views

wdio - Jenkins integration

I'm currently facing a problem with integrating Jenkins by using wdio which I couldn't solve so far. When I start the wdio configured job via Jenkins I get the following output: This is how I execute ...
1
vote
1answer
28 views

Unable to run TestNG due to java.lang.NoClassDefFoundError: org/testng/CommandLineArgs

After seting up TestNG in Intellj, I tried to run the Testcase thru the testng.xml file. But I received a -Exception in thread "main" java.lang.NoClassDefFoundError: org/testng/CommandLineArgs- error ...
0
votes
1answer
23 views

Monitor console output of websites in Cypress.io

I am using Cypress.io to test our new application (Node, React), but I would like to be able to monitor and check the console.log output of the website for any errors that are not explicitly captured ...
2
votes
0answers
20 views

How do I capture the entire screen in Selenium when page has left and right scrolls

I have a Selenium-Java based Automation testing framework and I need to capture the entire screen when linking screenshots to reports. The page is long and wide and has both horizontal and vertical ...
0
votes
1answer
12 views

Failing the whole Test Suite if one Test Case fails while running dependent test through VSTS

I have dependent test cases in my suite. If my first test fails it marks all other test as fail as well. So at the end it show that all all the test cases has failed which is not true. Is there a way ...
0
votes
1answer
46 views

Is there a way to delete json files produced by protractor cucumber on Jenkins when using protractor flake?

I'm running protractor flake on Jenkins for automation testing using the framework protractor cucumber. Each time the tests run, a json is outputted. Is there a way to delete the old json output or a ...
1
vote
1answer
24 views

Confusion on where the .testcaferc.json should live

According to the TestCafe documentation (https://devexpress.github.io/testcafe/documentation/using-testcafe/configuration-file.html), the .testcaferc.json file should be located "in the directory from ...
0
votes
0answers
3 views

Visual Studio Test Explorer DataRow - Get Results in Realtime

Is it possible to setup VS to show me the test results for a method that gets executed multiple times via the DataRow attribute, as it is running the executions, rather than waiting until the end. ...
1
vote
0answers
19 views

Is there a standard way to automate testing of typescript compile-time constructs like mapped-types?

Say we're trying to implement the Pick mapped-type: type Pick<T, K extends keyof T> = { [P in K]: T[P]; }; We should expect that any type built from this conforms to some typescript ...
0
votes
0answers
11 views

Facebook\WebDriver\Exception\NoSuchElementException: no such element: Unable to locate element

I have this code @forelse($companies as $company) <div class="custom-control custom-radio"> <div class="form-check"> <input ...
0
votes
1answer
41 views

Failed loading config.ts due to import protractor

I am trying to start a new protractor project to test an angular site. I installed node.js, typescript, protractor globally and jasmine. I go to the project folder and do webdriver-manager update. ...
0
votes
1answer
15 views

Zerocode: Set system property in host configuration file

Configuration: zerocode-tdd.1.3.2 ${host} At runtime, system property set with -D java option. All is well. Problem / What I Need: At unit test time, system property not set, and host not resolved. ...
3
votes
1answer
54 views

TestCafe - How can I determine the mouse cursor (pointer) shape when over certain HTML elements

I am trying to write a TestCafe functional test around drag and drop. I already have drag and drop working and I am trying to test the source/target functionality by trying to drag an element onto a ...
0
votes
1answer
14 views

How to read contents off a zip file from google cloud storage (GCS) in Postman javascript

In postman response, the output is a URL that contains a https link to google cloud storage which contains a zip folder. This . zip folder contains an excel and a pdf file. I am looking for one of ...
2
votes
1answer
39 views

Can we combine css selectors and react selectors in TestCafe?

I am currently working in react based application and I want to click on the element which is the combination of react selector and CSS selectors. const app_ui = ReactSelector("AppUi") const tmp = ...
0
votes
1answer
25 views

Facebook\WebDriver\Exception\ElementNotVisibleException: element not interactable

I have to test using dusk and I have this tag for 3 times <div class="form-group"> <input type="email" name="email[]" class="form-control" placeholder="Enter teammate's email"> </...
1
vote
0answers
22 views

Can I run multiple integration tests with one single config file in Flutter?

I am trying to write Flutter integration tests and to run them all with one config file instead of making config file for every single test. Is there any way to do that? For now I have login.dart ...
0
votes
0answers
21 views

Automated models selection in r. Do I need a loop?

I am Trying to compute multiple GLM models in r with a response variable and 10 explanatory variables coming from 73 potential explanatory variables. Basically, I want to find which are the 10 best ...
0
votes
1answer
13 views

Postman polling for a limited number of times before failing a test and moving to next request

I am writing a test for an Async GET request. This test needs to retry every 5 seconds for up to 120 seconds before it fails and moves on to the next request. At the moment as a quick fix, I keep ...
0
votes
0answers
16 views

Automation call using curl - Jmeter

Good afternoon people! How do I add a call in Curler in Jmeter to get my header to use in tests later? Which element of test? HTTP request same? can you help me? Follow the curl: curl -X POST -vu ...
0
votes
0answers
28 views

SourceCodeListener - How may I find the code block which is indicating the changes and the file which is changed when GitLab is updated?

I would like to develop a project in my test automation project about if any changes occur in source code of the application, the xpaths which is changed in test automation will be managed. Because of ...
0
votes
1answer
37 views

How to fix “Cannot find module 'fs-extra' - error” When deploying cypress files into jenkins?

I am using plugins in cypress and referred to https://docs.cypress.io/api/plugins/configuration-api.html#Usage. When we deploy them into jenkins, I am getting `pluginsFile` is set to `/e2e/cypress/...
0
votes
1answer
27 views

error: Message: element click intercepted:

I have a code, my problem - error, when I starting code. What's wrong ? from selenium import webdriver driver = webdriver.Chrome('D:\webdriver firefox\chromedriver.exe') driver.get('https://fs2....
0
votes
1answer
20 views

Dropdown with checkbox, need to select and unselect checkbox with select function and get the associated value using selenium

For my project, I have a drop down containing different check boxes. Some of the check boxes are selected by default. I want to select and unselect check boxes, get the text value and validate whether ...
1
vote
2answers
35 views

simpli get view from custom view in esspresso android

I have a Custom component in android with this layout. <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/mainLayout"...
0
votes
0answers
21 views

Generate a dashboard using the Report files generated from protractor-screenshoter-plugin

I'm trying to achieve Dashboard using the html reports generated by Continuous Testing using Protractor. In my Docker file i have used protractor-screenshoter-plugin which gets installed by default. ...
-2
votes
0answers
13 views

Is there a tool to enforce HTML elements, that handle user interaction, to have ids (for future auto-testing)? [on hold]

We are developing a web application using HTML (React), our devs often forget to put id attribute on the elements which will be used in auto-tests. I.E. if a div element is clickable - it should have ...
0
votes
0answers
14 views

Is it possible to run breadth first instead of depth first in tox?

I have a suite of small tests that take about 40 seconds in total to run, and I have a suite of medium tests that take about 40 minutes in total to run. I would love the ordering to run like this: ...
2
votes
1answer
44 views

How to run tox -e myenv against other environments?

Is it possible in tox to have tox -e hello trigger the hello environment and run on the global envlist? Running tox runs correctly against py2 and py3. Running tox -e hello only runs against py3. [...
3
votes
1answer
61 views

Not able to assert H1 text

I am trying to write something to check that "About Us" exist on the following page: https://www.aggrowth.com/en-us/about-us and I am just hitting a wall. It shouldn't be difficult, but I have spent ...
0
votes
1answer
24 views

In AVA How can I import a variable from a test file to another test file

I am using AVA for testing. I have 2 files. In file1.spec.js, I am creating a user, and once the user is created a userId is generated and returned. I need this userId in file2.spec.js to test some ...
0
votes
0answers
25 views

Possible to create instances on the AWS cloud which have access to Chrome Browser?

Currently I'm looking to run my automation tests within the AWS cloud using technologies such as Selenium Webdriver, Java, Apache Maven etc. I need to run my automated tests on specific instances ...
0
votes
0answers
20 views

Keyboard is not present error on running Appium selenium script

macOS Mojave 10.14.4 Appium Desktop 1.13.0 selenium-java 3.141.59 testng 6.14.3 java-client 6.1.0 when the element properties are checked in Appium desktop the attribute visible is false, although it ...
0
votes
0answers
9 views

Run BDD and JUnit Tests in Android by command line

I have to kind of tests on my project android.support.test.runner.AndroidJUnitRunner for Unit tests and com.app.test.Instrumentation for BDD cucumber tests. To run on Android Studio both are on the ...
2
votes
0answers
45 views

Writing automated test cases for electron app build with electron react boilerplate

I have just started to build a cross-platform app with electron along with react for that purpose, I have used electron react boilerplate for simplicity and set the standard to my app. Where i face ...
2
votes
1answer
42 views

I have problem in using the drag function in testcafe

I am using testcafe for my end to end testing. I am currently testing my slider component and use the drag function, but for some reason it is not moving even though it shows the cursor moving. This ...
0
votes
1answer
32 views

Relative Xpath Not Work In Maven TestNg But Absolute Path Works

Before installing/using Maven plugins, all absolute & relative paths worked in testNG. But After using maven, Relative Xpath not worked. Even I tried by my own Relative Xpath but not worked. I ...

http://mssss.yulina-kosm.ru