Book Image

Advanced UFT 12 for Test Engineers Cookbook

Book Image

Advanced UFT 12 for Test Engineers Cookbook

Overview of this book

Table of Contents (18 chapters)
Advanced UFT 12 for Test Engineers Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Runtime data patterns


The following runtime data patterns provide sample datasheets to be consumed within UFT:

  • Steps: This runtime data pattern provides the sample datasheet required for execution of the Action patterns, described in the previous section as the master driver file:

    STEP_ID

    ACTION_NAME

    RUN

    DATASHEET

    ITERATIONS

    ON_FAILURE

    10

    OpenApp

    TRUE

    N/A

     

    ExitTest

    20

    Login

    TRUE

      

    ExitTest

    30

    Search

    TRUE

      

    ExitAction

    40

    AddToCart

    TRUE

     

    1 to 3

    ExitAction

    50

    Checkout

    TRUE

      

    ExitAction

    60

    Logout

    TRUE

    N/A

     

    ExitAction

    70

    CloseApp

    TRUE

    N/A

     

    ExitTest

  • Login: This runtime data pattern provides the sample datasheet required for the execution of Action [Login], described in the previous section as the master data file:

    USERNAME

    PASSWORD

    User1

    53d3905671ff1996dc6d1b4399eb

  • Search: This runtime data pattern provides the sample datasheet required for execution of Action [Search], described in the previous section as the master data file:

    SEARCH_TERM

    Book

  • AddToCart: This runtime data pattern provides the sample datasheet required for execution of Action [AddToCart], described in the previous section as the master data file:

    PRODUCT_NAME

    My Book 1

    My Book 2

    My Book 3

  • Checkout: This runtime data pattern provides the sample datasheet required for execution of Action [Checkout], described in the previous section as the master data file:

    CREDIT_CARD

    CCV

    EXPIRATION_DATE

    CUSTOMER_ID

    999999999999

    999

    31/12/2017

    999999999