Silk Mobile

Table of Contents (Homepage)

VB.NET

To export code to VB.NET, you need to

  1. Get the test code in VB.NET language

  2. Integrate Silk Mobile and VB.NET.

Following is a step-by-step description of how to do it.

Get the test code in VB.NET language

Step 1: Go to the "Code" tab and select VB.NET.

images/download/attachments/3310299/image59.gif

Step 2: The test in the requested code language will show up and you can copy-paste it into any testing environment using the copy to clipboard button.

images/download/attachments/3310299/image60.gif

Integrate to VB.NET

You need to integrate Silk Mobile into your regular testing environment using the built in clients located in the client sub folder under your installation directory

Step By Step:

Step 1: Create VB.NET Unit test empty project.

  1. Choose new project:

    images/download/attachments/3310299/image61.gif
  2. Choose Templates > Visual Basic > Test and choose Unit Test Project.

    images/download/attachments/3310299/image62.gif
  3. Click OK.

Step 2: Add references to library files.

  1. In the right panel, right-click on the project.

  2. choose add > Reference.

    images/download/attachments/3310299/image63.gif
  3. Press Browse button at the bottom.

    images/download/attachments/3310299/image64.gif
  4. Browse to the Silk Mobile and go to /Clients/C# directory.

  5. Add the following dll files:

    1. CookComputing.XmlRpc.dll

    2. imageClient.dll

    images/download/attachments/3310299/image65.gif

  6. Click OK.

    images/download/attachments/3310299/image66.gif
  7. In Visual Studio, copy the code into the VB.NET source file.

  8. Right-click on the source code and press Run Tests to run the scenario.

images/download/attachments/3310299/image67.gif