Creating Projects & Recording Tests on TestStudio for iOS

In my previous post Configuring or Deploying ‘Telrik TestStudio for iOS’ on iOS Simulator on XCode Mac showed you how to deploy TestStudio Extension on iOS Simulator. But now it’s time to perform, creating projects and recording test cases for the automation.

When you open the TestStudio on iOS Simulator first there are 2 options on the home screen:

  • Testing
  • Settings
Select testing and navigate to next page from where you actually need to create the new Project.
Here you can select the big Circular icon in the middle or +Add button in the Right Bottom of the simulator. After Navigating, give a new name to the project and click on Save on the Top-Right in simulator.
Now, from here you need to add test name & test type (Web App test or Native App test), which need to be test.
So, to add new app type & test click on the big Circular icon in middle or click +Add button in Right Bottom. Then you’ll be navigated to page where it will ask you to add a Web App or a Native App.
So, here I am adding a Demo_test as a test name and selecting Web Test as I need to test an WebApp and then click on save.
After saving now you are ready to do recording for the app test. From the given below screen shot of simulator:
So, now you can record your test cases by clicking on the big Circular icon of Steps in Middle or by clicking Record button in Bottom Left.
So now start recording test and if you want to give a target to add a task click on the + button in bottom middle to add:
So, when you add task, you have to select whether you are testing for verification or for action.
Select according to the requirements you have, like in this give below case I am selecting Verifications to Verify Attribute Value.
Now here give a case on which attribute you want to verify, like here I am checking on the basis of image source.
Now pause the recording and navigate to recorded steps by clicking on small steps icon in right bottom of the iOS Simulator. Now here are all the your steps which you have recorded to perform your test or tasks.
So here now you can play your record, add some other tasks & can get result reports as well. 
This how you can keep on testing your iOS apps in simulator with a few clicks which will give you better and accurate results to increase the performance of your app.

Configuring or Deploying ‘Telrik TestStudio for iOS’ on iOS Simulator on XCode Mac

Telerik TestStudio is an automation testing tool for all phase which a tester requires. Test Studio automates functional, load & performance testing to improve and fasten up the tester’s job. TestStudio is also available for iOS you can install it on your iOS Devices: iPhone, iPad & iPodTouch via App Store.

So, installing or deploying TestStudio on iOS Simulator is also available. But before that you need to have:

  • Apple Mac installed with Latest version of XCode
  • Telerik Account which you can easily make with filling a form or can connect with Microsoft Account or Gmail too.
  • A bundle file (Test-Studio-for-iOS-2-5.dmg) which contains: XCode Workspace, Test Studio Extension, Test Studio demo app for iOS Simulator.  (Note: You need to be logged in from your Telerik Account to download this file)
Let’s deploy TestStudio on iOS simulator, with a very few simple steps:
Step 1: Extract all the files in folder from Test-Studio-for-iOS-2-5.dmg
Step 2: Locate TestStudio for iOS folder in Finder extracted from the DMG file. 
Step 3: Open TestStudioSimulator folder:
Step 4: Open Terminal and give the location of TestStudioSimulator folder
Step 5: When TestStudioSimulator folder is Open in Command Terminal, now run this python file with given below command:
python installteststudioinsimulator.py
Step 6: Now this Python will install TestStudio Extension in iOS Simulator and in terminal it will show you ‘Installation Complete’ message.

Step 7: Now Open xCode and start the iOS Simulator and check whether Test Studio Extension for iOS is installed properly. Just Navigate to XCode > Open Developer Tools > iOS Simulator

Now you can proceed with checking and start playing with TestStudio on iOS Simulator.
(here you can see the TestStudio icon in iOS Simulator)
(Starting up of TestStudio for iOS in iOS Simulator)
(TestStudio’s first page after opening in iOS Simulator)
Now start deploying TestStudio for iOS in iOS Simulator & iOS Devices and keep testing Apps to know their performance, function & load for more improvements in your apps.