Prerequisite tasks for recording iOS tests

You can test the native and hybrid iOS applications in Rational® Functional Tester by recording and playing back mobile tests on computers that run on Mac operating systems.

Prerequisite tasks for recording iOS mobile applications on a simulator

Before you can use Rational® Functional Tester to record a test for an iOS application by using a simulator, you must complete the following tasks:
  • Set up a computer that runs on the Mac operating system.
  • Installed Xcode and Command Line Tools for Xcode on your computer.
    Note: You might have to follow certain steps in setting up the project with Xcode if you experience any issue while you record or play back iOS tests. See Troubleshooting issues.
  • Installed the iOS applications that you want to test on the simulator.
  • Configured the iOS applications that you want to test in Rational® Functional Tester. See Configuring the iOS applications.

Prerequisite tasks for recording iOS mobile applications on an iOS device

Before you can use Rational® Functional Tester to record a test for an iOS application by using an iOS device, you must complete the following tasks:
  • Set up a computer that runs on the Mac operating system.
  • Installed Xcode and Command Line Tools for Xcode on your computer.
    Note: You might have to follow certain steps in setting up the project with Xcode if you experience any issue while you record or play back iOS tests. See Troubleshooting issues.
  • Signed in to the WebDriverAgent Xcode project by using the Apple developer account.
    Note: You must navigate to the <installation directory>/node-js/appium-server/node_modules/appium/node_modules/appium-webdriveragent folder and then follow the steps as described in the Setting up iOS Real Devices Tests with XCUITest portal.
  • Installed the iOS applications that you want to test on the iOS device.
  • Configured the iOS applications that you want to test in Rational® Functional Tester. See Configuring the iOS applications.
  • Connected and started the iOS device that you want to use for testing iOS mobile applications.
  • Provided the Apple Team ID and role details in the Apple Team ID and Role fields.
    Note: To enter the details, you must go to Windows > Preferences > Test Execution > UI Test Playback > Mobile Device tab.
  • Added the iOS real devices to the same developer profile.