GoConqr has a new look! Let us know what you think.

Flashcards

Definitions Recap 1

Mircea Manu QA- Automation QA Engineer English 38 cards

Cards in this deck (38)

  1. 1Boundary Value Analysis (BVA)input =0-100
    outside of positive boundary range
    101 or 110 (negative)
    inside of range - 98-99 (positive)
    Based on Equivalence Partitioning
    Saves time, finds more defects, gives you more value in testing
  2. 2edge casestesting extreme values
    boundary = 100
    testing 100+101
  3. 3Equivalence PartitioningTest design technique to divide input test data into partitions (valid & invalid ). Testing each partition once while each input within a partition produces the same output.
    Saves time, finds more defects, gives you more value in testing
  4. 4Equivalence Partitioning can be applied toall levels of software testing like unit, integration, system, etc.
    You can apply this technique, where there is a range in the input field.
  5. 5Access modifierspublic ,
    private,
    protected(rarely used)
    default
  6. 6private Access modifierThe access level of a private modifier is only within the class. It cannot be accessed from outside the class.
  7. 7public Access modifierThe access level of a public modifier is everywhere. It can be accessed from within the class, outside the class, within the package and outside the package.
  8. 8default Access modifierThe access level of a default modifier is only within the package. It cannot be accessed from outside the package. If you do not specify any access level, it will be the default.
  9. 9protected Access modifierThe access level of a protected modifier is within the package and outside the package through child class. If you do not make the child class, it cannot be accessed from outside the package.
  10. 10packagesspecific space that contains some classes, methods, data and so on... created on purpose to separate implementations in java
  11. 11BDD - Behavioral Driven Development testingall about collaboration in teams
    helps bridge the gap of understanding between technical & business teams
    generates common documentation that
    can be understood by all
    Cucumber facilitates BDD
  12. 12Test Data Driver DevelopmentTDD asks us to write our failing test first, then our minimal amt of logic to pass test. We then refactor until code is in good standard
    you allocate all your data in one place, you specify test data in different files, excel files, cse files. Test data is read from your files
    focuses on unit tests
  13. 13ConstantConstants (also called final variables) have a fixed value. Once we set them, we
    cannot change them.
    final float INTEREST_RATE = 0.04;
    By convention, we use CAPITAL LETTERS to name constants. Multiple words can
    be separated using an underscore.
  14. 14abstractiona bunch of variables & methods that can be used to create other classes
    using "extends" -(adding on to previously implemented methods)
  15. 15abstraction - Interfacesassumes all methods are abstract
    cannot have any implemented methods
  16. 16abstraction - Abstract classhelp us organize what this class should be able to do
    can have abstract & implemented methods
  17. 17once a method is declared abstract, you mustimplement it! (mandatory)
    abstract method is one that isn't implemented yet
  18. 18encapsulationin a little capsule (method)
    using methods to set & retrieve variables in a class (for ex: setName, getName)
    abstracts the variables (bc they're private) from the user to make it easier to use the object
  19. 19inheritancelets us create a generic object
    and then we can create a bunch of different variations of it
    & keep track of it a lot simpler
    using "extends"
  20. 20polymorphismmeans many forms of a method,
    has many versions of the same method but it prioritizes the one in the class
  21. 21atomic functionsrefering to element getters, action methods, verification methods, some functions that are doing something
  22. 22Page Object Model / Pattern, also known as POMis a design pattern in Selenium that creates an object repository for storing all web elements. It is useful in reducing code duplication and improves test case maintenance.
  23. 23In Page class you definemethods to find elements (element getters) and provide actions over elements (action methods), as well as verification methods (not asserts!)
  24. 24In Test class or feature file in you composeyour test steps, using methods from Page class, verification methods should be wrapped by assertions.
    IMPORTANT: if action method from Page class leads to another page - such method should return instance of next page.
  25. 25OOP (Object Oriented Principles)Abstraction, Inheritance, Polymorphism, Encapsulation
  26. 26High-level testscalling methods from Page Object classes
    IMPORTANT!!! We are not using selenium methods in high-level classes - only methods (steps)
  27. 27Low-level test partPage Object classes-
    In page object classes we are defining:
    - element getters
    - action methods
    - verification methods
    Also, Page Object class represents one separate particular page of application you are testing
  28. 28Java Access ModifiersThe access modifiers in Java specifies the accessibility or scope of a field, method, constructor, or class. We can change the access level of fields, constructors, methods, and class by applying the access modifier on it.
  29. 29java non-access modifiersstatic
    final
    abstract
  30. 30we use The static (non-access) modifier forcreating class methods and variables.
  31. 31we use The final (non-access) modifier forfinalizing the implementations of classes, methods, and variables.
  32. 32we use The abstract (non-access) modifiercreating abstract classes and methods.
  33. 33Parametersome value, you will put (or pass) to method in parentheses, to work with it inside of method.
  34. 34Java Booleansprimitive data type
    for storing simple values
    true / false
    yes / no
    on/off
  35. 35Java StringsStrings are used for storing text.
    A String variable contains a collection of characters surrounded by double quotes:
  36. 36charStores a single character/letter or ASCII values
  37. 37intStores whole numbers from -2,147,483,648 to 2,147,483,647
  38. 38cucumbertool that understands your documentation and turns it into automated tests

Information

Description
QA Engineer QA- Automation Flashcards on Definitions Recap 1, created by Mircea Manu on 09/01/2022.
Created by
Mircea Manu
Views
44
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?