var view = UIATarget.localTarget().frontMostApp().mainWindow().elements()[1];
view.staticTexts()[0].value();
var textfields = view.textFields();
textfields[0].setValue("277860602");
UIATarget.localTarget().frontMostApp().logElementTree();
http://disanji.net/2010/12/04/iphoneui_automation_testing-aspx/
http://developer.apple.com/library/ios/#documentation/DeveloperTools/Reference/UIAutomationRef/_index.html#//apple_ref/doc/uid/TP40009771
http://developer.apple.com/library/ios/#documentation/DeveloperTools/Reference/UIAutomationRef/Introduction/Introduction.html
http://answers.oreilly.com/topic/1646-how-to-use-uiautomation-to-create-iphone-ui-tests/
t
var window = UIATarget.localTarget().frontMostApp().mainWindow();
var tableView = window.tableViews();
UIALogger.logPass(tableView[0].cells()[0].elements()[1].value());
tableView[0].cells()[0].elements()[1].setValue("6503760530");
tableView[0].cells()[2].elements()[1].setValue("1434423");
var view1 = UIATarget.localTarget().frontMostApp().mainWindow().elements()[0];
view1.buttons()[0].tap();
UIATarget.localTarget().frontMostApp().logElementTree();
view.staticTexts()[0].value();
var textfields = view.textFields();
textfields[0].setValue("277860602");
UIATarget.localTarget().frontMostApp().logElementTree();
http://disanji.net/2010/12/04/iphoneui_automation_testing-aspx/
http://developer.apple.com/library/ios/#documentation/DeveloperTools/Reference/UIAutomationRef/_index.html#//apple_ref/doc/uid/TP40009771
http://developer.apple.com/library/ios/#documentation/DeveloperTools/Reference/UIAutomationRef/Introduction/Introduction.html
http://answers.oreilly.com/topic/1646-how-to-use-uiautomation-to-create-iphone-ui-tests/
t
var window = UIATarget.localTarget().frontMostApp().mainWindow();
var tableView = window.tableViews();
UIALogger.logPass(tableView[0].cells()[0].elements()[1].value());
tableView[0].cells()[0].elements()[1].setValue("6503760530");
tableView[0].cells()[2].elements()[1].setValue("1434423");
var view1 = UIATarget.localTarget().frontMostApp().mainWindow().elements()[0];
view1.buttons()[0].tap();
UIATarget.localTarget().frontMostApp().logElementTree();