I use TestCafe to automate testing a specific function. In this function, the user is only allowed to have 5 entries. On the site is a label that indicates how many entries are left.  When the user already has 5 entries it should delete one in order...
So I have created a js array for a list of postcodes. The array is as below in the code: -  //postcode.js file var postcode = [     "b28 8ND",      "b49 6BD",      "b28 0ST",      "b31 4SU",     "B92 9AH", ];...
I'm trying to write a script that needs to adapt it's workflow behavior depending on whether a particular browser object found by CSS selector exists or does not exist.  I do not want to use a document.getElementByID method as this is not tec...
I am using Testcafe (free version) with Java Script. I want to run all my test cases (resides in multiple test scripts in __test__ directory) in a single browser instance (That way 1 time log in) per browser type.    For example, 1 instance for chrom...
I'm trying to write TestCafe Javascript to test a webpage using the keyboard as sole navigation (i.e. 'tabbing through the options').   TestCafe runs these tests, but they run extremely fast (5 seconds max), and nothing happens on the scr...
I'm writing some authorization/role based front-end end to end tests using testcafe and need to ensure certain menu elements are not showing (negative case assertion) and cannot figure out how to assert that a selector does not match.  I have tri...
Read JSON response  1) When I visit this URL 'http:example.com/fruits', it hits an endpoint 'http:example.com/v1/collections/fruits' and I see JSON in the browser network response:  {    "total":3,    "page":1,    "...
I have a large number of tests that I kicked off and ran last night before leaving work. I left them running over night. Our testing platform is TestCafe/Atom/Node.JS. We do not yet have a reporting system in place so whatever runs, the results are r...
I want to do some action in case Selector('#particularButton-view').exists is true and some other action in case is false.  The problem is that it doesn't return a boolean. It returns some object. It's made to be used like this:  test...
I have a table with multiple rows. I need to be able to find a column with specific text and then click that row's delete button.  I am able to find the row by its userName, but when I try to say "click its delete button", it complains th...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.