O'Reilly logo

Advanced UFT 12 for Test Engineers Cookbook by Jonathon Lee Wright, Meir Bar-Tal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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) ' -------------------------------------------------------- ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required