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 :
- It is a Paid tool . But you get 15 days trail version .
- 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.
- Devices supported : Android, iOs ,BlackBerry and Windows.
- Applications supported: Native , web and Hybrid.
- The tool is specialized to convert gestures into code by using builtin code generator.
- 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. )
- Seetest also gives flexibility to convert into QTP or UFT script as well.
- 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.
- User can execute Test Cases on 3 physical devices simultaneously (for a trial version).
- 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.
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