Recording over Mobile devices on pCloudy:
In addition to web applications, OpKey also helps you to test your android mobile applications. You can create a Test Case by recording actions performed on pCloudy devices which is quite similar to the recording on web applications by using OpKey Smart Recorder.
Let us see how to perform recording on a pCloudy device and execute created Test Case (adding to Suite) on pCloudy device.
While doing this, you just need to follow few simple steps as described below:
Create a Test Case file & open it > Click on the Record button > Click on Mobile Recorder
Before starting recording on mobile devices, you first need to upload the mobile apps. For details about the Mobile Management, please refer Mobile Management
In the next step of mobile recording, you need to login to the pCloudy. Login with your valid credentials.
In the next step of mobile recording, you need to select a location of saving the ‘Object Repository’ File where fetched objects will be saved. There are two options of saving objects: Default Object Repository and Choose Object Repository.
If you select “Default Object Repository” option, then an object repository will be created automatically in the selected folder & your objects will be saved in that object repository.
If you select “Choose Object Repository” then you can create or choose an existing Object Repository to save objects.
Let us select Default Object Repository and pCloudy and proceed recording session.
From here, you can select your android application from the dropdown list and device from the device list. Click on ‘Start Recording’ to proceed.
Mobile recording page opens as shown below. Left window shows the recorded objects and their properties etc. Right window shows connected device information.
Click on objects shown on the mobile screen to fetch their properties.
Once recording process gets completed successfully, click on the ‘Stop & Save’ button. A confirmation notification appears. Click on ‘Save’.
You can see the Test Case file created, based on your recording actions over the mobile device.
You can have a look at the Object Repository created automatically.
Now, you can execute this Test Case on pCloudy device (cloud platform) then you need to add this Test Case in a Suite and click on Run on pCloudy. Before executing Suite on pCloudy, you should ensure that you have enough credits on pCloudy to execute your Test successfully.
If you want to execute this newly created Test Case on locally connected device by clicking on Run Now or Debug Now button and analyze the execution result.