Skip to content
No description, website, or topics provided.
Java JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Repo for ios automation connector

This project, currently named trio, is dedicated to bring us automation for different mobile platforms. Right now it only supports iOS automation using the provided by apple. The test cases themselves use javascript to perform UI interactions. As a result, we need to familiar outselves with the syntax and format of the test cases.

First thing, we should clone the sugarcrm/PhoneVooDoo repository and check the files under the folder Trio. The powerpoint document is a good starting point to gain some knowledge towards what this piece of code does.

The text.xml is the "test file" that testers will write. The output.js is the converted javascript tests mentioned above. Currently trio only converts the xml file to javascript. In the future we should implement it in a way such that it will also push the converted test to instruments and have it run the converted test(refer to [1]).

There are some useful links provided in ref#2 to help us understand the whole iOS automation process. Also there's been enhancements done by apple to make our lives easier[3]. We will also want to be able to run trio through command line as well in order to make it friendly for CI automation process. Trio uses documentbuilder for xml parsing, so some knowledge regarding the w3c dom libraries are recommended[4].

[1]Right now we do not support pushing the converted javascript directly from the java class since we are using iOS 4.x simulators and a older version of xcode. However, this is now doable by using command line on iOS 5 beta4:

[2]Some useful links regarding the automation process:

[3]Some interesting information regarding the changes to iOS 5 automation:

[4]DOM reference:

You can’t perform that action at this time.