Silk Test 17.0 provides the ability to test native mobile apps on iOS.
This video introduces this new functionality.
Micro Focus recommends setting the quality of the video to high definition (HD), because otherwise the video might not display correctly.
You can view additional Silk Test videos on YouTube.
The increasing number of different screen sizes and iOS versions that are available makes it harder every day for organizations to deliver their iOS apps with confidence.
How can you ensure that your app runs on all relevant phones and tablets, given the vast number of combinations of iOS versions, devices, and screen sizes that you need to support?
Automating your testing can help. The higher the percentage of testing that is performed with quick and reliable automation, the easier you can claim support for additional combinations of devices, platforms, and screen sizes.
Silk Test 17.0 includes built-in support for testing native and web applications on Android and iOS, both on physical devices and on emulators/simulators, thus helping organizations to deliver great apps with confidence.
In this blog post we are going to walk you through a simple workflow with iOS.
To test a native mobile app on a physical iOS device:
- Connect your iOS device to a Mac, which is located in the same network as the Windows machine and which is added as a remote location to the machine on which Silk Test is running, and make sure that you have the appropriate drivers for the device installed.
- Before you can install and execute an iOS app on a specific iOS device, you have to register the iOS device with your Apple Developer account.
- Use Xcode to create an IPA file of the iOS app, which you can then install on the iOS device. To create IPA files for testing on a specific iOS device, members of the Apple Developer Program can use the Archive mechanism of Xcode, by using on of the following two options:
- If you are a member of the Apple Developer Enterprise Program, you can use the Save for Ad Hoc Deployment option.
- If you are a member of the Apple Developer Program, but not of the Apple Developer Enterprise Program, you can use the Save for Development Deployment option.
- Ensure that the ID of the iOS device is associated with the developer profile which was used to sign the app.
To test a native mobile app on an iOS Simulator:
- Install the iOS Simulator image on a Mac, which is located in the same network as the Windows machine and which is added as a remote location to the machine on which Silk Test is running.
- In the Xcode project of the app that you want to test, compile the app for the iOS Simulator.
- Zip up the .app directory of the app into a .zip file.
For additional information on the prerequisites, see Prerequisites for Testing Mobile Applications on iOS.
To perform the steps that are described below, you can use our InsuranceMobile sample application.
Setting up the test
To start testing:
- Create a new project in Silk4J or Silk4NET, or a new visual test or .NET script in the Silk Test Workbench. If you want to use Silk Test Classic, create a new test script and click Configure Application in the workflow bar.
- In the Select Application dialog, switch to the Mobile tab.
- Click Edit Remote Locations to add the Mac as a remote location.
- Select the device or Simulator on which you want to test.
- Browse to the location of the IPA or ZIP file and click OK to continue.
Recording the test
You can now start to record your test script. The mobile recorder enables you to record actions remotely on the device and displays the recorded actions in the side bar.
When replaying the test, you can either use the device that you have used for recording, or any other locally connected device. In addition, if you use the Device Lab feature, you can even test on remote devices:
In this blog post, we've seen how easy it is to create automated tests for iOS apps using Silk Test 17.0. But Silk Test can do much more for you. For example, you can record and replay tests for Android applications just as easily. If you work in a distributed environment with a large team, you can even leverage the device lab capabilities built into Silk Test 17.0 to share your devices across the team.
Furthermore, Silk Tests cross-browser testing capabilities enable you to run tests for your mobile web application on the standard mobile browsers as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.