Appendix A. Design Patterns

In this appendix, we will cover additional design patterns:

  • Auxiliary classes and functions
  • Action patterns
  • Runtime data patterns

Auxiliary classes and functions

The following are auxiliary classes and functions' design patterns that provide additional functionality (not included within the main chapters):

  • AssertResult: This design pattern checks whether the result triggers a predefined action:
    Function ASSERT_RESULT(ByVal iResult) ' -------------------------------------------------------- ' Function : ASSERT_RESULT ' Purpose : Checks if the result triggers a predefined action ' Args : ByVal iResult ' Returns : The value of iResult (unless the run session is ' terminated) ' -------------------------------------------------------- ...

Get Advanced UFT 12 for Test Engineers Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.