Reducing
Download
1 / 31

Reducing False Positives In Automated Testing - PowerPoint PPT Presentation


In conjunction with Sauce Labs, QASource presented a webinar, "Reducing False Positives With Automated In Automated Testing". This slide deck summarizes the key points of the presentation. To view the complete webinar, visit: https://youtu.be/bi8hDBoZMPY Subscribe to the QASource YouTube channel for future webinars and other engaging video content!

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha

Download Presentation

Reducing False Positives In Automated Testing

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Reducing

False Positives

in

Automated

Testing


FALSE POSITIVES ARE “FAILED”

TESTS THAT SHOULD HAVE PASSED,

aka FALSE ALARMS.


WHY DO THEY OCCUR?


WHY DO THEY OCCUR?

• AUTOMATION APPROACH


WHY DO THEY OCCUR?

• AUTOMATION APPROACH

• IMPLEMENTED FRAMEWORK


WHY DO THEY OCCUR?

• AUTOMATION APPROACH

• IMPLEMENTED FRAMEWORK

• THE WRITTEN TEST ITSELF


THERE ARE SEVERAL POTENTIAL

CAUSES FOR FALSE POSITIVES IN

AUTOMATED TESTING:


Cause #1:

RELYING

ON UI


Small changes

in UI can cause

test breakage


Cause #2:

CHANGE IN

UI ELEMENT

PROPERTIES


Any change to:

ID


Any change to:

ID

CSS


Any change to:

ID

CSS

CLASS NAME


Can result in

test breakage


Cause #3:

SHARED

ENVIRONMENTS


Functional &

automated testing

require separate

environments


Cause #4:

REFERENCE

DATA CHANGE


Scripts may change

configuration data

required by a test


Cause #5:

SLOW

PERFORMANCE


Slow performance =

Slow test execution

& test failure


Cause #6:

MANUAL

INTERVENTION


Some data must be

cleared manually

before/after

test execution


Cause #7:

RELYING ON

SEQUENCE OF

EXECUTION


Any failure in

test sequence

impacts the entire

test suite


KEYS TO

REDUCING

FALSE POSITIVES


USE OPTIMAL CONFIGURATIONS


USE OPTIMAL CONFIGURATIONS

CONTROLLED AUTOMATION ENVIRONMENT


USE OPTIMAL CONFIGURATIONS

CONTROLLED AUTOMATION ENVIRONMENT

KEEP TESTS SHORT


USE OPTIMAL CONFIGURATIONS

CONTROLLED AUTOMATION ENVIRONMENT

KEEP TESTS SHORT

KEEP TESTS INDEPENDENT


USE OPTIMAL CONFIGURATIONS

CONTROLLED AUTOMATION ENVIRONMENT

KEEP TESTS SHORT

KEEP TESTS INDEPENDENT

USE RIGHT LOCATORS

FOR OBJECT IDENTIFICATION


VIEW THE ENTIRE

QASOURCE

WEBINAR

AND READ THE COMPLETE Q & A:

Pre and Post Webinar Questions Answered: Reducing

False Positives in Automated Testing

QUESTIONS ABOUT FINANCIAL TESTING?

VISIT US AT QASOURCE.COM


ad
  • Login