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

Coded UI WebTest, typed characters are sometimes omitted in edit fields

** POST UPDATED ** For our system and integration tests on a Microsoft Dynamics environment, we are using Visual Studio 2010 Coded UI. I am an unexperienced user of Visual Studio, but have experience with test automation. Whenever the…
AutomatedChaos
  • 7,267
  • 2
  • 27
  • 47
3
votes
2 answers

KIF Framework for iOS: Can it simulate touch-and-hold gesture?

How do I simulate a touch-and-hold step on a view using the KIF-framework for iOS
memmons
  • 40,222
  • 21
  • 149
  • 183
3
votes
2 answers

How to automate testing of graphical (eclipse-based) desktop applications?

I need to automate testing of desktop applications based on eclipse. Is it worthy ? If yes, what kind of tools can I use with some well known continuous integration tools ?
dilig0
  • 1,006
  • 2
  • 10
  • 18
3
votes
4 answers

Should a proof-of-concept application have automated tests?

If I'm developing a proof-of-concept application, does it make sense to invest time in writing automated tests? This is for a personal project where I am the sole developer. I see the only benefit of automated testing at this point as: If the…
Graham Swan
  • 4,818
  • 2
  • 30
  • 39
3
votes
1 answer

Selenium test timeout doesn't stop the test PHPUnit 3.6.10 Selenium RC 2.19.0

When a test tries to open a page that doesn't load, and the timeout value is reached, the test doesn't stop or throw an exception. Instead it just moves on and acts as if the page is loaded successfully. It does its clicks and stops at the first…
ohaal
  • 5,208
  • 2
  • 34
  • 53
3
votes
2 answers

How to automate a test that queries from a large database? (import or create)

Say I have the following scenario (and obviously I oversimplify it): A 'Manager' in a 'Department' 'Approves' 'Expenses' of 'Employees'. My test here is to test a Query that returns the followings: All expenses above $X for all managers from…
adhg
  • 10,437
  • 12
  • 58
  • 94
3
votes
3 answers

Page Object pattern and alternatives

When you automate web UI testing you want to organize your tests so that they are maintainable and code duplication is minimized as possible. On of the way to go is Page Object pattern. Did you try it in real world projects? Are there any…
UserControl
  • 14,766
  • 20
  • 100
  • 187
3
votes
3 answers

Sikuli - NameError: global name 'openApp' is not defined

I'm calling a sikuli function, inside Sikuli IDE, but I get this error "NameError: global name 'openApp' is not defined"... If I try to do openApp('calc') in a new Sikuli blank file, it works, but if I use in another .sikuli file like: def…
Marcelo
  • 197
  • 1
  • 4
  • 16
3
votes
1 answer

assert and verify in Selenium

Can someone explain what the difference between assert and verify is please. I know that verify means it checks if it is there, if it isn't the test fails and stops there (correct?). So does assert carry on even if it does fail? I've read the…
orange
  • 5,297
  • 12
  • 50
  • 71
3
votes
2 answers

How to run selenium tests with maven?

i want to run selenium test with maven as part of build, so here's my configuration: org.apache.maven.plugins maven-war-plugin 2.1.1
fresh_dev
  • 6,694
  • 23
  • 67
  • 95
3
votes
1 answer

Rules Engine and automated testing conundrum

Rules Engines are often sold under the premise of making it possible for business people to modify some very dynamic parts of the application directly, without any involvement or programming done by the developers. In my opinion, putting into…
Danijel Arsenovski
  • 519
  • 10
  • 15
3
votes
1 answer

Making sense out of VS2010 Coded UI Debug Trace

I'm working with VS 2010 CUIT projects and have run into some issues that I'm having a hard time understanding. Namely 2 things are causing me troubles: In the Debug Trace I get messages of the type: "PERF WARNING: FindAllDescendents took XXXX ms.…
Marek Karbarz
  • 28,956
  • 6
  • 53
  • 73
3
votes
1 answer

Starting the Android emulator without the webcam dialog

Every time I launch the Android emulator under Windows, it asks me for which webcam I want to use. Is there a way to get rid of this dialog? What I need is to start the emulator [*] automatically from a batch file that is supposed to run…
Dek Dekku
  • 1,441
  • 11
  • 28
3
votes
1 answer

Should Cucumber scenarios contain specific UI steps?

Having used Cucumber about a year ago, I got used to writing scenarios this way. Scenario: user tries to vote on a comment Given I have a post And I have a comment on that post And I am logged in as a different user And I am on the post…
Jakub Arnold
  • 85,596
  • 89
  • 230
  • 327
3
votes
4 answers

Test Driven Development vs Automated Theorem Proving

One thing I've come to be interested in in digital logic/architecture design is Automated Theorem Proving to verify, for example, a floating point multiplication module. Unit tests are handy, but its almost intractable to try to test (brute-force)…
machinaut
  • 495
  • 2
  • 4
  • 17