Wednesday, May 21, 2014

Selenium : Run Test Cases on iOS or Android devices

Run Test Cases on iOS or Android devices

You can execute test cases on Android or iOs or any other mobile platforms on your Test NG Selenium Framework by using a tool called Seetest by Experitest.Here is what I think about the tool , I've listed them in points :

  1. It is a Paid tool . But you get 15 days trail version .
  2. Most asked question : Can you run the same code cross multiple devices : Answer is "YES" .You can use the same code across multiple devices and across platforms. Example you can record a script in iOs and Run the same on Android.
  3. Devices supported : Android, iOs ,BlackBerry and Windows.
  4. Applications supported: Native , web and Hybrid.
  5. The tool is specialized to convert gestures into code by using builtin code generator.
  6. Depending on the framework and language  , user can select the type of code conversion from the drop down .Ex: Java TestNG , Java Junit , C#, VB etc .,once done, the user can directly Copy paste the code into his framework . (Note : User is required to import the library files present in SeeTest installation Folder>Client . Ex: If you are using Java TestNg framework then , Goto Seetest>Client>Java and import all Jar files into your project .Now on Seetest GUI convert the code to Java TestNG and simply copy paste the code into Eclipse and Run. )
  7. Seetest also gives flexibility to convert into QTP or UFT script as well.
  8. Apart from usual recognition of Elements , Seetest has another rather unique way of recognition of Elements ie.," Image Recognition": Here a small snapshot of the element is saved in repository and used as reference. 
  9. User can execute Test Cases on 3 physical devices simultaneously (for a trial version).
  10. To make the code cross compatible , Seetest has a neat solution. SeeTest object repository can store different locator ids for the same element for different platforms. ie., A button might have specific id in Android and another id in iOS.Here the user is given the flexibility to store both ids pointing to same element.So during run time , depending on the Device which the test is running Seetest will select appropriate ids for the element from the repository.
As far as my analysis goes Seetest is the best in market (I've tried Ranorex , TestComplete ,Appium etc.,) if you are looking for re-usability across  Device Platform Automation Testing while keeping whole testing process reliable.

For Help
 General Help

For Android refer :
 Android Help
 video Demo

For iOs : (Note: For iOS 6 and above you need to Instrument the app if your AUT is a Native or Hybrid)
iOs Help

No comments:

Post a Comment