Silk Mobile

Table of Contents (Homepage)

Python

Silk Mobile supports integration with both Python 2.x and 3.x

To export a code to Python, you need to:

  1. Get the test code in Python language.

  2. Integrate Silk Mobile and Python.

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

Step 1: In Silk Mobile, create your script and go to the "Code" tab.

images/download/attachments/3310231/image58.png

Step 2: From the code tab select python language from the drop down list.

Code -> select -> python

images/download/attachments/3310231/image59.png

Step 3: The code for the script will be generated in the python language. You can copy-paste it into any testing environment which supports Python.

images/download/attachments/3310231/image60.png

Integrate to Python

To integrate Silk Mobile scripts into your regular testing environment. Need to use built-in clients which are located in the client directory under installation directory.

Following is a list of the files that are provided by Silk Mobile and are required for the integration:

  • Experitestclient.py