Automated-tests Questions
Ad
Converting a home-brew test application to a standard unit test framework
I've got a lot of tests written for a piece of software (which is a great thing) but it was built essentially as a standalone test in c#. while
Selecting date in calendars on Nightwatch
I'm trying to select a date on my calendar and nightwatch can't seem to select it properly. what i'm trying to do is:
Chai - Assert that all elements in the array are equal to a given value with
I have this array of strings: [ "apple", "apple", "apple", "apple", "apple", "apple", ] is it possible to make
Testcafe ignore overlaying element
problem: cannot find canvas due to overlaying polyline that follows cursor position inside the canvas. target element: canvas
Is --inspect-brk debugger feature still enabled in TestCafe
Is the --inspect-brk debugger feature still enabled in testcafe?
Unable to find instrumentation target package firebase error
I'm writing an instrumentation test for my app in a separated empty project using uiautomator and androidjunit4 as runner. it runs well on my
"Firebase_VERSION is not defined: add -DFirebase_VERSION=... to the build invocation"
I am using fastlane plugin(aws_device_run_ios) to run the test in device farm in aws, but there some error appears when i run the fastlane
Flutter - how to test localized widgets?
I read the answer to this question, but it
How to configure debug Flutter integration test on Android Studio
I can run this command in the terminal to execute integration test on real device flutter drive --target=test_driver/app.dart
Displaying an error as "app " option required to reinstall while the appium program
I am getting exception while running appium program. please ask if extra information needed. tldr: original error: 'app'
Ad
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
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
Commits not uploaded to codecov
I have a python proyect on github named codecovtest. i have
Appium Test Android
Automating test using appium i am following this two tutorials
How to resolve the issue (testcafe-live not working) on tetscafe over @0.21.0
After upgrading testcafe version from 0.21 to 0.23 over, we encountered a problem that testcafe-live become not working. command.
StaleElementReferenceException after 15 elements in image gallery
I'm trying to get image links from my website, it has around 40 images and i'm using driver.find_elements_by_css_selector to get all
pytest-4.x.x: How to report SKIPPED tests like XFAILED?
When a test is xfailed the reason that is printed reports about test file, test class and test case, while the skipped test case reports only test
How .elements() works in nightwatch?
Considering i have multiple trs i want to pick one and edit value in it by clicking edit button bounded to it. i'm doing something like
automation tests execution on mobile devices
In order to address the question, i have to shortly brief you: i'm writing and running e2e-automated-tests in order to test our
Is there a way to call Variables file multiple times with different arguments and have it override the previous call?
I want to create a robot keywords file for deploying different pods to kubernetes. the configuration is chosen based on a parameter passed when
Appium server having an error detecting platform version when running tests
I'm trying to run the basic test script on the test app provided by appium. i am using a physical device (nexus 6p) with android version 8.1.0.
Ad
How to get a particular value when using karate.fork?
When we use karate.fork for cli command and need some information from there to be stored in a variable and using it in the next step. for
Node-sass doesn't have binding with node version which uses in TestCafe Docker Image
Initially, i faced the issue, that concurrency doesn't work in jenkins. i find
How can I inject parameters into a TestCafé test?
Scenario: i run testcafé wrapped in code, using the api i have a test i want to parameterize, testing with different
Protractor - SyntaxError: Unexpected identifier
I wrote some tests in protractor, but sadly i have little problem with import/export files. homepage.js
Add id to element in Flutter
The tester needs to have an id on flutter elements. i am looking at the documentation and this is what i found
Flutter driver Test Explorer
Is there a way to get some kind of flutter test explorer into the intellij ide? i am thinking of something like junit has in visual studio.
Integration testing a node.js socket.io server
I'm trying to set up a server to respond to socket.io clients using nodejs, express and socket.io. i want to write tests to probe the server and
Instrumentation run failed due to 'Process crashed.'
I wanted to run the following test: package com.xxx.yyy; import android.content.context; import
Need example of Robolectric with Mockito to write the unit test case
How to use with mocking (mockito) with robolectric can any one suggest me and i want to write the unit test cases for an api call also, i try with
Test the redirect page
I am using testcafe to test my application. i have a page on which there is a button. when i click the button the page redirects to another page
Pass custom screenshot consumer though json config
Hi, i use atata framework with extentreports, based on this project:
Ad
Unable to type text in a "Type to search dropdown" which is a react component using testcafe
Unable to type text in a "type to search dropdown" which is a react component. i am able to click on the component but unable to type any text in
check that user has sucessfully logged in with selenium in python
I'm writing a bunch of automated tests using selenium and one of the tests requires user authentication. after entering user's credentials (email
Function to build a line to retrieve data from json
I'm writing a function that takes arguments and add them to form a line to look for data in a json file. i've defined a variable for the
Got null root node from accessibility - UiAutomator
I'm getting the got null root node from accessibility - retrying... message from the uiautomator and i have no idea
Multiple runners in one file only yield results of the first
I am trying to use testcafe to automate my project's initial setup. in the middle of the setup, a post request that takes a long time has to be
TestCafe Error: "No tests to run. Either the test files contain no tests or the filter function is too restrictive"
I want to perform automated testing with testcafe, but i got this error while testing with the following command.
Pass the "Your connection is not private" page in Chromium
I encounter this problem when i try to do the testing with chromium and jest, but there is a problem that i cannot make the chromium instance to
TestCafe - Storing results of Selector in variable
So in order to test, that my searchresults are different depending on the keywords i put, i want to store the nodelist of the searchresults before
Can't find input element by xpath
I am trying to get an input element by xpath but the return statement is false. when i try to get the label, which is the only sibling of
how to pass the value returned by the fixture as a parameter to the function
I run the test like this: pytest -v testing.py --parameters=10,11,12 inside the fixture, i get the command line
Killing all the activities before running second test with Espresso on Android
I'm using cucumber and espresso. i have the following feature file: feature: from main to profile background: given user
Ad
Cypress - Can't type in field
I have problem with typing in one of my fields in automated test. i can't get this field but i don't know why. this is my code:
Pytest not selecting all tests from directory
I'm trying to set up a continious integration for my gitlab project for the first time and i am struggling to get the 'test' stage working. right
How should I do my automated tests of nodeJs APIs exploiting Neo4j database
Im currently working on several nodejs apis that do exploit a neo4j database. i want to do automated tests on each endpoints and make sure
How to run testcafe via node
I have theses two commands i use when testing with testcafe set selenium_server=http://xxx:4447/wd/hub testcafe selenium:"internet
TestCafé: How to use typeText without selector
I have two questions about the typetext function. according to the docs, i need two arguments: the selector and text to
Selenium (python) locating button relative to another div with Id
I need to click on the ok button on a page (html code snippet hereunder). the button itself does not have an id and its xpath changes. it can be
How can I follow Flutter UI Android Studio test execution on device?
I wrote a flutter widget plugin with user interface automated testing using android studio based on
Waiting for css property value in testcafe
I want to wait for an element to have a specific value in css property. to be more specific i'm making some functional tests using
How to verify if a node that might either contain a null or a string in the response body using Postman?
I need to verify whether a particular node in the response body of an api is null or a string. how is it done using chaijs in postman tests?
How to locate/click selector (button) using testcafe
I am trying to test the submission of an application using testcafe. however, i don’t seem to be able to get testcafe to click the ‘submit
testing input type date through laravel dusk
Trying to test following input element <input name="birthdate" id="#birthdate" class="input" type="date">
Ad
How to select a specific Tab position in Tab Layout using Espresso testing
I have a tab layout with view pager .i am using espresso for testing my android app. in my previous projects i use the tab
Multiple environment testing with jest
I have some environment variables in my react app placed in .env.development file, which change application logic and view, for
What are the benefits of using Chromeless and Puppeter Over Selenium?
We are looking to replace our selenium approach to automated web data collection and have been recommended puppeteer or chromeless. one
Why does the selenium function elementLocated in node.js throw an error only on Jenkins?
I'm using the function driver.wait(until.elementlocated()) below, written with node.js, as an explicit wait on my selenium tests to
What's the best way to learn JavaScript for OpenTest
I'm looking to get up to speed on javascript that is used by the opentest framework
Protractor: Dashboard filters not being selected
I'm using protractor to do some automated ui testing for my qlik dashboards. currently using
How i can get text from web element and print in console (for example)
I have a problem with getting a text from elements on a web page. i'm using testcafe e2e framework and want to print the contents of a text web
How to remove style properties in TestCafe
How can i remove css properties on client side using testcafe on a
How do i combine Selector with my Utility function?
While writing tests with testcafe i'm creating utility
How to test if multiple lines of code throw an exception in junit4 Java
I am writing a negative test for the method add(t elem, int index) of a class. the method is expected to throw
How to run unit test as jar file or exec file automatically on android device without using android studio
I have written unit test with appium which run successfully on android real device through android studio. now i want this unit test
Ad
How in the logs print line numbers which has errors using Try/Catch (Selenium WD + Java)?
@test public void test() throws exception { driver.navigate().to(someurl); thread.sleep(2000); try {
Pytest "run-around-tests" fixture to run only once before all tests in a class
I am testing the user message function of a web solution using pytest + selenium. the tests will generate a test message to a test user, and then
Web Application Testing for .Net (WatiN Test Recorder)
I've been using watin as a testing tool for my current project. besides the minor bugs with the test recorder, i've been able to use it and
Salesforce- JS path shows null
I copied the js patch and pasted it to the console which shows that the item is null. it is the same with the other fields.
Custom function in testcafe
So, i am trying to create a custom function that will allow me to check if a field contains a number or a text, but for further test i will need
Injecting CSS into site with Puppeteer
The site i'm running automated tests on with puppeteer displays info popups if actions were successful or when something failed. unfortunately,
How can I refresh a folder with Java code?
What i am trying to do: generate a test report after the test execution is done and then email it( i am using maven,
Nightwatch - How to determine if scroll top button has worked?
Anyone know how to check if a scroll top button has worked well and the current position of the scroll is 0 to top? i have tried a lot of
IntelliJ or Eclipse refactoring all usages of a method to a method on a different class/interface
Java class com.company.session.old.sessioncontext is used throughout our code base among other in the following way (around 1k
RequestLogger 'contains' method expected behavior
Working on an end-to-end test suite with the testcafe framework. i'm trying to implement assertions on requests url parameters, and
Cypress/VueJS Selecting Element that is dynamically added after another action
I'm testing a feature where a button appears for the user to click after they have taken another action. before taking the action i'm
Ad
Calling specific tests on Appium
Would it be possible in appium to make a script that calls/references specific tests (e.g test1, test4, test27) to run? so instead of moving files
Can Laravel Dusk test results be logged?
Dusk is providing individual logs for tests that returned failures / warnings in the console, but what i'm really after is one big log file or
Protractor, checking the target "_blank" of an element
I'm using cucumber with protractor for test my app. i have a problem when i try to check that the value of the attribute "target" of an element,
Laravel - assert not soft deleted? Inverse? - Laravel Tests
Laravels test suite has an assertion called $this->assertsoftdeleted() but is there the inverse? to assert
Selenium : How to send variable character strings through executeScript()
I need to do some automatic tests within system. some fields got validations, and it probably can't be done by just sendkeys (then
Build stuck due to background process in CircleCI
I have the following build configuration in my config.yml file for circleci: - run: name: start api
What to be Tested in Layered Dependency Injection
The relative question maybe like this one question.
node_modules is not recognized as an internal or external command
I'm trying to write a test automation script using appium, jasmine, and perfecto mobile. i'm using the project cloned from the following url with
TestFX working with popup
I have a scene in javafx in which there is a customtextfield with an autocomplete function. when user is typing a popup is opened
Selenium/Java: can I separate a Drag and Drop action in two actions belonging to two separate classes?
I'm aware this is kind of a weird thing to want to do, but right now i'm building a test project, and i separated the several areas/containers of
How to find the number of nodes returned in an API response using postman?
Suppose the following is the api response: { "content": [ { "id": 90008, "capacity": 2,
Ad
UI Testing UITableView cell count
I'm trying to verify that a table view has been filled with a certain number of cells in my ui test. here is my code:
How can I test broken images using Selenium IDE?
I saw an example in this site that it is possible to test broken
Skip Shopify Statistics/analytics Collection while running tests
I'm starting to code some in-browser automated tests for our shopify store, and i noticed that i've inadvertantly caused a massive traffic spike
Ad
Blog Categories
Ad