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).
automated-tests
13,278
questions
0
votes
0
answers
12
views
Playwright Test runner struggles with clicking combobox elements and opening option lists. Inconsistent behaviour
Video1: https://drive.google.com/file/d/1BYTFZ5O_0dwTKAuS3siqiQseh8LcWYmH/view?usp=drive_link
Video2: https://drive.google.com/file/d/1fyBVhQM2brEAdgJQNeRcLRtJNfXGnNMq/view?usp=drive_link
Video3: ...
0
votes
0
answers
24
views
Problem accessing web elements using Cypress [closed]
I use Cypress and typescript. I ran into a problem.
The page has a form with a button and input fields.
Expected result: When you click the button, the input fields become available for editing.
...
0
votes
0
answers
8
views
Katalon Studio, Testcases disappear after pushing code and open other project
Recently, i made plenty changes and new testcases in my project. Then, i commited and pushed my code to my repository branch in Bitbucket. After that, i got some error like “Rejected bla bla bla”. But ...
0
votes
0
answers
15
views
How to Test Performance, Scalability, CPU, and Memory Consumption of Rule Engines (Drools, NRules, Easy Rules)?
I am trying to test the performance, scalability, CPU, and memory consumption of my rule engine. I am using Drools, NRules, and Easy Rules but I'm new to this and don't know where to start.
I haven't ...
0
votes
0
answers
13
views
Issue with tests generating (magento. mftf)
mftf is new experience for me and sry if this question is to lamer
When i execute the following command
vendor/bin/mftf generate:tests
the following result is appears:
Warning: DOMXPath::query(): ...
0
votes
1
answer
48
views
How can I test that the PHP code under test calls the proper method on a trait?
Edit: After reading one of the comments, I realized I misspoke pretty badly in the original post, I've made some edits to clarify. Essentially, I need to check the results but am struggling with that ...
0
votes
1
answer
37
views
Run some tests in serial mode and some in parallel in the same file Playwright
In this example I have 4 tests in the same spec file, and I want 2 of them to be executed in serial mode and the other 2 to be executed in parallel.
// a,b - to be executed in parallel mode
test("...
0
votes
0
answers
26
views
Is it feasible to run part of test cases parallelly and part of test cases sequentially at the same time in Playwright
I need to run my automation test suite on multiple workers to reduce execution time. There are a few test cases that use the same endpoint with different configurations. please refer the bellow ...
-1
votes
0
answers
36
views
Getting Error: 'NoneType' object has no attribute 'split' - When calling a def in another py file [closed]
I am working on a ROBOT Python Framework for test automation
I have this listener class 'TestStatusListener' after execution, which gets the count of Total,Passed,Failed,Skipped tests.
I have another ...
0
votes
1
answer
24
views
Is there any way to automate the check of Google Tag Manager tags and Data Layer values?
We manually check Google Tag Manager tags and Data Layer values on our website. I wonder if there is a way to automate it. If so, how can I do it?
I searched Google but cannot find proper answers to ...
0
votes
0
answers
21
views
WebdriverIO still logs me in even though the input value is null
I am trying to write a simple test using WebdriverIO on the SauceDemo website. When I insert valid authorization values in the inputs and then clear these inputs, it still somehow logs me in on a ...
1
vote
1
answer
41
views
Stuck on Running Tests
Does anyone knows why are my test not running? or visible not running?
I can see that "something" is happening, but after a while (1h or more...) nothing is shown besides:
[INFO] ------------...
1
vote
1
answer
34
views
api response in html. karate.readAsString() throws error when i try to save response
I am using karate framework, I am getting api response in html format and i am having trouble in verification
the response:-
<html>
<head><title>400 Request Header Or Cookie Too ...
-1
votes
1
answer
30
views
Proper use of "assert True" in Selenium Python
I have written a simple automated test to test the login functionality of a Web-based application. I have a question about the if clause at the bottom and the assert True statement within it. Is it ...
0
votes
0
answers
14
views
python selenium how can I create a personal class with atributes of webdriverWait? I need POLL_FREQUENCY so my test can run smoothly in every step
I have this class:
class LoginPage(WebDriverWait,BaseWait,BaseStep):
def __init__(self, driver):
super().__init__(driver)
self.driver = driver
And I need to inject the driver with ...
0
votes
0
answers
9
views
Microsoft Dynamics Finance and Operations - how to set up Regression Suite Automation Tool for non-admin users
I have set up one user on a single virtual machine with non-admin access to RSAT (Regression Suite Automation Tool) but I want to add additional users.
I have followed instructions at: https://learn....
0
votes
0
answers
50
views
Robot's key event locks the keyboard
I use the following event to escape a window's pop-up ("This page is ready for print. Would you like to ...") but it seems that the release event doesn't work. Once the test is finished, the ...
2
votes
1
answer
32
views
Cypress - How to iterate through the values of an environment variable and verify each item from the carousel list
I want to test whether the carousel on my website contains the correct items that are represented as company logos. Each carousel item has an <img> element with the 'alt' attribute which is ...
1
vote
0
answers
57
views
How to slowMo a single test
I would like to slow down the test execution of test step. I´m testing a container which has two tabs and each tab has different table with data. When I click on a tab, it takes time until data is ...
0
votes
2
answers
42
views
Selector for a button with no unique ID
I was writing test selectors for selenium in python for a website like Booking.com. For one example I had to automate selecting a button from a list of buttons. The format for the button is as under:
&...
0
votes
0
answers
23
views
Runing WebDriverIo Test on Electron Application in Dev Mode
I am trying to use wdio for my electron project, its working very well when running it on the build (release/win-unpacked/)
but when I set the configuration file to use it directly in dev mode
...
0
votes
1
answer
32
views
To find X path of the capital city of country but by using countries X path
Hi guys I want to find the X path of the capital city of the country by using the country.Help me in finding the X path. I have used independent and dependent X path but not able to find it.
Link of ...
-2
votes
0
answers
43
views
[Unreal 5.4]Gauntlet Test Unable to find "MyTest" test in assemblies
I am trying to use Gauntlet for a simple test like a helloworld kind of approach, i have setup a C++ testcontroller .cpp and .h and a HelloworldTest.cs also added Gauntlet in Build.cs file of my ...
2
votes
1
answer
36
views
Cypress - Page Load Fails despite loading correct JSON
I'm trying to learn Cypress. And I'm trying to intercept an API call and return a fixed JSOn response. It works correctly with all responses being sent, and the page loads in the IDE too but Cypress ...
0
votes
0
answers
17
views
PixiJS - I have to double click to open the Pause screen. Why is that?
In trying to find out why the pause menu opens when the pause button is double clicked instead of being clicked once. It’s a web application which I haven’t made and I’ve never worked with PixiJS.
I’...
2
votes
1
answer
89
views
How to create warning assertions in Playwright TypeScript tests for non-critical failures?
How to create warning assertions in Playwright TypeScript tests for non-critical failures?
I'm working on Playwright tests using TypeScript, and I need a way to handle assertions that throw warnings ...
0
votes
0
answers
23
views
Cypress - cannot select option in dropdown inside the iframe
I have a dropdown like below:
The panel with the options is displayed only when the user starts typing.
The DOM input element is defined as below:
<input _ngcontent-ng-c3697127439="" ...
-2
votes
0
answers
72
views
Assert a specific element is PRESENT within a specific div
Using a Playwright/Javascript framework, I am trying to validate a specific element "Draft project brief" card IS PRESENT within the specific "To Do" column.
Screenshot of webpage ...
0
votes
1
answer
45
views
Weird issues running tests parallely with Selenium, Java, TestNG
When i run my test (not parallel) everything works fine. But when i tried running same test twice there is alot of weird stuff going on. Either blank page or if one of them closes they both close and ...
0
votes
1
answer
25
views
Getting error highlighted in yellow in eclipse while automating post API through rest assured
[Getting error highlighted in yellow in eclipse while automating post API through rest assured]
package com.testautomation.apitesting;
import org.json.simple.JSONObject;
import org.testng.annotations....