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 the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.