Setting up proxy projects

ProxyObjects are deployed as either JAR files which are proxies written in Java, or as Assembly DLLs which are proxies written in C#, along with customization file with the .rftcust extension.

Setting up a proxy project in Eclipse

You can use Eclipse 3.2 or later to develop proxies in Java. To create a new Eclipse Java project:

Procedure

  1. Perform one of the following steps:
    • From the Eclipse menu, click File > New > Project.
    • From the Eclipse toolbar, click New, select Java Project, and then click Next.
  2. Type the name of the new project in the Project name field and click Next.
  3. In the Java Settings page:
    1. Click the Create new source folder link, and specify src as the folder name so that all source files are kept under the src directory; then click Finish.
    2. Click Libraries > Add Variable, and select RATIONAL_FT_LIB; then click OK.
  4. Click Finish.

Setting up a proxy project in Visual Studio .Net

You must use Microsoft® Visual Studio .Net to develop proxies in C# for .Net, Win, and SAP domains. To create a new Visual Studio .Net C# project:

Procedure

  1. Create a new project in either of two ways:
    • From the Visual Studio menu, click File > New Project.
    • From the Visual Studio toolbar, click New Project.
  2. Select Visual C# as the project type and Class Library as the template to use.
  3. Specify the name of the new project and the project location in the Name and Location fields.
  4. Click OK.
  5. Right-click References in the solution explorer and select Add Reference.
  6. Click Browse, and select the C:\Program Files\HCL\HCLOneTest\FunctionalTester\bin\rtxftnet.dll assembly as a reference to the project.

What to do next

After your project is created and set up, you can start creating your proxy files. You must add a new C# file for each new proxy and similarly for new TestObjects.