SlideServe
Menu
Préférences
© SlideServe · v2026

Automated UI Testing

druce avatar
9 diapositives · 381 Views · Jul 10, 2014

Automated UI Testing. Thien -An Mac QA consultant / Ghostbugster tmac@thoughtworks.com. “Test automation is the use of special software (separate from the software being tested) to control the execution of tests and the comparison of actual outcomes with predicted outcomes .”

Automated UI Testing - slide 1
01 / 9Automated UI Testing
1 / 17

Télécharger la présentation

Automated UI Testing
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Automated UI Testing Thien-An Mac QA consultant / Ghostbugster tmac@thoughtworks.com

  2. “Test automation is the use of special software (separate from the software being tested) to control the execution of tests and the comparison of actual outcomes with predicted outcomes.” http://en.wikipedia.org/wiki/Test_automation Xunit QTP iMacros Selenium WebDriver Jasmine What is automated testing?

  3. Source: http://martinfowler.com/bliki/TestPyramid.html Test pyramid

  4. Saves us a lot of time Repeatable Less error prone Reliable Why should we do it?

  5. GUI Testing Allow users to interactively record user actions and replay them back any number of times Pros: Easy to pick up Create test scenarios quickly Cons: Not maintainable Have to wait for the code to be completed Code-driven Testing Write code to script the actions Pros: Maintainable Organized code Cons: Can become very difficult to maintain Knowledge of basic programming is necessary How does UI testing work?

  6. Selenium WebDriver accepts commands (via a Client API) and sends them to a browser. This is implemented through a browser-specific browser driver, which sends commands to a browser, and retrieves results. A quick demo… Source: http://docs.seleniumhq.org/docs/03_webdriver.jsp

  7. Behavioral Driven Development (BDD)

  8. - DO automate as much as you can and prioritize the common “happy paths” - DOclean up your test data - DON’T treat automated tests as 3rd world code - DON’T have non-deterministic tests (aka “flaky” tests) - DON’T make your tests depend on each other The Dos and Don’ts

  9. Questions?