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
6 views

Bypassing reCAPTCHA with CakePHP for automated testing

Given that reCAPTCHA is intended to stop robots and using Selenium WebDriver acts very much like a robot is there a mechanism with CakePHP to disable reCAPTCHA? This kind of testing bypass is ...
0
votes
0answers
19 views

verify current temp is not greater or less then temps from daily timeline

I have an assignment and I could not do something. I want to get current temperature from daily time line dark sky website and current temp is not greater or less than temps from daily time line. I ...
0
votes
0answers
5 views

Using Jest with Puppeteer : Evaluation failed: ReferenceError: cov_4kq3tptqc is not defined

I'm trying to get description of a page with Puppeteer, I have a high order function that provides the page object to this function : export const checkDescription = async page => { const ...
0
votes
0answers
15 views

Is it feasible to migrate from Jasmine/Karma to Jest?

I have an Angular 7 app with 3300+ tests. And they take too much time to run and too much effort to maintain. I've heard a lot of good things about Jest but, not sure if migrating all of those tests ...
0
votes
0answers
17 views

TFS test case execution order?

I wonder what determines test case execution order in TFS when running automated test cases, without a "ordered tests" implementation? See i have 5 automated test cases and they always run in the same ...
3
votes
1answer
32 views

Update TestCafe script execution status ( passed / failed ) in TestRail

I am trying to integrate TestRail with TestCafe in order to update the test script execution status on TestRail. I followed the below link but did not succeed https://www.npmjs.com/package/testcafe-...
1
vote
2answers
34 views

Extending a Cucumber step

I have a Cucumber step that looks like this: When I enter the credentials for the user and another that says When I enter the correct credentials for the user Corresponding step definitions are: @...
2
votes
0answers
24 views

No permissions to create screenshot directory when using docker image testcafe/testcafe

I'm using https://hub.docker.com/r/testcafe/testcafe/ to run our Testcafe project and it works except that on failure the screenshot directory cannot be created due to: Error: EACCES: permission ...
1
vote
1answer
16 views

selenium.interactions.Actions class for copy/cut/paste not working in chrome browser - Selenium Test Automation

I have to copy a object(text/shape) in my application and paste it to another area. In this case I have to paste irrespective to the webElement. So I can not use this - driver.findElement(By.id(""))....
1
vote
0answers
22 views

Open Browser does not work after updating to Katalon 6.0.5

I updated to Katalon 6.0.5 from 5.9.1 and when I wrote my new test case in the manual mode it is failing on the OpenBrowser method, I have attached a screenshot of my error below, which indicates the ...
0
votes
0answers
11 views

Generate Allure report faster when test results are too big

We are using Allure for the test report generation with TestNG as the framework. Initially the report generation was fast and easy. Once the test cases size grew to more than 25K, it's taking more ...
1
vote
2answers
51 views

Click radio button that is not visible

I have a radio button that has a non-visible input when inspecting element, this is what I see This is the HTML <rhr-radio-button element-id="criterion-type" model="$ctrl.criterion....
0
votes
0answers
20 views

Selenium WebDriver throws UnsupportedCommandException when uploading a file on Firefox

I get the following exception when uploading a file on Firefox: org.openqa.selenium.UnsupportedCommandException: POST /session/{sessionID}/file did not match a known command The code I write to ...
4
votes
1answer
50 views

How to make testcafe respect the `<base>` tag

My application at some point injects <base> tag into the website and after that creates a new <script> tag with relative src For example sets <base href="http://localhost:8080/chapters/...
1
vote
1answer
35 views

Python create an area screenshot

