We have already covered on how you create mobile automation tests using Robot Framework in my previous post. In this blog post, I would try to cover on how you can use the same test that we had create in Robot framework for Android to execute on Experitest/SeeTest Cloud environment on real devices.
Execution on SeeTest Cloud
As discussed in our previous post, we will have to create or modify our connection.robot method, which in this post, I would create a new file name it “ExperitestConnection.robot”. The content of the file would look something like this:
You would have noticed the file contents are more or less the same, except for the change of values for variables that we have defined in our previous post. Now our connection is being made to one of the SeeTest environment with the valid access key and device queries (which is used to identify what kind of devices to be used for execution)
Page Object class I would keep it as is without any change.
However in our Test Class, we would have to change the resource and point the resource to new file which is ExperitestConnection.robot instead of Connection.Robot, this should help us in executing already created test for Local Appium server to run against different devices that may be available in your SeeTest Cloud environment.
As you must have observed the only change is the value’s of Appium server details along with the value of access key, which helps SeeTest Cloud to authenticate and authorize user’s access to cloud devices/browsers.
Feel free to comment to this post or you can also drop an email to [email protected]