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

As per wikipedia.org:

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.

There are two general approaches to test automation:

Code-driven testing. The public (usually) interfaces to classes, modules or libraries are tested with a variety of input arguments to validate that the results that are returned are correct.

Graphical user interface testing. A testing framework generates user interface events such as keystrokes and mouse clicks, and observes the changes that result in the user interface, to validate that the observable behavior of the program is correct.

The principle of automated testing is that there is a program (which could be a job stream) that runs the program being tested, feeding it the proper input, and checking the output against the output that was expected. Once the test suite is written, no human intervention is needed, either to run the program or to look to see if it worked; the test suite does all that, and somehow indicates whether the program's output was as expected.

Test Automation also has dedicated section in Software QA & Testing community.

13134 questions
3
votes
1 answer

Can I Automate pester Tests in Azure test plans?

So I am new to Azure Test plans and created few test cases. I wanted to link/associate my tests (written using pester) with the test cases in azure test plans. I saw many tutorials but it's all about Visual studio and c# tests - how to associate…
3
votes
2 answers

How to generate UUID in Robot Framework?

Is there a way to generate UUID of the following format in the robot framework? Can we use a similar python library e.g. UUID library? Format- 07464f5d-db6e-486e-bdfa-ad50b2ad8a92 fd61836f-5745-47c2-a9b1-b13335e11695
3
votes
1 answer

Django doesn't create test database when running test

I read in Django document that a blank database will be created for testing. I am new to Django so I barely changed anything in setting.py and currently using Sqlite database. However, when I run python manage.py test, Django keep telling the user…
UMR
  • 310
  • 4
  • 16
3
votes
0 answers

How can I optimize the end of done_testing in TAP and the evaluation of the results in a test in perl?

We have a project where we run a couple of tests with a duration of around 3 hours. And I have observed that a lot of minutes are lost in the step of generation the results. For example: I have this script harness.pl use strict; use…
nck
  • 1,673
  • 16
  • 40
3
votes
1 answer

Python logging does not log when used inside a Pytest fixture

I have a Pytest + Selenium project and I would like to use the logging module. However, when I set up logging in conftest.py like this @pytest.fixture(params=["chrome"], scope="class") def init_driver(request): start = datetime.now() …
Mate Mrše
  • 7,997
  • 10
  • 40
  • 77
3
votes
1 answer

Access Clipboard in TestCafe

How can I access the clipboard in TestCafe? I am unable to use the navigator.clipboard API since we run in headless chrome --allow-insecure. (This is not something I can change). Any ideas? Thank you!
butterup
  • 75
  • 4
3
votes
1 answer

How to run unittests of an android lib using ant?

I have an android lib project, and an android test project i've built in eclipse. Now i'm automating the process and i encounterred a problem when trying to run the tests using ant. When i run the "run-tests" target of the test project, It claims…
Adibe7
  • 3,469
  • 7
  • 30
  • 36
3
votes
1 answer

Plotting Graph in Jenkins for individual test case execution time for all the builds

I have to plot graphs in Jenkins which show the trend of builds comparing the test cases execution time. Suppose, every build has 2 test cases that are executed. I need to draw a graph in Jenkins which compares the execution time for the 1st test…
3
votes
1 answer

How to iterate over and test different child elements within an element in cypress?

So, I have the elements in the following structure: