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,286
questions
0
votes
0
answers
17
views
how do I launch a VS Code extension during automated test, without a command?
how do I launch a VS Code extension during automated test, without a command?
framework: @vscode/test-electron
as a user it is launched by clicking the icon in the VS Code Extensions sidebar
I could ...
0
votes
0
answers
13
views
Postman validation_error
I have some interesting problem with my postman test.
At one point, an error with code 400 ruins everything, namely, with the requirement of variables - first_par and sec_par, but the system does not ...
0
votes
2
answers
57
views
How do I call a function in cypress.io for E2E test automation?
I am in a QA bootcamp (Coding Temple) and I am working on an assignment where we take pseudo code and turn it into an automated test using javaScript functions in cypress. However, I just cannot get ...
0
votes
1
answer
31
views
Hooks for specific scenario
My SpecFlow automation scripts perform test on web applications. Web browser will be launched and user name and password will be entered to login and then the test continues.
In my hooks class,
The [...
0
votes
0
answers
15
views
How to restart Electron application for each test case in WebDriverIO?
I'm working on a test suite using WebDriverIO for testing an Electron application. In my spec file, I have multiple test cases (it blocks) that need to run independently, but I need to restart the ...
0
votes
1
answer
75
views
Unable to connect http://127.0.0.1:4723/ on start of Appium
Unable to connect http://127.0.0.1:4723/ on start of Appium.
I want to use Appium Tizen TV Driver to automate the testing of appium-tizen-tv. And for that I am using https://www.npmjs.com/package/...
0
votes
0
answers
15
views
Android Appium - WebDriver exception while having explicit wait
I am doing mobile testing using java, selenium, cucumber and junit frameworks, i have a feature file having 2 scenarios positive and negative, my code runs the positive scenario very well, but the ...
0
votes
1
answer
29
views
Paralell tests failing in TestNG
I'm working on automation project and i need to run tests in paralell using testNG. When i run only one instance everything is working fine but when ran like this:
@Test(invocationCount = 3, ...
0
votes
1
answer
46
views
Using cli parameter in python.mark.parametrized
I need to use the parameter --license from run cli command to exclude the executing of some test cases.
I wanted to use mark.skipif condition but how can there be called the value of --license?
I ...
1
vote
1
answer
66
views
How to ignore and hide certain console warning in Playwright UI
When I run tests on our web app in the Playwright UI, the console gets completely cluttered by this message:
"Third-party cookie will be blocked. Learn more in the Issues tab."
I am aware ...
0
votes
1
answer
40
views
Is it possible to execute a test case that passes solely when the Test Setup is executed?
I have added the following two Keywords to my Test Setup:
Test Setup Navigate to Home Page Home Page Card Is Visible
I navigate to the Home Page and verify that the Home Page Card is visible at ...
0
votes
1
answer
36
views
Laravel dusk no test found if i rename the file
When I try to use dusk it works fine but if I rename the file from ExampleTest.php to something else it will return:
INFO NO Test Found
I tried to rename the test file and somehow it won't work. If ...
0
votes
0
answers
30
views
Why test cases fail in Jenkins with null pointer exception though it runs successfully on local
Test case execution failure on Jenkins Node. Testcases are written in Java using Junit. My webpage is not loading. The web app and backend is running successfully on Jenkins machine, but still it ...
0
votes
1
answer
78
views
How to add client certificate (.pfx or .cer + .key) in API-request in Java (Rest assured)
I'm trying to write my first autotests in Java + Rest Assured.
Unfortunately, one of the modules I'm working with requires a client certificate for correct request :) I have the certificate source in ....
0
votes
0
answers
28
views
Branch code coverage is not 100% for code with async/await
When writing tests in my project, I came across the fact that the code coverage in the branch column is not 100%. Using NODE_V8_COVERAGE=v8_coverage I found a place that is not covered by the test, ...