-
Book Overview & Buying
-
Table Of Contents
Advanced UFT 12 for Test Engineers Cookbook
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.
From the File menu, navigate to New | Test, or use the Ctrl + N shortcut. Create a new file named CROWrapper.wsc (C stands for class and RO for remote object).
A Windows Script Component (WSC) file is actually a special XML file that can store...
Change the font size
Change margin width
Change background colour