Is it possible in python to create an area screenshot like this example ? example import pyautogui def capture_current_scene(name_screenshot, i): im1= pyautogui.screenshot() im1.save(...
0
votes
1answer
22 views

Self Healing of Selectors in UI Automation

I am doing UI automation in JS where I am recognising object/element based on XPATH or CSS selector. Due to many unwanted reason - tests are getting failed due to change in XPATH at different ...
0
votes
0answers
11 views

Cloud Server Live Preview not working with Zalenium

Im trying to configure testingBot and BrowserStack on Zalenium and everything works fine except the Live Preview. When I am in the Live Preview of Zalenium I can only see the Live Preview of the ...
0
votes
0answers
9 views

Is there any way to control the naming of Build getting generated under the deployment folder in the Test Controller machine?

I am using Microsoft Test Controller-Test Agent setup along with Jenkins for running my functional automation tests. I have one Controller machine and two agent machines. When I triggered a new job in ...
1
vote
0answers
12 views

pytest conforms to naming convention but not collecting tests and results in no tests ran

Whenever I try to run pytest test_clientLogin.py, it results in collecting 0 items and no tests ran despite my module and method conforming to pytest default naming convention as far as I know. Am I ...
0
votes
1answer
26 views

How to do an automated UI test on a diagramming WPF application

Assume i have a WPF diagramming application like this example: https://www.codeproject.com/Articles/24681/WPF-Diagram-Designer-Part-4 How can I do an automated UI test for functions like: Inserting ...
3
votes
1answer
25 views

Using HTTPS with remoteConnection option

Is it possible to pass the --allow-insecure-localhost flag when using the remoteConnection option? My app needs to be over HTTPS and when using openssl-self-signed-certificate it doesn't work well. ...
1
vote
1answer
25 views

How do interact with a price-slider with 2 handle in Cypress?

now i can interact with price-slider but price filtration not impacted as attached - price-slider handle low - price-slider handle high , site : https://www.tajawal.ae/en/flights/DXB-RUH/2019-03-30/...
0
votes
0answers
22 views

React Test Utils vs Selenium WebDriver

We have used React JS for front end and we need to write end to end tests. After researching online, we came across 2 options : 1. Selenium WebDriver 2. React Test Utils (https://reactjs.org/docs/...
0
votes
2answers
17 views

How to upload apk file from local path to android emulator automatically in scripting(Appium)?

Currently my dev team integrated their repository with jenkins it's automatically generate apk once it build from jenkins is there anyway to install that local apk in android emulator using automation ...
1
vote
1answer
29 views

Ruby / Capybara - How to use a JQuery command in Capybara

I have the following JQuery script that are working in my Chrome console. However, it is not working when I use it in my Capybara test. What am I doing wrong? Script that works in my console $('#...
0
votes
1answer
57 views

Is it possible for WebDriver to click an element with a mouseclick event that invokes a JavaScript file that includes a test tracker?

This is a question I have that arises from another user's question. If you look at my answer there, you will get some context for this question. The URL for the web page I am going to is https://...
0
votes
0answers
19 views

Checking if contact form's works (automated testing)

I have a website with a contact formular. It's vital for my business, that I get all messages, that are being sent by this formular. And I've seen SOOO many examples of contact forms breaking due to ...
0
votes
1answer
39 views

Blank Allure report due to misconfigured pom.xml

I'm trying to use Allure - framework to generate a report for my Rest Assured tests. I run tests with mvn test -Dtest=${MyClass} command and all tests pass, and then generate a report using mvn allure:...
-3
votes
1answer
19 views

How do I write selenium code for e-commerce websites in which the availability of the searched product keeps changing? [closed]

I tried to automate amazon kindle site to order a book. The availability of book/any product keeps on changing based on the orders, hence my script will fail if the product goes sold out. How do I ...
0
votes
0answers
27 views

How to Mockup the Web API called from Controller

in Index action in MVC Controller I am calling Web API using HTTPClient as below ,I am testing Index Action , the question is How can I mockup calling the Web API ? public IActionResult Index() ...
0
votes
1answer
50 views

Rest API Testing org.springframework.http.converter.HttpMessageNotReadableException

I am trying to test two Rest API Endpoints , one is a get and another is a post. The idea is that the response body returned by the get response shall be the body of the post. Code that I am using: ...
0
votes
0answers
10 views

Calabash UI teting azure b2c page

I am trying to write automated test for our iOS app, and have no way of passig through the Azure B2C login. I've tried all suggested solutions from this question: Unable to access WebView elements ...
1
vote
1answer
28 views

Protractor's getText() method does not include text-transform done in a ::first-letter pseudoselector

Our QA team uses protractor 5.4.2 for feature / integration tests on an angular web app. Part of the app is receiving data from our API, then using just CSS applying a "sentence-case" class to it to ...
-2
votes
2answers
30 views

How can I sum up all the quantity values in a result table and compare the sum with a total value? [closed]

There is a web page http://sfs.gov.ua After I type "лист"(its ukrainian) in the search field and press submit button I receive a text message wich says "5536 results have been found in total" and a ...
0
votes
1answer
30 views

Appium ToggleWiFi in Simulator Stops the Test

I am trying to run few offline tests in Android based on ToggleWiFi, but but after turning of the WiFi appium is losing server connection. Is there any way to run tests offline in Appium Simulator by ...
0
votes
1answer
41 views

Click() is not working though there's no any error but element not opening up - (Cypress automation)

last one cy.get('[data-cy=impact-area-table]').contains(impactareas.name).should('be.visible').click({force: true}); is not working though there's no any error ,it shows that it's fine and test pass ...
1
vote
1answer
22 views

How to verify if a node in response body has unique value with postman?

The following is the response body of an API: [ { "exercise_num": "1", "expire_date": "2019-03-11T16:31:17.935Z", "created_at": "2019-03-15T11:44:35.698Z" }, { "exercise_num": "2", ...
0
votes
2answers
47 views

Test Laravel Controller's try catch

I'm using Laravel 5.7 and have this controller public function upload(Request $request) { $fileData = $request->getContent(); $fileName = uniqid().'.xlsx'; try { // save ...
2
votes
1answer
42 views

Page model imports

I'm writing tests using TestCafe and, as my page models grow, my imports are consuming a lot of space. So it would be good to have the imports in a concise way. Page Model 1: export ClassA {...} ...
0
votes
2answers
25 views

Unable to detrmine if a test failed in an after hook

I try to do some extra stuff when a test fails. This is the failing test: it 'fails' do expect(1213).to eq('123456') end Following code is added to the spec_helper: RSpec.configure do |...
1
vote
2answers
20 views

Specflow read Json response

Need to test GET that have Json as a response. I haven't found useful info in official documentation. Feature: API_Retrieving_Platforms As an authorized user... @mytag Scenario: Perform Get ...
0
votes
3answers
44 views

How to terminate Application with using Sikuli

How to terminate application with using Sikuli framework? Now I am using such construction to close It: App app = new App(pathToApplication); amm.open(); //some actions app.close(); But it's not ...
0
votes
0answers
14 views

Nightwatch.js doesn't end test after asser function

I have an account page with an address book section. I run some test like create and update an address and then in gherkin I have this command at the end: And I delete all the addresses In common-...
2
votes
1answer
38 views

Testcafe testing IE on Windows Agent

What should I do with this error? ERROR Unable to establish one or more of the specified browser connections. This can be caused by network issues or remote device failure. I got this error, when I ...
-1
votes
2answers
24 views

How to handle form in selenium which is coming while scrolling on webpage?

There is Form coming while scrolling, i need to send search data in that form and click on submit.
0
votes
1answer
32 views

Geb not pointing to right page after closing confirm dialog in new window

I am doing test automation with geb in groovy, curently dealing with scenario like: First, I am in parent window, from there I open new window and do some search there, Clicking on the search result ...
1
vote
1answer
19 views

What is a good usecase for using Continuous Integration & Continuous Deployment?

I went through several available resources for Continuous Integration (& continuous delivery and deployment) like : https://www.atlassian.com/continuous-delivery/principles/continuous-integration-...
0
votes
0answers
19 views

How to “Automatically” test my Entity without .vwf/.bdf files

I am writing in VHDL (at Quartus II Web Edition [Software v9.1 Service Pack 2]) for a project of mine and I encountered a problem. I have created a large decoder which I would like to test but not ...
0
votes
0answers
37 views

Key words for test case with pop-up message

I would like to writing a key words to the test where Upload a file on web page After I can get one of pop-up message: "Operation successful" or "Operation failed" When uploading file was finished ...
0
votes
1answer
20 views

How to click the visible: false button in capybara

I can able to get the element through page.find_button("Save", visible: :hidden, wait: 5) But i can't trigger a click page.find_button("Save", visible: :hidden, wait: 5).click Can anyone help?. ...

http://mssss.yulina-kosm.ru