Testing iPhone applications with eggPlant

  • Posted by JB Brockman
  • On June 29, 2010

London, 29 June 2010 – There are 133,799 iPhone applications (apps) in the Apple store, developed by some 28000-developer community, and used by 58million global users. (Courtesy: Gigaom.com)

But the Achilles heel is the user experience testing of these smartphone apps. The key to a successful iPhone app is its functionality and user experience. As applications become loaded with rich media and dynamic content, testing heir complex GUI will be a herculean task for the Apple developer community.

The challenge to test these iPhones applications is mammoth as there are few software testing tools which can test on Mac platforms.

With years of experience as a Mac developer , TestPlant has taken this challenge head-on. Its R&D team has now released an update to eggPlant, its fl agship GUI testing tool which can test can now test iPhone applications.

iPhone applications can be easily tested using eggPlant and the iPhone simulator. The simulator is available as part of the iPhone SDK which is freely available to registered members of Apple’s iPhone developer program.

The SDK/simulator needs to be installed on the system under test. The simulator is located in  Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/.

Once the simulator is launched, most activities can be performed with standard eggPlant Click commands. When typing is required, you have a choice of using TypeText commands or scripting Click events against the onscreen keyboard. All characters will be typed as lower case unless you first click on the Shift key (up arrow) on the onscreen keyboard.

The simulator does not allow the testing of adhoc movement events or the use of GPS facilities. You can access a simulation of the shake gesture either via a scripted keyboard shortcut or through the Hardware menu. There are also options available to rotate the device either to the left or the right.