Using remote objects

Working with function libraries can become quite tedious, as each test must have them associated. Deployment issues may arise when tests are copied to other machines. For instance, resources may be missing due to misconfiguration (for example, undefined search paths).

If we could store the code on a server, so that associating function libraries would not be necessary, we would gain three main benefits:

  • Code maintenance and deployment would be simplified and hence become more efficient
  • The dependency of tests on the association of function libraries would vanish
  • Tests would run on any machine that has Internet connectivity and thus reach the code server

In this recipe, we will examine a clever way to accomplish this.

Getting ready ...

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.