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).

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

Is there any way to retrieve JSON data via a variable in Cypress?

In JS, if I want to retrieve data in JSON by my own variable, I can use obj[id] as below. // In JS const id = 'name' const obj = { name: 'John', age: 5 } console.log(obj['name']); --> ...
Anh's user avatar
  • 13
0 votes
0 answers
26 views

Flutter driver : driver.getText() why not found text, type and key in page?

This is automated test code import 'package:flutter_driver/flutter_driver.dart'; import 'package:test/test.dart'; void main() { group('Test scenario', () { late FlutterDriver driver; ...
Tankun Prukesapitak's user avatar
0 votes
0 answers
6 views

Test automation - WinAppDriver impossible to interact for more than 1 second with telerik RadComboBox

I'm using WinAppDriver and Appium to automate a desktop app tests. I'm facing an issue when the automated testing robot is clicking on a wpf telerik radcombobox. The drop-down list is well displayed ...
Chictabac's user avatar
1 vote
0 answers
18 views

How to get the current test configuration in ginkgo

Say I am runing a test suites, is there a way to get the information of the current test that's running, for example, its labels or its text? my use case is as follows: I have a test suite which ...
5h3re3n's user avatar
  • 127
0 votes
1 answer
17 views

Business message validation in FIX API

I'm in the process of applying a new test approach for FIX message validation. It was decided to create each test case per message which verifies valid, invalid, and malformed data in the field. We ...
Alex Lyovochkin's user avatar
0 votes
0 answers
30 views

Unit testing private methods

Several questions, such as Should I test private methods or only public ones? seem to encourage testing private methods through the public interfaces because: You test the private methods, by writing ...
Duarte Arribas's user avatar
0 votes
0 answers
8 views

Call to odyx what id parameter

Does anybody use odyx and test automation together. While we have setup everything from projects and added testcases we don't find the correct testcaseid for in the call: tr/auto?tc=TESTCASEID&u=...
steve's user avatar
  • 483
0 votes
1 answer
26 views

How to inspect Flutter website in Browser

I am trying to inspect the Flutter website to add automation on it using Python. This website is available for Android, iOS & also on Web. Now trying to inspect the website, but not able to select ...
ankushlokhande's user avatar
1 vote
1 answer
29 views

Downloading PDF in Selenium 4 Firefox opens a new tab

I am trying to change the version of a Selenium Project from 3 to 4. The issue that I am facing is that after downloading a PDF using Firefox, the PDF is opened in a new tab, and I do not wish for ...
WarzoneSpecialist's user avatar
1 vote
0 answers
7 views

How to round up Buffer result to 2 decimal places with TOSCA automation?

I have to verify a number is equal to the result of multiplying 2 other numbers. Number to verify is "19.91" and the multiplication result is "19.905". I need to find a way to ...
Naz's user avatar
  • 11
-1 votes
2 answers
44 views

How to get the unformatted value of a json response

When I get the id of the Create User call response and log it on the Create User. Create a User Call ... ${response_body} Convert String To Json ${response.content} Set Test ...
Christian Dayao Corp's user avatar
0 votes
0 answers
40 views

Playwright Cannot read properties of null [closed]

Im running a test on playwright, where basically registers a new element, the problem is when i do this manually it works fine, aparently, but then, when i try by using playwright goes trough every ...
Invitado96's user avatar
0 votes
1 answer
12 views

Cypress can't identify attributes of a Chakra UI element

I'm trying to use Cypress to test that a Chakra UI Heading element has the correct text and styling. I'm getting a passing test when I assert what the text should be, but I can't seem to get Cypress ...
Dan Gray's user avatar
0 votes
1 answer
36 views

Get Value From JSON using JSONPath returning null

Newbie here: I'm trying to get the id from the response body of a POST call. POST is successful but when I try to get the id and log it, it returns null. I think I'm simply missing a minor thing but ...
Christian Dayao Corp's user avatar
-1 votes
1 answer
35 views

Program cannot read the lines of code in an open-source library file

lines of code complete question Question A program that expects exactly one command-line argument, the name (or path) of a Python file, and outputs the number of lines of code in that file, excluding ...
Abhisehk_lp's user avatar
0 votes
0 answers
11 views

Pyautogui can not interate with "User-Consent" dialog

i encountered a Windows automation problem. Background: I need to automated the vPro remote desktop E2E flow,the target PC will pops up a "User-Consent" dialog to choose if connect. I try to ...
GaviZ's user avatar
  • 1
0 votes
1 answer
18 views

XCUITestcode in Stable Branch?

I have question around best practices. Where should XCUItest live ? "Stable" branch is what goes to app stores. Is it wrong for test to live in stable branch ? Will the presence of XCUITest ...
khushi's user avatar
  • 25
0 votes
0 answers
22 views

Execute an async function before scenario triggers on codeceptjs

I am wanting to run a async function which will fetch the data for testing. This data is then passed to Data() hook in codeceptjs. I have tried hooks and event listeners like "Before(), ...
Lakshit Kothari's user avatar
-1 votes
0 answers
20 views

How do install the playwright in the pycharm?

I use Playwright in the leather pycharm for test automation. When I try to install the Playwright package in the tool terminal, it gives an error message that it does not exist, but a previous layer ...
alireza teymory's user avatar
-4 votes
1 answer
44 views

I am getting no-module-found error in Robot framework

Even after installing robotframework and robotframework-seleniumlibrary libraries it is showing no module found error. If i do pip list i can see the library listed. Unresolved library: ...
Milan Singh's user avatar
-1 votes
0 answers
13 views

Azure pipeline not running testng.xml for testing (Shows no details about the test run) No errors encountered

So I'm doing automation testing for a web application using java, selenium, testNg and maven. Everything works as intended in my local, for example triggering test using testng.xml file or even ...
Dave Marasigan Cheever's user avatar
0 votes
1 answer
30 views

Access to a document in a frame. Frontend Test Automation

In the test case, you need to fill input[id="card"], which is located inside the iframe. You must use Playwright. In Playwright documentation there is a frame() method that returns an iframe ...
Aleksei Skvortsov's user avatar
0 votes
1 answer
14 views

Looking for a report that can be emailed for an automated testing suite run on WebdriverIO Selenium in Jenkins

I have a local suite of automated tests I'm running on a local Jenkins instance. I want to output an automated report of the builds that can be attached to emails in Jenkins. Allure Reporting won't ...
Seán's user avatar
  • 21
-2 votes
0 answers
31 views

AttributeError: 'Test' object has no attribute 'driver

My test is failing due to driver not being referenced. I'm not sure how to resolve this one. Error: self = <tests.test_info_tab.TestInfoTab object at 0x105fa6460> @pytest.fixture() def ...
Dennis Nguyen's user avatar
0 votes
1 answer
20 views

Selenium for WORD plugin

I have a plugin that I developed for Microsoft WORD. I need to write automation tests on it to test it. Can I use Selenium to write the tests? If so, how? And if Selenium does not support such tests, ...
s.l's user avatar
  • 15
0 votes
0 answers
11 views

How to maintain user specific values to be used in test cases at workspace level in Tosca?

My requirement is to maintain user specific values like username, password, time zone etc. at workspace level so that users can set it up in their own workspace. If I use Test Configuration Parameters,...
Tharun Boppana's user avatar
-3 votes
1 answer
37 views

cypress - github actions does not run all cases [closed]

I have a cypress project. I am using typescript and cucumber in this project. I uploaded my project to github and wanted to run my scripts with github action. Github action only runs the first case in ...
Ali Akyürek's user avatar
0 votes
0 answers
39 views

set the path of log,output,report and screenshots file to customized location

I am using robot framework with selenium library. I want to set the path of log,output,report and screenshots file to my customized location in my robot framework project. without use bash robot ...
Mobin Nikrou's user avatar
-1 votes
0 answers
8 views

is this task can possible to do

"the task is we have jira and there is a issue created on that it is a manual test case. and we have automation test script written with selenium framework also for automation testing. our ...
Jayani Nirupama's user avatar
-1 votes
0 answers
48 views

How to capture screenshot after pytest failure?

I'm receiving the following error when I try to capture a screenshot after a failure with pytest. _________________________________________________________________________________________ ERROR at ...
Dennis Nguyen's user avatar
1 vote
1 answer
28 views

I'm having trouble configuring Cypress for component testing on my Vite app

I'm trying to configure Cypress for component testing on a Vite app that I recently completed. Unfortunately, Cypress is looking for the vite.config.js in the root folder of the app instead of the ...
Dan Gray's user avatar
1 vote
0 answers
30 views

How to run browser with extensions in GitLab using Selenium?

I'm a little bit confused with running Selenium tests in Gitlab. I need the browser to launch with the extension that my company uses to log in to the web resource being tested. I tried options....
silenthelium's user avatar
0 votes
0 answers
11 views

How to save images witch Dialogflow and N8N

I have a project, and I need to save the images that the user sends me via WhatsApp. The context of the project is that my "robot" prompts the user to send me a photo of a document, and I ...
VINICIUS DA ROZA KIRINUS's user avatar
0 votes
0 answers
15 views

Trigger Cucumber BDD tests within an android app when I click a button from the app

I have an app built for testing to trigger tests from within the app its for a specific use case can't be done other way. I need to run the tests using BDD. This app calls some api from a library ...
aforz's user avatar
  • 1
0 votes
1 answer
30 views

How to find Element hidden in Cross-Origin Iframe

Please, I need help to click on the Accept cookies of https://www.screwfix.com that appeared on the launch of Chrome browser. I discovered through the Selector hub that the element is inside a cross-...
Papykay's user avatar
0 votes
0 answers
23 views

facing an error in cucumber framework : Failed to instantiate class

and here is below the code of XML files where all dependencies and plugin there <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4....
Bhoomi Bhavsar's user avatar
0 votes
0 answers
11 views

Running cucumber BDD in GCP for Dataproc spark job testing

Currently my BDD is running on On-premise Hadoop cluster where it establishes JDBC connection and runs BDDs. Following are the steps done through BDD. Insert required data in Hive and Hbase tables ...
Raghu K's user avatar
  • 57
0 votes
1 answer
28 views

How can i set the path where my log files are stored while running the testcase in robot framework in pycharm?

The project structure is shown in the image. enter image description here when i run the test, robot framework by default is storing the output files at the folder shown by the white circle. But I ...
Shiv Matliwala's user avatar
0 votes
0 answers
17 views

Blacklisting header in Allure Rest Assured

I'm currently working with Allure reports to capture the results of my Rest Assured tests, and I've encountered a challenge. Specifically, I'm having trouble filtering or blacklisting the header ...
Shrikant Joshi's user avatar
0 votes
1 answer
28 views

For CI/CD (Github Actions) end to end tests, should you have a whole docker-compose setup (including database migrations)?

I'm trying to ask what is the best practice for automatic (ci/cd) end to end tests in web apps? To be honest, I'm not sure what is the best approach for CI/CD end to end tests with playwright, node/...
importTurtle's user avatar
0 votes
2 answers
39 views

Cypress doesn't redirect to logged in page after external auth redirect

After submitting login details, user is redirected to an external authentication service and then should redirect to login page. Cypress test redirects to auth service corrently, but then redirects ...
Triinu86's user avatar
0 votes
2 answers
50 views

How to scroll to the very top of the page in Cypress [duplicate]

I am trying to fetch an api and mock data with my own data on search. Below is my cypress code. In my UI, there is a searchbox at the near top of the page below app header bar. The problem is after ...
Demo Guy's user avatar
0 votes
1 answer
23 views

Cypress - Assign, modify and Accessing variables over function. Variables reset to original value [duplicate]

In the below piece of code, variables a and b are reset to original values rather than values assigned in between. let a = 'abc'; let z = 'def'; cy.wrap($node).find(#someElementA).invoke('text').then((...
Ronnie's user avatar
  • 501
-3 votes
1 answer
37 views

How to provoke button click on web page from integration test

Our backend is thoroughly tested with unit tests. Now we need to pull all the pieces together with integration tests. I see lots of examples for how to "get" a page, but none for how to ...
BWhite's user avatar
  • 709
0 votes
0 answers
22 views

Accessing shadow-root in selenium causing org.openqa.selenium.JavascriptException: javascript error: circular reference

I'm implementing automated tests and I have a web page with a shadow-root that I need to access I'm trying to do that by using this code: val shadowHost = Browser.findElement(By.id("editor_1"...
Umer Shahzad Dar's user avatar
1 vote
1 answer
22 views

How to handle Send and Download (as in postman) using Karate framework

I have a rest API that will download an excel file (xlsx) on click of Send and Download in postman. I'm trying to automate this API using Karate framework. Can this be achieved? The API returns a pre ...
Sanjeevan Chandrashekaran's user avatar
0 votes
0 answers
20 views

RobotFramework: troubles typing some fields

How can I type numbers using an Android keyboard instead of using the Input Text "Field"? I'm expecting that it's possible to simulate keyboard pressing. Asking this because I've had some ...
BarnabasTharmr's user avatar
0 votes
1 answer
35 views

Cypress - Intercept Identical API Calls with different payload

I have two identical API requests but different payloads. For example Request URL: http://localhost:8000/getdata/ Request Method: POST Request body: { dataCategory:"Hardware" } Request ...
Ronnie's user avatar
  • 501
0 votes
0 answers
18 views

Close.app() does not work. App keeps running onto next test without closing the app

I am doing basic automation testing for my company. I am a novice so the code is not the greatest. I am doing a login scenario, and then the next test I want to be doing something else with the ...
Christian Fortin's user avatar
0 votes
2 answers
70 views

Trying to test using Python Selenium - Error seen in the console

I'm beginner, so I don't understand the reason this type of errors: Traceback (most recent call last): File "C:\Users\kerem\PycharmProjects\pythonProject\main.py", line 5, in <module>...
Denis Malanichev's user avatar

1
2 3 4 5
263