Skip to content

Instantly share code, notes, and snippets.

@sebv
Created November 25, 2014 05:02
Show Gist options
  • Save sebv/75ee52ff1d673185f9b1 to your computer and use it in GitHub Desktop.
Save sebv/75ee52ff1d673185f9b1 to your computer and use it in GitHub Desktop.
➜ appium git:(v1.3.4-branch) DEVICE=ios6 mocha test/functional/ios/testapp/source-specs.js
process.env.LAUNCH_TIMEOUT --> undefined
testapp - source @skip-ios6
env.APPIUM_HOST --> 127.0.0.1
env.APPIUM_PORT --> 4723
caps --> { app: 'sample-code/apps/TestApp/build/Release-iphonesimulator/TestApp.app',
browserName: '',
deviceName: 'iPhone 5s',
launchTimeout: 60000,
platformName: 'iOS',
platformVersion: '6.1' }
opts --> {}
> CALL noop()
> RESPONSE noop()
remainingAttempts --> 3
> CALL init({"app":"sample-code/apps/TestApp/build/Release-iphonesimulator/TestApp.app","browserName":"","deviceName":"iPhone 5s","launchTimeout":60000,"platformName":"iOS","platformVersion":"6.1"})
> POST /session {"desiredCapabilities":{"app":"sample-code/apps/TestApp/build/Release-iphonesimulator/TestApp.app","browserName":"","deviceName":"iPhone 5s","launchTimeout":60000,"platformName":"iOS","platformVersion":"6.1"}}
Driving the web on session: d90e6a6d-2979-43af-9f08-8524120908d1
> RESPONSE init({"app":"sample-code/apps/TestApp/build/Release-iphonesimulator/TestApp.app","browserName":"","deviceName":"iPhone 5s","launchTimeout":60000,"platformName":"iOS","platformVersion":"6.1"}) "d90e6a6d-2979-43af-9f08-8524120908d1",null
> CALL setImplicitWaitTimeout(5000)
> POST /session/:sessionID/timeouts/implicit_wait {"ms":5000}
> RESPONSE setImplicitWaitTimeout(5000)
> CALL waitFor({},3000)
> CALL source()
> GET /session/:sessionID/source
> RESPONSE source() "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<AppiumAUT>\n <UIAApplication name=\"TestApp\" label=\"TestApp\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0\" x=\"0\" y=\"20\" width=\"320\" height=\"460\">\n <UIAWindow name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0\" x=\"0\" y=\"0\" width=\"320\" height=\"480\">\n <UIATextField name=\"IntegerA\" label=\"TextField1\" val...
source --> <?xml version="1.0" encoding="UTF-8"?>
<AppiumAUT>
<UIAApplication name="TestApp" label="TestApp" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0" x="0" y="20" width="320" height="460">
<UIAWindow name="" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0" x="0" y="0" width="320" height="480">
<UIATextField name="IntegerA" label="TextField1" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/0" x="102" y="58" width="97" height="31">
</UIATextField>
<UIATextField name="IntegerB" label="TextField2" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/1" x="102" y="97" width="97" height="31">
</UIATextField>
<UIAButton name="ComputeSumButton" label="Compute Sum" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/2" x="94" y="142" width="113" height="37">
</UIAButton>
<UIAStaticText name="Answer" label="SumLabel" value="SumLabel" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/3" x="129" y="187" width="42" height="21">
</UIAStaticText>
<UIAButton name="show alert" label="show alert" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/4" x="26" y="227" width="76" height="44">
</UIAButton>
<UIAButton name="contact alert" label="contact alert" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/5" x="110" y="234" width="113" height="44">
</UIAButton>
<UIAButton name="location alert" label="location alert" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/6" x="204" y="234" width="116" height="44">
</UIAButton>
<UIAStaticText name="AppElem" label="AppElem" value="AppElem" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/7" x="122" y="279" width="56" height="21">
</UIAStaticText>
<UIASlider name="AppElem" label="AppElem" value="50%" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/8" x="91" y="308" width="118" height="23">
</UIASlider>
<UIAStaticText name="AppElem" label="AppElem" value="AppElem" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/9" x="122" y="338" width="56" height="21">
</UIAStaticText>
<UIAButton name="DisabledButton" label="disabled button" value="" dom="" enabled="false" valid="true" visible="true" hint="" path="/0/0/10" x="83" y="367" width="136" height="28">
</UIAButton>
<UIAStaticText name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/0/11" x="82" y="403" width="73" height="21">
</UIAStaticText>
<UIASwitch name="locationStatus" label="locationStatus" value="1" dom="" enabled="false" valid="true" visible="true" hint="" path="/0/0/12" x="177" y="398" width="79" height="27">
</UIASwitch>
<UIAButton name="Test Gesture" label="Test Gesture" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/13" x="93" y="417" width="116" height="44">
</UIAButton>
</UIAWindow>
<UIAWindow name="" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/1" x="0" y="0" width="320" height="480">
<UIAStatusBar name="" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/1/0" x="0" y="0" width="320" height="20">
<UIAElement name="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/0" x="4" y="0" width="43" height="20">
</UIAElement>
<UIAElement name="3 of 3 bars, Wi-Fi signal strength" label="3 of 3 bars, Wi-Fi signal strength" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/1" x="52" y="0" width="20" height="20">
</UIAElement>
<UIAElement name="12:59 PM" label="12:59 PM" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/2" x="130" y="0" width="61" height="20">
</UIAElement>
<UIAElement name="100% battery power" label="100% battery power" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/3" x="296" y="0" width="21" height="20">
</UIAElement>
</UIAStatusBar>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/1" x="0" y="20" width="3" height="3">
</UIAImage>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/2" x="317" y="20" width="3" height="3">
</UIAImage>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/3" x="0" y="477" width="3" height="3">
</UIAImage>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/4" x="317" y="477" width="3" height="3">
</UIAImage>
</UIAWindow>
</UIAApplication>
</AppiumAUT>
> CALL source()
> GET /session/:sessionID/source
> RESPONSE source() "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<AppiumAUT>\n <UIAApplication name=\"TestApp\" label=\"TestApp\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0\" x=\"0\" y=\"20\" width=\"320\" height=\"460\">\n <UIAWindow name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0\" x=\"0\" y=\"0\" width=\"320\" height=\"480\">\n <UIATextField name=\"IntegerA\" label=\"TextField1\" val...
source --> <?xml version="1.0" encoding="UTF-8"?>
<AppiumAUT>
<UIAApplication name="TestApp" label="TestApp" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0" x="0" y="20" width="320" height="460">
<UIAWindow name="" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0" x="0" y="0" width="320" height="480">
<UIATextField name="IntegerA" label="TextField1" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/0" x="102" y="58" width="97" height="31">
</UIATextField>
<UIATextField name="IntegerB" label="TextField2" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/1" x="102" y="97" width="97" height="31">
</UIATextField>
<UIAButton name="ComputeSumButton" label="Compute Sum" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/2" x="94" y="142" width="113" height="37">
</UIAButton>
<UIAStaticText name="Answer" label="SumLabel" value="SumLabel" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/3" x="129" y="187" width="42" height="21">
</UIAStaticText>
<UIAButton name="show alert" label="show alert" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/4" x="26" y="227" width="76" height="44">
</UIAButton>
<UIAButton name="contact alert" label="contact alert" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/5" x="110" y="234" width="113" height="44">
</UIAButton>
<UIAButton name="location alert" label="location alert" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/6" x="204" y="234" width="116" height="44">
</UIAButton>
<UIAStaticText name="AppElem" label="AppElem" value="AppElem" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/7" x="122" y="279" width="56" height="21">
</UIAStaticText>
<UIASlider name="AppElem" label="AppElem" value="50%" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/8" x="91" y="308" width="118" height="23">
</UIASlider>
<UIAStaticText name="AppElem" label="AppElem" value="AppElem" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/9" x="122" y="338" width="56" height="21">
</UIAStaticText>
<UIAButton name="DisabledButton" label="disabled button" value="" dom="" enabled="false" valid="true" visible="true" hint="" path="/0/0/10" x="83" y="367" width="136" height="28">
</UIAButton>
<UIAStaticText name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/0/11" x="82" y="403" width="73" height="21">
</UIAStaticText>
<UIASwitch name="locationStatus" label="locationStatus" value="1" dom="" enabled="false" valid="true" visible="true" hint="" path="/0/0/12" x="177" y="398" width="79" height="27">
</UIASwitch>
<UIAButton name="Test Gesture" label="Test Gesture" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/13" x="93" y="417" width="116" height="44">
</UIAButton>
</UIAWindow>
<UIAWindow name="" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/1" x="0" y="0" width="320" height="480">
<UIAStatusBar name="" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/1/0" x="0" y="0" width="320" height="20">
<UIAElement name="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/0" x="4" y="0" width="43" height="20">
</UIAElement>
<UIAElement name="3 of 3 bars, Wi-Fi signal strength" label="3 of 3 bars, Wi-Fi signal strength" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/1" x="52" y="0" width="20" height="20">
</UIAElement>
<UIAElement name="12:59 PM" label="12:59 PM" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/2" x="130" y="0" width="61" height="20">
</UIAElement>
<UIAElement name="100% battery power" label="100% battery power" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/3" x="296" y="0" width="21" height="20">
</UIAElement>
</UIAStatusBar>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/1" x="0" y="20" width="3" height="3">
</UIAImage>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/2" x="317" y="20" width="3" height="3">
</UIAImage>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/3" x="0" y="477" width="3" height="3">
</UIAImage>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/4" x="317" y="477" width="3" height="3">
</UIAImage>
</UIAWindow>
</UIAApplication>
</AppiumAUT>
> CALL source()
> GET /session/:sessionID/source
> RESPONSE source() "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<AppiumAUT>\n <UIAApplication name=\"TestApp\" label=\"TestApp\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0\" x=\"0\" y=\"20\" width=\"320\" height=\"460\">\n <UIAWindow name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0\" x=\"0\" y=\"0\" width=\"320\" height=\"480\">\n <UIATextField name=\"IntegerA\" label=\"TextField1\" val...
source --> <?xml version="1.0" encoding="UTF-8"?>
<AppiumAUT>
<UIAApplication name="TestApp" label="TestApp" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0" x="0" y="20" width="320" height="460">
<UIAWindow name="" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0" x="0" y="0" width="320" height="480">
<UIATextField name="IntegerA" label="TextField1" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/0" x="102" y="58" width="97" height="31">
</UIATextField>
<UIATextField name="IntegerB" label="TextField2" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/1" x="102" y="97" width="97" height="31">
</UIATextField>
<UIAButton name="ComputeSumButton" label="Compute Sum" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/2" x="94" y="142" width="113" height="37">
</UIAButton>
<UIAStaticText name="Answer" label="SumLabel" value="SumLabel" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/3" x="129" y="187" width="42" height="21">
</UIAStaticText>
<UIAButton name="show alert" label="show alert" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/4" x="26" y="227" width="76" height="44">
</UIAButton>
<UIAButton name="contact alert" label="contact alert" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/5" x="110" y="234" width="113" height="44">
</UIAButton>
<UIAButton name="location alert" label="location alert" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/6" x="204" y="234" width="116" height="44">
</UIAButton>
<UIAStaticText name="AppElem" label="AppElem" value="AppElem" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/7" x="122" y="279" width="56" height="21">
</UIAStaticText>
<UIASlider name="AppElem" label="AppElem" value="50%" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/8" x="91" y="308" width="118" height="23">
</UIASlider>
<UIAStaticText name="AppElem" label="AppElem" value="AppElem" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/9" x="122" y="338" width="56" height="21">
</UIAStaticText>
<UIAButton name="DisabledButton" label="disabled button" value="" dom="" enabled="false" valid="true" visible="true" hint="" path="/0/0/10" x="83" y="367" width="136" height="28">
</UIAButton>
<UIAStaticText name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/0/11" x="82" y="403" width="73" height="21">
</UIAStaticText>
<UIASwitch name="locationStatus" label="locationStatus" value="1" dom="" enabled="false" valid="true" visible="true" hint="" path="/0/0/12" x="177" y="398" width="79" height="27">
</UIASwitch>
<UIAButton name="Test Gesture" label="Test Gesture" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/13" x="93" y="417" width="116" height="44">
</UIAButton>
</UIAWindow>
<UIAWindow name="" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/1" x="0" y="0" width="320" height="480">
<UIAStatusBar name="" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/1/0" x="0" y="0" width="320" height="20">
<UIAElement name="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/0" x="4" y="0" width="43" height="20">
</UIAElement>
<UIAElement name="3 of 3 bars, Wi-Fi signal strength" label="3 of 3 bars, Wi-Fi signal strength" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/1" x="52" y="0" width="20" height="20">
</UIAElement>
<UIAElement name="1:00 PM" label="1:00 PM" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/2" x="134" y="0" width="53" height="20">
</UIAElement>
<UIAElement name="100% battery power" label="100% battery power" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/3" x="296" y="0" width="21" height="20">
</UIAElement>
</UIAStatusBar>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/1" x="0" y="20" width="3" height="3">
</UIAImage>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/2" x="317" y="20" width="3" height="3">
</UIAImage>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/3" x="0" y="477" width="3" height="3">
</UIAImage>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/4" x="317" y="477" width="3" height="3">
</UIAImage>
</UIAWindow>
</UIAApplication>
</AppiumAUT>
> CALL source()
> GET /session/:sessionID/source
> RESPONSE source() "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<AppiumAUT>\n <UIAApplication name=\"TestApp\" label=\"TestApp\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0\" x=\"0\" y=\"20\" width=\"320\" height=\"460\">\n <UIAWindow name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0\" x=\"0\" y=\"0\" width=\"320\" height=\"480\">\n <UIATextField name=\"IntegerA\" label=\"TextField1\" val...
source --> <?xml version="1.0" encoding="UTF-8"?>
<AppiumAUT>
<UIAApplication name="TestApp" label="TestApp" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0" x="0" y="20" width="320" height="460">
<UIAWindow name="" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0" x="0" y="0" width="320" height="480">
<UIATextField name="IntegerA" label="TextField1" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/0" x="102" y="58" width="97" height="31">
</UIATextField>
<UIATextField name="IntegerB" label="TextField2" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/1" x="102" y="97" width="97" height="31">
</UIATextField>
<UIAButton name="ComputeSumButton" label="Compute Sum" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/2" x="94" y="142" width="113" height="37">
</UIAButton>
<UIAStaticText name="Answer" label="SumLabel" value="SumLabel" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/3" x="129" y="187" width="42" height="21">
</UIAStaticText>
<UIAButton name="show alert" label="show alert" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/4" x="26" y="227" width="76" height="44">
</UIAButton>
<UIAButton name="contact alert" label="contact alert" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/5" x="110" y="234" width="113" height="44">
</UIAButton>
<UIAButton name="location alert" label="location alert" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/6" x="204" y="234" width="116" height="44">
</UIAButton>
<UIAStaticText name="AppElem" label="AppElem" value="AppElem" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/7" x="122" y="279" width="56" height="21">
</UIAStaticText>
<UIASlider name="AppElem" label="AppElem" value="50%" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/8" x="91" y="308" width="118" height="23">
</UIASlider>
<UIAStaticText name="AppElem" label="AppElem" value="AppElem" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/9" x="122" y="338" width="56" height="21">
</UIAStaticText>
<UIAButton name="DisabledButton" label="disabled button" value="" dom="" enabled="false" valid="true" visible="true" hint="" path="/0/0/10" x="83" y="367" width="136" height="28">
</UIAButton>
<UIAStaticText name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/0/11" x="82" y="403" width="73" height="21">
</UIAStaticText>
<UIASwitch name="locationStatus" label="locationStatus" value="1" dom="" enabled="false" valid="true" visible="true" hint="" path="/0/0/12" x="177" y="398" width="79" height="27">
</UIASwitch>
<UIAButton name="Test Gesture" label="Test Gesture" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/13" x="93" y="417" width="116" height="44">
</UIAButton>
</UIAWindow>
<UIAWindow name="" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/1" x="0" y="0" width="320" height="480">
<UIAStatusBar name="" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/1/0" x="0" y="0" width="320" height="20">
<UIAElement name="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/0" x="4" y="0" width="43" height="20">
</UIAElement>
<UIAElement name="3 of 3 bars, Wi-Fi signal strength" label="3 of 3 bars, Wi-Fi signal strength" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/1" x="52" y="0" width="20" height="20">
</UIAElement>
<UIAElement name="1:00 PM" label="1:00 PM" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/2" x="134" y="0" width="53" height="20">
</UIAElement>
<UIAElement name="100% battery power" label="100% battery power" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/3" x="296" y="0" width="21" height="20">
</UIAElement>
</UIAStatusBar>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/1" x="0" y="20" width="3" height="3">
</UIAImage>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/2" x="317" y="20" width="3" height="3">
</UIAImage>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/3" x="0" y="477" width="3" height="3">
</UIAImage>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/4" x="317" y="477" width="3" height="3">
</UIAImage>
</UIAWindow>
</UIAApplication>
</AppiumAUT>
> CALL source()
> GET /session/:sessionID/source
> RESPONSE source() "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<AppiumAUT>\n <UIAApplication name=\"TestApp\" label=\"TestApp\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0\" x=\"0\" y=\"20\" width=\"320\" height=\"460\">\n <UIAWindow name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0\" x=\"0\" y=\"0\" width=\"320\" height=\"480\">\n <UIATextField name=\"IntegerA\" label=\"TextField1\" val...
source --> <?xml version="1.0" encoding="UTF-8"?>
<AppiumAUT>
<UIAApplication name="TestApp" label="TestApp" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0" x="0" y="20" width="320" height="460">
<UIAWindow name="" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0" x="0" y="0" width="320" height="480">
<UIATextField name="IntegerA" label="TextField1" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/0" x="102" y="58" width="97" height="31">
</UIATextField>
<UIATextField name="IntegerB" label="TextField2" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/1" x="102" y="97" width="97" height="31">
</UIATextField>
<UIAButton name="ComputeSumButton" label="Compute Sum" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/2" x="94" y="142" width="113" height="37">
</UIAButton>
<UIAStaticText name="Answer" label="SumLabel" value="SumLabel" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/3" x="129" y="187" width="42" height="21">
</UIAStaticText>
<UIAButton name="show alert" label="show alert" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/4" x="26" y="227" width="76" height="44">
</UIAButton>
<UIAButton name="contact alert" label="contact alert" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/5" x="110" y="234" width="113" height="44">
</UIAButton>
<UIAButton name="location alert" label="location alert" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/6" x="204" y="234" width="116" height="44">
</UIAButton>
<UIAStaticText name="AppElem" label="AppElem" value="AppElem" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/7" x="122" y="279" width="56" height="21">
</UIAStaticText>
<UIASlider name="AppElem" label="AppElem" value="50%" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/8" x="91" y="308" width="118" height="23">
</UIASlider>
<UIAStaticText name="AppElem" label="AppElem" value="AppElem" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/9" x="122" y="338" width="56" height="21">
</UIAStaticText>
<UIAButton name="DisabledButton" label="disabled button" value="" dom="" enabled="false" valid="true" visible="true" hint="" path="/0/0/10" x="83" y="367" width="136" height="28">
</UIAButton>
<UIAStaticText name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/0/11" x="82" y="403" width="73" height="21">
</UIAStaticText>
<UIASwitch name="locationStatus" label="locationStatus" value="1" dom="" enabled="false" valid="true" visible="true" hint="" path="/0/0/12" x="177" y="398" width="79" height="27">
</UIASwitch>
<UIAButton name="Test Gesture" label="Test Gesture" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/13" x="93" y="417" width="116" height="44">
</UIAButton>
</UIAWindow>
<UIAWindow name="" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/1" x="0" y="0" width="320" height="480">
<UIAStatusBar name="" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/1/0" x="0" y="0" width="320" height="20">
<UIAElement name="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/0" x="4" y="0" width="43" height="20">
</UIAElement>
<UIAElement name="3 of 3 bars, Wi-Fi signal strength" label="3 of 3 bars, Wi-Fi signal strength" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/1" x="52" y="0" width="20" height="20">
</UIAElement>
<UIAElement name="1:00 PM" label="1:00 PM" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/2" x="134" y="0" width="53" height="20">
</UIAElement>
<UIAElement name="100% battery power" label="100% battery power" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/3" x="296" y="0" width="21" height="20">
</UIAElement>
</UIAStatusBar>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/1" x="0" y="20" width="3" height="3">
</UIAImage>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/2" x="317" y="20" width="3" height="3">
</UIAImage>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/3" x="0" y="477" width="3" height="3">
</UIAImage>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/4" x="317" y="477" width="3" height="3">
</UIAImage>
</UIAWindow>
</UIAApplication>
</AppiumAUT>
> CALL source()
> GET /session/:sessionID/source
> RESPONSE source() "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<AppiumAUT>\n <UIAApplication name=\"TestApp\" label=\"TestApp\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0\" x=\"0\" y=\"20\" width=\"320\" height=\"460\">\n <UIAWindow name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0\" x=\"0\" y=\"0\" width=\"320\" height=\"480\">\n <UIATextField name=\"IntegerA\" label=\"TextField1\" val...
source --> <?xml version="1.0" encoding="UTF-8"?>
<AppiumAUT>
<UIAApplication name="TestApp" label="TestApp" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0" x="0" y="20" width="320" height="460">
<UIAWindow name="" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0" x="0" y="0" width="320" height="480">
<UIATextField name="IntegerA" label="TextField1" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/0" x="102" y="58" width="97" height="31">
</UIATextField>
<UIATextField name="IntegerB" label="TextField2" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/1" x="102" y="97" width="97" height="31">
</UIATextField>
<UIAButton name="ComputeSumButton" label="Compute Sum" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/2" x="94" y="142" width="113" height="37">
</UIAButton>
<UIAStaticText name="Answer" label="SumLabel" value="SumLabel" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/3" x="129" y="187" width="42" height="21">
</UIAStaticText>
<UIAButton name="show alert" label="show alert" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/4" x="26" y="227" width="76" height="44">
</UIAButton>
<UIAButton name="contact alert" label="contact alert" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/5" x="110" y="234" width="113" height="44">
</UIAButton>
<UIAButton name="location alert" label="location alert" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/6" x="204" y="234" width="116" height="44">
</UIAButton>
<UIAStaticText name="AppElem" label="AppElem" value="AppElem" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/7" x="122" y="279" width="56" height="21">
</UIAStaticText>
<UIASlider name="AppElem" label="AppElem" value="50%" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/8" x="91" y="308" width="118" height="23">
</UIASlider>
<UIAStaticText name="AppElem" label="AppElem" value="AppElem" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/9" x="122" y="338" width="56" height="21">
</UIAStaticText>
<UIAButton name="DisabledButton" label="disabled button" value="" dom="" enabled="false" valid="true" visible="true" hint="" path="/0/0/10" x="83" y="367" width="136" height="28">
</UIAButton>
<UIAStaticText name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/0/11" x="82" y="403" width="73" height="21">
</UIAStaticText>
<UIASwitch name="locationStatus" label="locationStatus" value="1" dom="" enabled="false" valid="true" visible="true" hint="" path="/0/0/12" x="177" y="398" width="79" height="27">
</UIASwitch>
<UIAButton name="Test Gesture" label="Test Gesture" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/13" x="93" y="417" width="116" height="44">
</UIAButton>
</UIAWindow>
<UIAWindow name="" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/1" x="0" y="0" width="320" height="480">
<UIAStatusBar name="" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/1/0" x="0" y="0" width="320" height="20">
<UIAElement name="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/0" x="4" y="0" width="43" height="20">
</UIAElement>
<UIAElement name="3 of 3 bars, Wi-Fi signal strength" label="3 of 3 bars, Wi-Fi signal strength" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/1" x="52" y="0" width="20" height="20">
</UIAElement>
<UIAElement name="1:00 PM" label="1:00 PM" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/2" x="134" y="0" width="53" height="20">
</UIAElement>
<UIAElement name="100% battery power" label="100% battery power" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/3" x="296" y="0" width="21" height="20">
</UIAElement>
</UIAStatusBar>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/1" x="0" y="20" width="3" height="3">
</UIAImage>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/2" x="317" y="20" width="3" height="3">
</UIAImage>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/3" x="0" y="477" width="3" height="3">
</UIAImage>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/4" x="317" y="477" width="3" height="3">
</UIAImage>
</UIAWindow>
</UIAApplication>
</AppiumAUT>
> CALL source()
> GET /session/:sessionID/source
> RESPONSE source() "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<AppiumAUT>\n <UIAApplication name=\"TestApp\" label=\"TestApp\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0\" x=\"0\" y=\"20\" width=\"320\" height=\"460\">\n <UIAWindow name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0\" x=\"0\" y=\"0\" width=\"320\" height=\"480\">\n <UIATextField name=\"IntegerA\" label=\"TextField1\" val...
source --> <?xml version="1.0" encoding="UTF-8"?>
<AppiumAUT>
<UIAApplication name="TestApp" label="TestApp" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0" x="0" y="20" width="320" height="460">
<UIAWindow name="" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0" x="0" y="0" width="320" height="480">
<UIATextField name="IntegerA" label="TextField1" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/0" x="102" y="58" width="97" height="31">
</UIATextField>
<UIATextField name="IntegerB" label="TextField2" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/1" x="102" y="97" width="97" height="31">
</UIATextField>
<UIAButton name="ComputeSumButton" label="Compute Sum" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/2" x="94" y="142" width="113" height="37">
</UIAButton>
<UIAStaticText name="Answer" label="SumLabel" value="SumLabel" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/3" x="129" y="187" width="42" height="21">
</UIAStaticText>
<UIAButton name="show alert" label="show alert" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/4" x="26" y="227" width="76" height="44">
</UIAButton>
<UIAButton name="contact alert" label="contact alert" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/5" x="110" y="234" width="113" height="44">
</UIAButton>
<UIAButton name="location alert" label="location alert" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/6" x="204" y="234" width="116" height="44">
</UIAButton>
<UIAStaticText name="AppElem" label="AppElem" value="AppElem" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/7" x="122" y="279" width="56" height="21">
</UIAStaticText>
<UIASlider name="AppElem" label="AppElem" value="50%" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/8" x="91" y="308" width="118" height="23">
</UIASlider>
<UIAStaticText name="AppElem" label="AppElem" value="AppElem" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/9" x="122" y="338" width="56" height="21">
</UIAStaticText>
<UIAButton name="DisabledButton" label="disabled button" value="" dom="" enabled="false" valid="true" visible="true" hint="" path="/0/0/10" x="83" y="367" width="136" height="28">
</UIAButton>
<UIAStaticText name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/0/11" x="82" y="403" width="73" height="21">
</UIAStaticText>
<UIASwitch name="locationStatus" label="locationStatus" value="1" dom="" enabled="false" valid="true" visible="true" hint="" path="/0/0/12" x="177" y="398" width="79" height="27">
</UIASwitch>
<UIAButton name="Test Gesture" label="Test Gesture" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/13" x="93" y="417" width="116" height="44">
</UIAButton>
</UIAWindow>
<UIAWindow name="" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/1" x="0" y="0" width="320" height="480">
<UIAStatusBar name="" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/1/0" x="0" y="0" width="320" height="20">
<UIAElement name="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/0" x="4" y="0" width="43" height="20">
</UIAElement>
<UIAElement name="3 of 3 bars, Wi-Fi signal strength" label="3 of 3 bars, Wi-Fi signal strength" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/1" x="52" y="0" width="20" height="20">
</UIAElement>
<UIAElement name="1:00 PM" label="1:00 PM" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/2" x="134" y="0" width="53" height="20">
</UIAElement>
<UIAElement name="100% battery power" label="100% battery power" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/3" x="296" y="0" width="21" height="20">
</UIAElement>
</UIAStatusBar>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/1" x="0" y="20" width="3" height="3">
</UIAImage>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/2" x="317" y="20" width="3" height="3">
</UIAImage>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/3" x="0" y="477" width="3" height="3">
</UIAImage>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/4" x="317" y="477" width="3" height="3">
</UIAImage>
</UIAWindow>
</UIAApplication>
</AppiumAUT>
> CALL source()
> GET /session/:sessionID/source
> RESPONSE source() "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<AppiumAUT>\n <UIAApplication name=\"TestApp\" label=\"TestApp\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0\" x=\"0\" y=\"20\" width=\"320\" height=\"460\">\n <UIAWindow name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0\" x=\"0\" y=\"0\" width=\"320\" height=\"480\">\n <UIATextField name=\"IntegerA\" label=\"TextField1\" val...
source --> <?xml version="1.0" encoding="UTF-8"?>
<AppiumAUT>
<UIAApplication name="TestApp" label="TestApp" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0" x="0" y="20" width="320" height="460">
<UIAWindow name="" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0" x="0" y="0" width="320" height="480">
<UIATextField name="IntegerA" label="TextField1" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/0" x="102" y="58" width="97" height="31">
</UIATextField>
<UIATextField name="IntegerB" label="TextField2" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/1" x="102" y="97" width="97" height="31">
</UIATextField>
<UIAButton name="ComputeSumButton" label="Compute Sum" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/2" x="94" y="142" width="113" height="37">
</UIAButton>
<UIAStaticText name="Answer" label="SumLabel" value="SumLabel" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/3" x="129" y="187" width="42" height="21">
</UIAStaticText>
<UIAButton name="show alert" label="show alert" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/4" x="26" y="227" width="76" height="44">
</UIAButton>
<UIAButton name="contact alert" label="contact alert" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/5" x="110" y="234" width="113" height="44">
</UIAButton>
<UIAButton name="location alert" label="location alert" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/6" x="204" y="234" width="116" height="44">
</UIAButton>
<UIAStaticText name="AppElem" label="AppElem" value="AppElem" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/7" x="122" y="279" width="56" height="21">
</UIAStaticText>
<UIASlider name="AppElem" label="AppElem" value="50%" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/8" x="91" y="308" width="118" height="23">
</UIASlider>
<UIAStaticText name="AppElem" label="AppElem" value="AppElem" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/9" x="122" y="338" width="56" height="21">
</UIAStaticText>
<UIAButton name="DisabledButton" label="disabled button" value="" dom="" enabled="false" valid="true" visible="true" hint="" path="/0/0/10" x="83" y="367" width="136" height="28">
</UIAButton>
<UIAStaticText name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/0/11" x="82" y="403" width="73" height="21">
</UIAStaticText>
<UIASwitch name="locationStatus" label="locationStatus" value="1" dom="" enabled="false" valid="true" visible="true" hint="" path="/0/0/12" x="177" y="398" width="79" height="27">
</UIASwitch>
<UIAButton name="Test Gesture" label="Test Gesture" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/13" x="93" y="417" width="116" height="44">
</UIAButton>
</UIAWindow>
<UIAWindow name="" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/1" x="0" y="0" width="320" height="480">
<UIAStatusBar name="" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/1/0" x="0" y="0" width="320" height="20">
<UIAElement name="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/0" x="4" y="0" width="43" height="20">
</UIAElement>
<UIAElement name="3 of 3 bars, Wi-Fi signal strength" label="3 of 3 bars, Wi-Fi signal strength" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/1" x="52" y="0" width="20" height="20">
</UIAElement>
<UIAElement name="1:00 PM" label="1:00 PM" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/2" x="134" y="0" width="53" height="20">
</UIAElement>
<UIAElement name="100% battery power" label="100% battery power" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/3" x="296" y="0" width="21" height="20">
</UIAElement>
</UIAStatusBar>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/1" x="0" y="20" width="3" height="3">
</UIAImage>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/2" x="317" y="20" width="3" height="3">
</UIAImage>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/3" x="0" y="477" width="3" height="3">
</UIAImage>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/4" x="317" y="477" width="3" height="3">
</UIAImage>
</UIAWindow>
</UIAApplication>
</AppiumAUT>
> CALL source()
> GET /session/:sessionID/source
> RESPONSE source() "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<AppiumAUT>\n <UIAApplication name=\"TestApp\" label=\"TestApp\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0\" x=\"0\" y=\"20\" width=\"320\" height=\"460\">\n <UIAWindow name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0\" x=\"0\" y=\"0\" width=\"320\" height=\"480\">\n <UIATextField name=\"IntegerA\" label=\"TextField1\" val...
source --> <?xml version="1.0" encoding="UTF-8"?>
<AppiumAUT>
<UIAApplication name="TestApp" label="TestApp" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0" x="0" y="20" width="320" height="460">
<UIAWindow name="" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0" x="0" y="0" width="320" height="480">
<UIATextField name="IntegerA" label="TextField1" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/0" x="102" y="58" width="97" height="31">
</UIATextField>
<UIATextField name="IntegerB" label="TextField2" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/1" x="102" y="97" width="97" height="31">
</UIATextField>
<UIAButton name="ComputeSumButton" label="Compute Sum" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/2" x="94" y="142" width="113" height="37">
</UIAButton>
<UIAStaticText name="Answer" label="SumLabel" value="SumLabel" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/3" x="129" y="187" width="42" height="21">
</UIAStaticText>
<UIAButton name="show alert" label="show alert" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/4" x="26" y="227" width="76" height="44">
</UIAButton>
<UIAButton name="contact alert" label="contact alert" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/5" x="110" y="234" width="113" height="44">
</UIAButton>
<UIAButton name="location alert" label="location alert" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/6" x="204" y="234" width="116" height="44">
</UIAButton>
<UIAStaticText name="AppElem" label="AppElem" value="AppElem" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/7" x="122" y="279" width="56" height="21">
</UIAStaticText>
<UIASlider name="AppElem" label="AppElem" value="50%" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/8" x="91" y="308" width="118" height="23">
</UIASlider>
<UIAStaticText name="AppElem" label="AppElem" value="AppElem" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/9" x="122" y="338" width="56" height="21">
</UIAStaticText>
<UIAButton name="DisabledButton" label="disabled button" value="" dom="" enabled="false" valid="true" visible="true" hint="" path="/0/0/10" x="83" y="367" width="136" height="28">
</UIAButton>
<UIAStaticText name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/0/11" x="82" y="403" width="73" height="21">
</UIAStaticText>
<UIASwitch name="locationStatus" label="locationStatus" value="1" dom="" enabled="false" valid="true" visible="true" hint="" path="/0/0/12" x="177" y="398" width="79" height="27">
</UIASwitch>
<UIAButton name="Test Gesture" label="Test Gesture" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/0/13" x="93" y="417" width="116" height="44">
</UIAButton>
</UIAWindow>
<UIAWindow name="" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/1" x="0" y="0" width="320" height="480">
<UIAStatusBar name="" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="" path="/0/1/0" x="0" y="0" width="320" height="20">
<UIAElement name="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" label="" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/0" x="4" y="0" width="43" height="20">
</UIAElement>
<UIAElement name="3 of 3 bars, Wi-Fi signal strength" label="3 of 3 bars, Wi-Fi signal strength" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/1" x="52" y="0" width="20" height="20">
</UIAElement>
<UIAElement name="1:00 PM" label="1:00 PM" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/2" x="134" y="0" width="53" height="20">
</UIAElement>
<UIAElement name="100% battery power" label="100% battery power" value="" dom="" enabled="true" valid="true" visible="true" hint="Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top" path="/0/1/0/3" x="296" y="0" width="21" height="20">
</UIAElement>
</UIAStatusBar>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/1" x="0" y="20" width="3" height="3">
</UIAImage>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/2" x="317" y="20" width="3" height="3">
</UIAImage>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/3" x="0" y="477" width="3" height="3">
</UIAImage>
<UIAImage name="" label="" value="" dom="" enabled="true" valid="true" visible="false" hint="" path="/0/1/4" x="317" y="477" width="3" height="3">
</UIAImage>
</UIAWindow>
</UIAApplication>
</AppiumAUT>
1) should return page source
> CALL noop()
> RESPONSE noop()
> CALL quit()
> DELETE /session/:sessionID
Ending your web drivage..
> RESPONSE quit()
> CALL sleep(3000)
> RESPONSE sleep(3000)
0 passing (28s)
1 failing
1) testapp - source @skip-ios6 should return page source:
Error: [waitFor({},3000)] Condition wasn't satisfied!
at /Users/sebv/Documents/Work/appium/node_modules/wd/lib/commands.js:890:14
at /Users/sebv/Documents/Work/appium/node_modules/wd/lib/commands.js:875:33
at _rejected (/Users/sebv/Documents/Work/appium/node_modules/q/q.js:797:24)
at /Users/sebv/Documents/Work/appium/node_modules/q/q.js:823:30
at Promise.when (/Users/sebv/Documents/Work/appium/node_modules/q/q.js:1035:31)
at Promise.promise.promiseDispatch (/Users/sebv/Documents/Work/appium/node_modules/q/q.js:741:41)
at /Users/sebv/Documents/Work/appium/node_modules/q/q.js:557:44
at flush (/Users/sebv/Documents/Work/appium/node_modules/q/q.js:108:17)
at process._tickCallback (node.js:419:13)
➜ appium git:(v1.3.4-branch) ✗
➜ appium git:(v1.3.4-branch) ✗ node .
info: Welcome to Appium v1.3.3 (REV c975c4f185d9f7bb225d21f89cfd4c978cf40ec4)
info: Appium REST http interface listener started on 0.0.0.0:4723
info: Console LogLevel: debug
info: --> POST /wd/hub/session {"desiredCapabilities":{"app":"sample-code/apps/TestApp/build/Release-iphonesimulator/TestApp.app","browserName":"","deviceName":"iPhone 5s","launchTimeout":60000,"platformName":"iOS","platformVersion":"6.1"}}
info: Client User-Agent string: undefined
info: [debug] Using local app from desired caps: /Users/sebv/Documents/Work/appium/sample-code/apps/TestApp/build/Release-iphonesimulator/TestApp.app
info: [debug] Creating new appium session d90e6a6d-2979-43af-9f08-8524120908d1
info: [debug] Removing any remaining instruments sockets
info: [debug] Cleaned up instruments socket /tmp/instruments_sock
info: [debug] Setting Xcode folder
info: [debug] Setting Xcode version
info: [debug] Setting iOS SDK Version
info: [debug] Getting sdk version from xcrun with a timeout
info: [debug] iOS SDK Version set to 7.1
info: [debug] Checking whether instruments supports our device string
info: [debug] Getting list of devices instruments supports
info: [debug] Instruments is at: /Applications/Xcode-7.1.app/Contents/Developer/usr/bin/instruments
info: [debug] Getting device string from opts: {"forceIphone":false,"forceIpad":false,"xcodeVersion":"5.1.1","iOSSDKVersion":"7.1","deviceName":"iPhone 5s","platformVersion":"6.1"}
info: [debug] fixDevice is on
info: [debug] Final device string is: 'iPhone - Simulator - iOS 6.1'
info: [debug] Detecting automation tracetemplate
info: [debug] Not auto-detecting udid, running on sim
info: [debug] Parsed app Info.plist (as binary)
info: [debug] Parsed app Localizable.strings
info: [debug] Getting bundle ID from app
info: [debug] Parsed app Info.plist (as binary)
info: [debug] Creating instruments
info: [debug] Preparing uiauto bootstrap
info: [debug] Dynamic bootstrap dir: /Users/sebv/Library/Application Support/appium/bootstrap
info: [debug] Dynamic env: {"nodePath":"/usr/local/bin/node","commandProxyClientPath":"/Users/sebv/Documents/Work/appium/submodules/appium-uiauto/bin/command-proxy-client.js","instrumentsSock":"/tmp/instruments_sock","interKeyDelay":null,"justLoopInfinitely":false,"autoAcceptAlerts":false,"sendKeyStrategy":"oneByOne"}
info: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually mo...y!
info: [debug] Dynamic bootstrap path: /Users/sebv/Library/Application Support/appium/bootstrap/bootstrap-9558ecf7dea8139f.js
info: [debug] Reusing dynamic bootstrap: /Users/sebv/Library/Application Support/appium/bootstrap/bootstrap-9558ecf7dea8139f.js
info: [debug] Getting device string from opts: {"forceIphone":false,"forceIpad":false,"xcodeVersion":"5.1.1","iOSSDKVersion":"7.1","deviceName":"iPhone 5s","platformVersion":"6.1"}
info: [debug] fixDevice is on
info: [debug] Final device string is: 'iPhone - Simulator - iOS 6.1'
info: [debug] We're on iOS7.1+ so forcing defaultDevice on
info: [debug] Getting device string from opts: {"forceIphone":false,"forceIpad":false,"xcodeVersion":"5.1.1","iOSSDKVersion":"7.1","deviceName":"iPhone 5s","platformVersion":"6.1"}
info: [debug] fixDevice is on
info: [debug] Final device string is: 'iPhone - Simulator - iOS 6.1'
info: [debug] Parsed app Info.plist (as binary)
info: [debug] Wrote new app Info.plist with device type
info: [debug] Checking whether we need to set app preferences
info: [debug] Running ios sim reset flow
info: [debug] Killing the simulator process
info: [debug] Killall iPhoneSimulator
info: [debug] Killing any other simulator daemons
info: [debug] Cleaning sim data files
info: [debug] Deleting /Users/sebv/Library/Application Support/iPhone Simulator/7.1-64/Library/TCC
info: [debug] Deleting /Users/sebv/Library/Application Support/iPhone Simulator/7.1-64/Library/Caches/locationd
info: [debug] Deleting /Users/sebv/Library/Application Support/iPhone Simulator/7.1-64/Library/BackBoard/applicationState.plist
info: [debug] Deleting /Users/sebv/Library/Application Support/iPhone Simulator/7.1-64/Media
info: [debug] Deleting /Users/sebv/Library/Application Support/iPhone Simulator/7.1-64/Library/Keychains
info: [debug] Cleaning sim preferences
info: [debug] Cleaning app data files
info: Couldn't find app directories to delete. Probably it's not installed
info: [debug] Not setting locale
info: [debug] No iOS / app preferences to set
info: [debug] Starting iOS 7.* simulator log capture
info: [debug] Not pre-launching simulator
info: [debug] No device id or app, not installing to real device.
info: [debug] Starting command proxy.
info: [debug] Instruments socket server started at /tmp/instruments_sock
info: [debug] Starting instruments
info: [debug] Instruments is at: /Applications/Xcode-7.1.app/Contents/Developer/usr/bin/instruments
info: Launching instruments
info: [debug] Attempting to run app on iPhone - Simulator - iOS 6.1
info: [debug] Spawning instruments with command: /Applications/Xcode-7.1.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode-7.1.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w "iPhone - Simulator - iOS 6.1" /Users/sebv/Documents/Work/appium/sample-code/apps/TestApp/build/Release-iphonesimulator/TestApp.app -e UIASCRIPT "/Users/sebv/Library/Application Support/appium/bootstrap/bootstrap-9558ecf7dea8139f.js" -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {"DYLD_INSERT_LIBRARIES":"/Users/sebv/Documents/Work/appium/submodules/appium-instruments/thirdparty/iwd5/InstrumentsShim.dylib","LIB_PATH":"/Users/sebv/Documents/Work/appium/submodules/appium-instruments/thirdparty/iwd5"}
info: [debug] And launch timeouts (in ms): {"global":60000}
info: Instruments is ready to receive commands
info: [debug] Instruments launched. Starting poll loop for new commands.
info: [debug] Setting bootstrap config keys/values
info: [debug] Pushing command to appium work queue: "target = $.target();\nau = $;\n$.isVerbose = true;\n"
info: [debug] Socket data received (2 bytes)
info: [debug] Socket data being routed.
info: [debug] Sending command to instruments: target = $.target();
au = $;
$.isVerbose = true;
info: [debug] [INST] 2014-11-25 04:59:58 +0000 Debug: evaluation finished
info: [debug] [INST] 2014-11-25 04:59:58 +0000 Debug: responding with:
info: [debug] [INST] 2014-11-25 04:59:58 +0000 Debug: Running system command #1: /usr/local/bin/node /Users/sebv/Documents/Work/appium/submodules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{"status":0,"value":true}...
info: [debug] Socket data received (27 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {"status":0,"value":true}
info: [debug] Setting initial orientation to PORTRAIT
info: [debug] Pushing command to appium work queue: "au.setScreenOrientation('PORTRAIT')"
info: [debug] Sending command to instruments: au.setScreenOrientation('PORTRAIT')
info: [debug] [INST] 2014-11-25 04:59:58 +0000 Debug: Got new command 1 from instruments: au.setScreenOrientation('PORTRAIT')
info: [debug] [INST] 2014-11-25 04:59:58 +0000 Debug: evaluating au.setScreenOrientation('PORTRAIT')
info: [debug] [INST] 2014-11-25 04:59:58 +0000 Debug: target.setDeviceOrientation("1")
info: [debug] [INST] 2014-11-25 04:59:58 +0000 Debug: evaluation finished
info: [debug] [INST] 2014-11-25 04:59:58 +0000 Debug: responding with:
info: [debug] [INST] 2014-11-25 04:59:58 +0000 Debug: Running system command #2: /usr/local/bin/node /Users/sebv/Documents/Work/appium/submodules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{"status":0,"value":"PORTRAIT"}...
info: [debug] Socket data received (33 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {"status":0,"value":"PORTRAIT"}
info: [debug] Waiting for app source to contain elements
info: [debug] Pushing command to appium work queue: "au.mainApp().getTreeForXML()"
info: [debug] Sending command to instruments: au.mainApp().getTreeForXML()
info: [debug] [INST] 2014-11-25 04:59:58 +0000 Debug: Got new command 2 from instruments: au.mainApp().getTreeForXML()
info: [debug] [INST] 2014-11-25 04:59:58 +0000 Debug: evaluating au.mainApp().getTreeForXML()
info: [debug] [INST] 2014-11-25 04:59:58 +0000 Debug: evaluation finished
info: [debug] [INST] 2014-11-25 04:59:58 +0000 Debug: responding with:lid":true,"visible":true,"hint":null,"path":"/0/0","x":0,"y":0,"width":320,"height":480},">":[{"UIATextField":{"@":{"name":"IntegerA","label":"TextField1","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/0","x":102,"y":58,"width":97,"height":31},">":[]}},{"UIATextField":{"@":{"name":"IntegerB","label":"TextField2","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/1","x":102,"y":97,"width":97,"height":31},">":[]}},{"UIAButton":{"@":{"name":"ComputeSumButton","label":"Compute Sum","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/2","x":94,"y":142,"width":113,"height":37},">":[]}},{"UIAStaticText":{"@":{"name":"Answer","label":"SumLabel","value":"SumLabel","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/3","x":129,"y":187,"width":42,"height":21},">":[]}},{"UIAButton":{"@":{"name":"show alert","label":"show alert","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/4","x":26,"y":227,"width":76,"height":44},">":[]}},{"UIAButton":{"@":{"name":"contact alert","label":"contact alert","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/5","x":110,"y":234,"width":113,"height":44},">":[]}},{"UIAButton":{"@":{"name":"location alert","label":"location alert","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/6","x":204,"y":234,"width":116,"height":44},">":[]}},{"UIAStaticText":{"@":{"name":"AppElem","label":"AppElem","value":"AppElem","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/7","x":122,"y":279,"width":56,"height":21},">":[]}},{"UIASlider":{"@":{"name":"AppElem","label":"AppElem","value":"50%","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/8","x":91,"y":308,"width":118,"height":23},">":[]}},{"UIAStaticText":{"@":{"name":"AppElem","label":"AppElem","value":"AppElem","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/9","x":122,"y":338,"width":56,"height":21},">":[]}},{"UIAButton":{"@":{"name":"DisabledButton","label":"disabled button","value":null,"dom":null,"enabled":false,"valid":true,"visible":true,"hint":null,"path":"/0/0/10","x":83,"y":367,"width":136,"height":28},">":[]}},{"UIAStaticText":{"@":{"name":null,"label":"","value":"","dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/0/11","x":82,"y":403,"width":73,"height":21},">":[]}},{"UIASwitch":{"@":{"name":"locationStatus","label":"locationStatus","value":1,"dom":null,"enabled":false,"valid":true,"visible":true,"hint":null,"path":"/0/0/12","x":177,"y":398,"width":79,"height":27},">":[]}},{"UIAButton":{"@":{"name":"Test Gesture","label":"Test Gesture","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/13","x":93,"y":417,"width":116,"height":44},">":[]}}]}},{"UIAWindow":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1","x":0,"y":0,"width":320,"height":480},">":[{"UIAStatusBar":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0","x":0,"y":0,"width":320,"height":20},">":[{"UIAElement":{"@":{"name":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/0","x":4,"y":0,"width":43,"height":20},">":[]}},{"UIAElement":{"@":{"name":"3 of 3 bars, Wi-Fi signal strength","label":"3 of 3 bars, Wi-Fi signal strength","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/1","x":52,"y":0,"width":20,"height":20},">":[]}},{"UIAElement":{"@":{"name":"12:59 PM","label":"12:59 PM","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/2","x":130,"y":0,"width":61,"height":20},">":[]}},{"UIAElement":{"@":{"name":"100% battery power","label":"100% battery power","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/3","x":296,"y":0,"width":21,"height":20},">":[]}}]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/1","x":0,"y":20,"width":3,"height":3},">":[]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/2","x":317,"y":20,"width":3,"height":3},">":[]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/3","x":0,"y":477,"width":3,"height":3},">":[]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/4","x":317,"y":477,"width":3,"height":3},">":[]}}]}}]}}}
info: [debug] [INST] 2014-11-25 04:59:58 +0000 Debug: Running system command #3: /usr/local/bin/node /Users/sebv/Documents/Work/appium/submodules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{"status":0,"value":{"UIAApplication":{"@":{"name":"TestApp","label":"TestApp","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0"...
info: [debug] Socket data received (5717 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {"status":0,"value":{"UIAApplication":{"@":{"name":"TestApp","label":"TestApp","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":20,"width":320,"height":460},">":[{"UIAWindow":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"va
info: [debug] Device launched! Ready for commands
info: [debug] Setting command timeout to the default of 60 secs
info: [debug] Appium session started with sessionId d90e6a6d-2979-43af-9f08-8524120908d1
info: <-- POST /wd/hub/session 303 20366.417 ms - 9
info: --> POST /wd/hub/session/d90e6a6d-2979-43af-9f08-8524120908d1/timeouts/implicit_wait {"ms":5000}
info: [debug] Set iOS implicit wait to 5000ms
info: [debug] Responding to client with success: {"status":0,"value":null,"sessionId":"d90e6a6d-2979-43af-9f08-8524120908d1"}
info: <-- POST /wd/hub/session/d90e6a6d-2979-43af-9f08-8524120908d1/timeouts/implicit_wait 200 5.602 ms - 76 {"status":0,"value":null,"sessionId":"d90e6a6d-2979-43af-9f08-8524120908d1"}
info: --> GET /wd/hub/session/d90e6a6d-2979-43af-9f08-8524120908d1/source {}
info: [debug] Pushing command to appium work queue: "au.mainApp().getTreeForXML()"
info: [debug] Sending command to instruments: au.mainApp().getTreeForXML()
info: [debug] [INST] 2014-11-25 04:59:59 +0000 Debug: Got new command 3 from instruments: au.mainApp().getTreeForXML()
info: [debug] [INST] 2014-11-25 04:59:59 +0000 Debug: evaluating au.mainApp().getTreeForXML()
info: [debug] [INST] 2014-11-25 04:59:59 +0000 Debug: evaluation finished
info: [debug] [INST] 2014-11-25 04:59:59 +0000 Debug: responding with:lid":true,"visible":true,"hint":null,"path":"/0/0","x":0,"y":0,"width":320,"height":480},">":[{"UIATextField":{"@":{"name":"IntegerA","label":"TextField1","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/0","x":102,"y":58,"width":97,"height":31},">":[]}},{"UIATextField":{"@":{"name":"IntegerB","label":"TextField2","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/1","x":102,"y":97,"width":97,"height":31},">":[]}},{"UIAButton":{"@":{"name":"ComputeSumButton","label":"Compute Sum","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/2","x":94,"y":142,"width":113,"height":37},">":[]}},{"UIAStaticText":{"@":{"name":"Answer","label":"SumLabel","value":"SumLabel","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/3","x":129,"y":187,"width":42,"height":21},">":[]}},{"UIAButton":{"@":{"name":"show alert","label":"show alert","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/4","x":26,"y":227,"width":76,"height":44},">":[]}},{"UIAButton":{"@":{"name":"contact alert","label":"contact alert","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/5","x":110,"y":234,"width":113,"height":44},">":[]}},{"UIAButton":{"@":{"name":"location alert","label":"location alert","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/6","x":204,"y":234,"width":116,"height":44},">":[]}},{"UIAStaticText":{"@":{"name":"AppElem","label":"AppElem","value":"AppElem","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/7","x":122,"y":279,"width":56,"height":21},">":[]}},{"UIASlider":{"@":{"name":"AppElem","label":"AppElem","value":"50%","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/8","x":91,"y":308,"width":118,"height":23},">":[]}},{"UIAStaticText":{"@":{"name":"AppElem","label":"AppElem","value":"AppElem","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/9","x":122,"y":338,"width":56,"height":21},">":[]}},{"UIAButton":{"@":{"name":"DisabledButton","label":"disabled button","value":null,"dom":null,"enabled":false,"valid":true,"visible":true,"hint":null,"path":"/0/0/10","x":83,"y":367,"width":136,"height":28},">":[]}},{"UIAStaticText":{"@":{"name":null,"label":"","value":"","dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/0/11","x":82,"y":403,"width":73,"height":21},">":[]}},{"UIASwitch":{"@":{"name":"locationStatus","label":"locationStatus","value":1,"dom":null,"enabled":false,"valid":true,"visible":true,"hint":null,"path":"/0/0/12","x":177,"y":398,"width":79,"height":27},">":[]}},{"UIAButton":{"@":{"name":"Test Gesture","label":"Test Gesture","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/13","x":93,"y":417,"width":116,"height":44},">":[]}}]}},{"UIAWindow":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1","x":0,"y":0,"width":320,"height":480},">":[{"UIAStatusBar":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0","x":0,"y":0,"width":320,"height":20},">":[{"UIAElement":{"@":{"name":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/0","x":4,"y":0,"width":43,"height":20},">":[]}},{"UIAElement":{"@":{"name":"3 of 3 bars, Wi-Fi signal strength","label":"3 of 3 bars, Wi-Fi signal strength","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/1","x":52,"y":0,"width":20,"height":20},">":[]}},{"UIAElement":{"@":{"name":"12:59 PM","label":"12:59 PM","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/2","x":130,"y":0,"width":61,"height":20},">":[]}},{"UIAElement":{"@":{"name":"100% battery power","label":"100% battery power","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/3","x":296,"y":0,"width":21,"height":20},">":[]}}]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/1","x":0,"y":20,"width":3,"height":3},">":[]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/2","x":317,"y":20,"width":3,"height":3},">":[]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/3","x":0,"y":477,"width":3,"height":3},">":[]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/4","x":317,"y":477,"width":3,"height":3},">":[]}}]}}]}}}
info: [debug] [INST] 2014-11-25 04:59:59 +0000 Debug: Running system command #4: /usr/local/bin/node /Users/sebv/Documents/Work/appium/submodules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{"status":0,"value":{"UIAApplication":{"@":{"name":"TestApp","label":"TestApp","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0"...
info: [debug] Socket data received (5717 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {"status":0,"value":{"UIAApplication":{"@":{"name":"TestApp","label":"TestApp","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":20,"width":320,"height":460},">":[{"UIAWindow":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"va
info: [debug] Responding to client with success: {"status":0,"value":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<AppiumAUT>\n <UIAApplication name=\"TestApp\" label=\"TestApp\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0\" x=\"0\" y=\"20\" width=\"320\" height=\"460\">\n <UIAWindow name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0\" x=\"0\" y=\"0\" width=\"320\" height=\"480\">\n <UIATextField name=\"IntegerA\" label=\"TextField1\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/0\" x=\"102\" y=\"58\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIATextField name=\"IntegerB\" label=\"TextField2\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/1\" x=\"102\" y=\"97\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIAButton name=\"ComputeSumButton\" label=\"Compute Sum\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/2\" x=\"94\" y=\"142\" width=\"113\" height=\"37\">\n </UIAButton...","sessionId":"d90e6a6d-2979-43af-9f08-8524120908d1"}
info: <-- GET /wd/hub/session/d90e6a6d-2979-43af-9f08-8524120908d1/source 200 206.214 ms - 6642 {"status":0,"value":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<AppiumAUT>\n <UIAApplication name=\"TestApp\" label=\"TestApp\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0\" x=\"0\" y=\"20\" width=\"320\" height=\"460\">\n <UIAWindow name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0\" x=\"0\" y=\"0\" width=\"320\" height=\"480\">\n <UIATextField name=\"IntegerA\" label=\"TextField1\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/0\" x=\"102\" y=\"58\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIATextField name=\"IntegerB\" label=\"TextField2\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/1\" x=\"102\" y=\"97\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIAButton name=\"ComputeSumButton\" label=\"Compute Sum\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/2\" x=\"94\" y=\"142\" width=\"113\" height=\"37\">\n </UIAButton...","sessionId":"d90e6a6d-2979-43af-9f08-8524120908d1"}
info: --> GET /wd/hub/session/d90e6a6d-2979-43af-9f08-8524120908d1/source {}
info: [debug] Pushing command to appium work queue: "au.mainApp().getTreeForXML()"
info: [debug] Sending command to instruments: au.mainApp().getTreeForXML()
info: [debug] [INST] 2014-11-25 04:59:59 +0000 Debug: Got new command 4 from instruments: au.mainApp().getTreeForXML()
info: [debug] [INST] 2014-11-25 04:59:59 +0000 Debug: evaluating au.mainApp().getTreeForXML()
info: [debug] [INST] 2014-11-25 04:59:59 +0000 Debug: evaluation finished
2014-11-25 04:59:59 +0000 Debug: responding with:lid":true,"visible":true,"hint":null,"path":"/0/0","x":0,"y":0,"width":320,"height":480},">":[{"UIATextField":{"@":{"name":"IntegerA","label":"TextField1","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/0","x":102,"y":58,"width":97,"height":31},">":[]}},{"UIATextField":{"@":{"name":"IntegerB","label":"TextField2","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/1","x":102,"y":97,"width":97,"height":31},">":[]}},{"UIAButton":{"@":{"name":"ComputeSumButton","label":"Compute Sum","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/2","x":94,"y":142,"width":113,"height":37},">":[]}},{"UIAStaticText":{"@":{"name":"Answer","label":"SumLabel","value":"SumLabel","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/3","x":129,"y":187,"width":42,"height":21},">":[]}},{"UIAButton":{"@":{"name":"show alert","label":"show alert","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/4","x":26,"y":227,"width":76,"height":44},">":[]}},{"UIAButton":{"@":{"name":"contact alert","label":"contact alert","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/5","x":110,"y":234,"width":113,"height":44},">":[]}},{"UIAButton":{"@":{"name":"location alert","label":"location alert","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/6","x":204,"y":234,"width":116,"height":44},">":[]}},{"UIAStaticText":{"@":{"name":"AppElem","label":"AppElem","value":"AppElem","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/7","x":122,"y":279,"width":56,"height":21},">":[]}},{"UIASlider":{"@":{"name":"AppElem","label":"AppElem","value":"50%","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/8","x":91,"y":308,"width":118,"height":23},">":[]}},{"UIAStaticText":{"@":{"name":"AppElem","label":"AppElem","value":"AppElem","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/9","x":122,"y":338,"width":56,"height":21},">":[]}},{"UIAButton":{"@":{"name":"DisabledButton","label":"disabled button","value":null,"dom":null,"enabled":false,"valid":true,"visible":true,"hint":null,"path":"/0/0/10","x":83,"y":367,"width":136,"height":28},">":[]}},{"UIAStaticText":{"@":{"name":null,"label":"","value":"","dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/0/11","x":82,"y":403,"width":73,"height":21},">":[]}},{"UIASwitch":{"@":{"name":"locationStatus","label":"locationStatus","value":1,"dom":null,"enabled":false,"valid":true,"visible":true,"hint":null,"path":"/0/0/12","x":177,"y":398,"width":79,"height":27},">":[]}},{"UIAButton":{"@":{"name":"Test Gesture","label":"Test Gesture","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/13","x":93,"y":417,"width":116,"height":44},">":[]}}]}},{"UIAWindow":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1","x":0,"y":0,"width":320,"height":480},">":[{"UIAStatusBar":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0","x":0,"y":0,"width":320,"height":20},">":[{"UIAElement":{"@":{"name":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/0","x":4,"y":0,"width":43,"height":20},">":[]}},{"UIAElement":{"@":{"name":"3 of 3 bars, Wi-Fi signal strength","label":"3 of 3 bars, Wi-Fi signal strength","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/1","x":52,"y":0,"width":20,"height":20},">":[]}},{"UIAElement":{"@":{"name":"12:59 PM","label":"12:59 PM","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/2","x":130,"y":0,"width":61,"height":20},">":[]}},{"UIAElement":{"@":{"name":"100% battery power","label":"100% battery power","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/3","x":296,"y":0,"width":21,"height":20},">":[]}}]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/1","x":0,"y":20,"width":3,"height":3},">":[]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/2","x":317,"y":20,"width":3,"height":3},">":[]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/3","x":0,"y":477,"width":3,"height":3},">":[]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/4","x":317,"y":477,"width":3,"height":3},">":[]}}]}}]}}}
info: [debug] [INST] 2014-11-25 04:59:59 +0000 Debug: Running system command #5: /usr/local/bin/node /Users/sebv/Documents/Work/appium/submodules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{"status":0,"value":{"UIAApplication":{"@":{"name":"TestApp","label":"TestApp","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0"...
info: [debug] Socket data received (5717 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {"status":0,"value":{"UIAApplication":{"@":{"name":"TestApp","label":"TestApp","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":20,"width":320,"height":460},">":[{"UIAWindow":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"va
info: [debug] Responding to client with success: {"status":0,"value":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<AppiumAUT>\n <UIAApplication name=\"TestApp\" label=\"TestApp\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0\" x=\"0\" y=\"20\" width=\"320\" height=\"460\">\n <UIAWindow name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0\" x=\"0\" y=\"0\" width=\"320\" height=\"480\">\n <UIATextField name=\"IntegerA\" label=\"TextField1\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/0\" x=\"102\" y=\"58\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIATextField name=\"IntegerB\" label=\"TextField2\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/1\" x=\"102\" y=\"97\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIAButton name=\"ComputeSumButton\" label=\"Compute Sum\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/2\" x=\"94\" y=\"142\" width=\"113\" height=\"37\">\n </UIAButton...","sessionId":"d90e6a6d-2979-43af-9f08-8524120908d1"}
info: <-- GET /wd/hub/session/d90e6a6d-2979-43af-9f08-8524120908d1/source 200 197.018 ms - 6642 {"status":0,"value":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<AppiumAUT>\n <UIAApplication name=\"TestApp\" label=\"TestApp\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0\" x=\"0\" y=\"20\" width=\"320\" height=\"460\">\n <UIAWindow name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0\" x=\"0\" y=\"0\" width=\"320\" height=\"480\">\n <UIATextField name=\"IntegerA\" label=\"TextField1\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/0\" x=\"102\" y=\"58\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIATextField name=\"IntegerB\" label=\"TextField2\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/1\" x=\"102\" y=\"97\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIAButton name=\"ComputeSumButton\" label=\"Compute Sum\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/2\" x=\"94\" y=\"142\" width=\"113\" height=\"37\">\n </UIAButton...","sessionId":"d90e6a6d-2979-43af-9f08-8524120908d1"}
info: --> GET /wd/hub/session/d90e6a6d-2979-43af-9f08-8524120908d1/source {}
info: [debug] Pushing command to appium work queue: "au.mainApp().getTreeForXML()"
info: [debug] Sending command to instruments: au.mainApp().getTreeForXML()
info: [debug] [INST] 2014-11-25 04:59:59 +0000 Debug: Got new command 5 from instruments: au.mainApp().getTreeForXML()
info: [debug] [INST] 2014-11-25 04:59:59 +0000 Debug: evaluating au.mainApp().getTreeForXML()
info: [debug] [INST] 2014-11-25 05:00:00 +0000 Debug: evaluation finished
info: [debug] [INST] 2014-11-25 05:00:00 +0000 Debug: responding with:lid":true,"visible":true,"hint":null,"path":"/0/0","x":0,"y":0,"width":320,"height":480},">":[{"UIATextField":{"@":{"name":"IntegerA","label":"TextField1","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/0","x":102,"y":58,"width":97,"height":31},">":[]}},{"UIATextField":{"@":{"name":"IntegerB","label":"TextField2","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/1","x":102,"y":97,"width":97,"height":31},">":[]}},{"UIAButton":{"@":{"name":"ComputeSumButton","label":"Compute Sum","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/2","x":94,"y":142,"width":113,"height":37},">":[]}},{"UIAStaticText":{"@":{"name":"Answer","label":"SumLabel","value":"SumLabel","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/3","x":129,"y":187,"width":42,"height":21},">":[]}},{"UIAButton":{"@":{"name":"show alert","label":"show alert","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/4","x":26,"y":227,"width":76,"height":44},">":[]}},{"UIAButton":{"@":{"name":"contact alert","label":"contact alert","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/5","x":110,"y":234,"width":113,"height":44},">":[]}},{"UIAButton":{"@":{"name":"location alert","label":"location alert","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/6","x":204,"y":234,"width":116,"height":44},">":[]}},{"UIAStaticText":{"@":{"name":"AppElem","label":"AppElem","value":"AppElem","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/7","x":122,"y":279,"width":56,"height":21},">":[]}},{"UIASlider":{"@":{"name":"AppElem","label":"AppElem","value":"50%","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/8","x":91,"y":308,"width":118,"height":23},">":[]}},{"UIAStaticText":{"@":{"name":"AppElem","label":"AppElem","value":"AppElem","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/9","x":122,"y":338,"width":56,"height":21},">":[]}},{"UIAButton":{"@":{"name":"DisabledButton","label":"disabled button","value":null,"dom":null,"enabled":false,"valid":true,"visible":true,"hint":null,"path":"/0/0/10","x":83,"y":367,"width":136,"height":28},">":[]}},{"UIAStaticText":{"@":{"name":null,"label":"","value":"","dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/0/11","x":82,"y":403,"width":73,"height":21},">":[]}},{"UIASwitch":{"@":{"name":"locationStatus","label":"locationStatus","value":1,"dom":null,"enabled":false,"valid":true,"visible":true,"hint":null,"path":"/0/0/12","x":177,"y":398,"width":79,"height":27},">":[]}},{"UIAButton":{"@":{"name":"Test Gesture","label":"Test Gesture","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/13","x":93,"y":417,"width":116,"height":44},">":[]}}]}},{"UIAWindow":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1","x":0,"y":0,"width":320,"height":480},">":[{"UIAStatusBar":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0","x":0,"y":0,"width":320,"height":20},">":[{"UIAElement":{"@":{"name":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/0","x":4,"y":0,"width":43,"height":20},">":[]}},{"UIAElement":{"@":{"name":"3 of 3 bars, Wi-Fi signal strength","label":"3 of 3 bars, Wi-Fi signal strength","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/1","x":52,"y":0,"width":20,"height":20},">":[]}},{"UIAElement":{"@":{"name":"1:00 PM","label":"1:00 PM","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/2","x":134,"y":0,"width":53,"height":20},">":[]}},{"UIAElement":{"@":{"name":"100% battery power","label":"100% battery power","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/3","x":296,"y":0,"width":21,"height":20},">":[]}}]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/1","x":0,"y":20,"width":3,"height":3},">":[]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/2","x":317,"y":20,"width":3,"height":3},">":[]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/3","x":0,"y":477,"width":3,"height":3},">":[]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/4","x":317,"y":477,"width":3,"height":3},">":[]}}]}}]}}}
info: [debug] [INST] 2014-11-25 05:00:00 +0000 Debug: Running system command #6: /usr/local/bin/node /Users/sebv/Documents/Work/appium/submodules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{"status":0,"value":{"UIAApplication":{"@":{"name":"TestApp","label":"TestApp","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0"...
info: [debug] Socket data received (5715 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {"status":0,"value":{"UIAApplication":{"@":{"name":"TestApp","label":"TestApp","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":20,"width":320,"height":460},">":[{"UIAWindow":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"va
info: [debug] Responding to client with success: {"status":0,"value":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<AppiumAUT>\n <UIAApplication name=\"TestApp\" label=\"TestApp\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0\" x=\"0\" y=\"20\" width=\"320\" height=\"460\">\n <UIAWindow name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0\" x=\"0\" y=\"0\" width=\"320\" height=\"480\">\n <UIATextField name=\"IntegerA\" label=\"TextField1\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/0\" x=\"102\" y=\"58\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIATextField name=\"IntegerB\" label=\"TextField2\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/1\" x=\"102\" y=\"97\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIAButton name=\"ComputeSumButton\" label=\"Compute Sum\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/2\" x=\"94\" y=\"142\" width=\"113\" height=\"37\">\n </UIAButton...","sessionId":"d90e6a6d-2979-43af-9f08-8524120908d1"}
info: <-- GET /wd/hub/session/d90e6a6d-2979-43af-9f08-8524120908d1/source 200 210.840 ms - 6640 {"status":0,"value":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<AppiumAUT>\n <UIAApplication name=\"TestApp\" label=\"TestApp\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0\" x=\"0\" y=\"20\" width=\"320\" height=\"460\">\n <UIAWindow name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0\" x=\"0\" y=\"0\" width=\"320\" height=\"480\">\n <UIATextField name=\"IntegerA\" label=\"TextField1\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/0\" x=\"102\" y=\"58\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIATextField name=\"IntegerB\" label=\"TextField2\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/1\" x=\"102\" y=\"97\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIAButton name=\"ComputeSumButton\" label=\"Compute Sum\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/2\" x=\"94\" y=\"142\" width=\"113\" height=\"37\">\n </UIAButton...","sessionId":"d90e6a6d-2979-43af-9f08-8524120908d1"}
info: --> GET /wd/hub/session/d90e6a6d-2979-43af-9f08-8524120908d1/source {}
info: [debug] Pushing command to appium work queue: "au.mainApp().getTreeForXML()"
info: [debug] Sending command to instruments: au.mainApp().getTreeForXML()
info: [debug] [INST] 2014-11-25 05:00:00 +0000 Debug: Got new command 6 from instruments: au.mainApp().getTreeForXML()
info: [debug] [INST] 2014-11-25 05:00:00 +0000 Debug: evaluating au.mainApp().getTreeForXML()
info: [debug] [INST] 2014-11-25 05:00:00 +0000 Debug: evaluation finished
info: [debug] [INST] 2014-11-25 05:00:00 +0000 Debug: responding with:lid":true,"visible":true,"hint":null,"path":"/0/0","x":0,"y":0,"width":320,"height":480},">":[{"UIATextField":{"@":{"name":"IntegerA","label":"TextField1","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/0","x":102,"y":58,"width":97,"height":31},">":[]}},{"UIATextField":{"@":{"name":"IntegerB","label":"TextField2","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/1","x":102,"y":97,"width":97,"height":31},">":[]}},{"UIAButton":{"@":{"name":"ComputeSumButton","label":"Compute Sum","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/2","x":94,"y":142,"width":113,"height":37},">":[]}},{"UIAStaticText":{"@":{"name":"Answer","label":"SumLabel","value":"SumLabel","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/3","x":129,"y":187,"width":42,"height":21},">":[]}},{"UIAButton":{"@":{"name":"show alert","label":"show alert","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/4","x":26,"y":227,"width":76,"height":44},">":[]}},{"UIAButton":{"@":{"name":"contact alert","label":"contact alert","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/5","x":110,"y":234,"width":113,"height":44},">":[]}},{"UIAButton":{"@":{"name":"location alert","label":"location alert","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/6","x":204,"y":234,"width":116,"height":44},">":[]}},{"UIAStaticText":{"@":{"name":"AppElem","label":"AppElem","value":"AppElem","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/7","x":122,"y":279,"width":56,"height":21},">":[]}},{"UIASlider":{"@":{"name":"AppElem","label":"AppElem","value":"50%","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/8","x":91,"y":308,"width":118,"height":23},">":[]}},{"UIAStaticText":{"@":{"name":"AppElem","label":"AppElem","value":"AppElem","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/9","x":122,"y":338,"width":56,"height":21},">":[]}},{"UIAButton":{"@":{"name":"DisabledButton","label":"disabled button","value":null,"dom":null,"enabled":false,"valid":true,"visible":true,"hint":null,"path":"/0/0/10","x":83,"y":367,"width":136,"height":28},">":[]}},{"UIAStaticText":{"@":{"name":null,"label":"","value":"","dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/0/11","x":82,"y":403,"width":73,"height":21},">":[]}},{"UIASwitch":{"@":{"name":"locationStatus","label":"locationStatus","value":1,"dom":null,"enabled":false,"valid":true,"visible":true,"hint":null,"path":"/0/0/12","x":177,"y":398,"width":79,"height":27},">":[]}},{"UIAButton":{"@":{"name":"Test Gesture","label":"Test Gesture","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/13","x":93,"y":417,"width":116,"height":44},">":[]}}]}},{"UIAWindow":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1","x":0,"y":0,"width":320,"height":480},">":[{"UIAStatusBar":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0","x":0,"y":0,"width":320,"height":20},">":[{"UIAElement":{"@":{"name":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/0","x":4,"y":0,"width":43,"height":20},">":[]}},{"UIAElement":{"@":{"name":"3 of 3 bars, Wi-Fi signal strength","label":"3 of 3 bars, Wi-Fi signal strength","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/1","x":52,"y":0,"width":20,"height":20},">":[]}},{"UIAElement":{"@":{"name":"1:00 PM","label":"1:00 PM","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/2","x":134,"y":0,"width":53,"height":20},">":[]}},{"UIAElement":{"@":{"name":"100% battery power","label":"100% battery power","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/3","x":296,"y":0,"width":21,"height":20},">":[]}}]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/1","x":0,"y":20,"width":3,"height":3},">":[]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/2","x":317,"y":20,"width":3,"height":3},">":[]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/3","x":0,"y":477,"width":3,"height":3},">":[]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/4","x":317,"y":477,"width":3,"height":3},">":[]}}]}}]}}}
info: [debug] [INST] 2014-11-25 05:00:00 +0000 Debug: Running system command #7: /usr/local/bin/node /Users/sebv/Documents/Work/appium/submodules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{"status":0,"value":{"UIAApplication":{"@":{"name":"TestApp","label":"TestApp","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0"...
info: [debug] Socket data received (5715 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {"status":0,"value":{"UIAApplication":{"@":{"name":"TestApp","label":"TestApp","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":20,"width":320,"height":460},">":[{"UIAWindow":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"va
info: [debug] Responding to client with success: {"status":0,"value":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<AppiumAUT>\n <UIAApplication name=\"TestApp\" label=\"TestApp\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0\" x=\"0\" y=\"20\" width=\"320\" height=\"460\">\n <UIAWindow name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0\" x=\"0\" y=\"0\" width=\"320\" height=\"480\">\n <UIATextField name=\"IntegerA\" label=\"TextField1\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/0\" x=\"102\" y=\"58\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIATextField name=\"IntegerB\" label=\"TextField2\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/1\" x=\"102\" y=\"97\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIAButton name=\"ComputeSumButton\" label=\"Compute Sum\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/2\" x=\"94\" y=\"142\" width=\"113\" height=\"37\">\n </UIAButton...","sessionId":"d90e6a6d-2979-43af-9f08-8524120908d1"}
info: <-- GET /wd/hub/session/d90e6a6d-2979-43af-9f08-8524120908d1/source 200 199.940 ms - 6640 {"status":0,"value":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<AppiumAUT>\n <UIAApplication name=\"TestApp\" label=\"TestApp\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0\" x=\"0\" y=\"20\" width=\"320\" height=\"460\">\n <UIAWindow name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0\" x=\"0\" y=\"0\" width=\"320\" height=\"480\">\n <UIATextField name=\"IntegerA\" label=\"TextField1\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/0\" x=\"102\" y=\"58\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIATextField name=\"IntegerB\" label=\"TextField2\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/1\" x=\"102\" y=\"97\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIAButton name=\"ComputeSumButton\" label=\"Compute Sum\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/2\" x=\"94\" y=\"142\" width=\"113\" height=\"37\">\n </UIAButton...","sessionId":"d90e6a6d-2979-43af-9f08-8524120908d1"}
info: --> GET /wd/hub/session/d90e6a6d-2979-43af-9f08-8524120908d1/source {}
info: [debug] Pushing command to appium work queue: "au.mainApp().getTreeForXML()"
info: [debug] Sending command to instruments: au.mainApp().getTreeForXML()
info: [debug] [INST] 2014-11-25 05:00:00 +0000 Debug: Got new command 7 from instruments: au.mainApp().getTreeForXML()
info: [debug] [INST] 2014-11-25 05:00:00 +0000 Debug: evaluating au.mainApp().getTreeForXML()
info: [debug] [INST] 2014-11-25 05:00:00 +0000 Debug: evaluation finished
info: [debug] [INST] 2014-11-25 05:00:00 +0000 Debug: responding with:lid":true,"visible":true,"hint":null,"path":"/0/0","x":0,"y":0,"width":320,"height":480},">":[{"UIATextField":{"@":{"name":"IntegerA","label":"TextField1","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/0","x":102,"y":58,"width":97,"height":31},">":[]}},{"UIATextField":{"@":{"name":"IntegerB","label":"TextField2","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/1","x":102,"y":97,"width":97,"height":31},">":[]}},{"UIAButton":{"@":{"name":"ComputeSumButton","label":"Compute Sum","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/2","x":94,"y":142,"width":113,"height":37},">":[]}},{"UIAStaticText":{"@":{"name":"Answer","label":"SumLabel","value":"SumLabel","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/3","x":129,"y":187,"width":42,"height":21},">":[]}},{"UIAButton":{"@":{"name":"show alert","label":"show alert","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/4","x":26,"y":227,"width":76,"height":44},">":[]}},{"UIAButton":{"@":{"name":"contact alert","label":"contact alert","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/5","x":110,"y":234,"width":113,"height":44},">":[]}},{"UIAButton":{"@":{"name":"location alert","label":"location alert","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/6","x":204,"y":234,"width":116,"height":44},">":[]}},{"UIAStaticText":{"@":{"name":"AppElem","label":"AppElem","value":"AppElem","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/7","x":122,"y":279,"width":56,"height":21},">":[]}},{"UIASlider":{"@":{"name":"AppElem","label":"AppElem","value":"50%","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/8","x":91,"y":308,"width":118,"height":23},">":[]}},{"UIAStaticText":{"@":{"name":"AppElem","label":"AppElem","value":"AppElem","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/9","x":122,"y":338,"width":56,"height":21},">":[]}},{"UIAButton":{"@":{"name":"DisabledButton","label":"disabled button","value":null,"dom":null,"enabled":false,"valid":true,"visible":true,"hint":null,"path":"/0/0/10","x":83,"y":367,"width":136,"height":28},">":[]}},{"UIAStaticText":{"@":{"name":null,"label":"","value":"","dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/0/11","x":82,"y":403,"width":73,"height":21},">":[]}},{"UIASwitch":{"@":{"name":"locationStatus","label":"locationStatus","value":1,"dom":null,"enabled":false,"valid":true,"visible":true,"hint":null,"path":"/0/0/12","x":177,"y":398,"width":79,"height":27},">":[]}},{"UIAButton":{"@":{"name":"Test Gesture","label":"Test Gesture","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/13","x":93,"y":417,"width":116,"height":44},">":[]}}]}},{"UIAWindow":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1","x":0,"y":0,"width":320,"height":480},">":[{"UIAStatusBar":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0","x":0,"y":0,"width":320,"height":20},">":[{"UIAElement":{"@":{"name":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/0","x":4,"y":0,"width":43,"height":20},">":[]}},{"UIAElement":{"@":{"name":"3 of 3 bars, Wi-Fi signal strength","label":"3 of 3 bars, Wi-Fi signal strength","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/1","x":52,"y":0,"width":20,"height":20},">":[]}},{"UIAElement":{"@":{"name":"1:00 PM","label":"1:00 PM","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/2","x":134,"y":0,"width":53,"height":20},">":[]}},{"UIAElement":{"@":{"name":"100% battery power","label":"100% battery power","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/3","x":296,"y":0,"width":21,"height":20},">":[]}}]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/1","x":0,"y":20,"width":3,"height":3},">":[]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/2","x":317,"y":20,"width":3,"height":3},">":[]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/3","x":0,"y":477,"width":3,"height":3},">":[]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/4","x":317,"y":477,"width":3,"height":3},">":[]}}]}}]}}}
info: [debug] [INST] 2014-11-25 05:00:00 +0000 Debug: Running system command #8: /usr/local/bin/node /Users/sebv/Documents/Work/appium/submodules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{"status":0,"value":{"UIAApplication":{"@":{"name":"TestApp","label":"TestApp","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0"...
info: [debug] Socket data received (5715 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {"status":0,"value":{"UIAApplication":{"@":{"name":"TestApp","label":"TestApp","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":20,"width":320,"height":460},">":[{"UIAWindow":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"va
info: [debug] Responding to client with success: {"status":0,"value":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<AppiumAUT>\n <UIAApplication name=\"TestApp\" label=\"TestApp\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0\" x=\"0\" y=\"20\" width=\"320\" height=\"460\">\n <UIAWindow name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0\" x=\"0\" y=\"0\" width=\"320\" height=\"480\">\n <UIATextField name=\"IntegerA\" label=\"TextField1\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/0\" x=\"102\" y=\"58\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIATextField name=\"IntegerB\" label=\"TextField2\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/1\" x=\"102\" y=\"97\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIAButton name=\"ComputeSumButton\" label=\"Compute Sum\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/2\" x=\"94\" y=\"142\" width=\"113\" height=\"37\">\n </UIAButton...","sessionId":"d90e6a6d-2979-43af-9f08-8524120908d1"}
info: <-- GET /wd/hub/session/d90e6a6d-2979-43af-9f08-8524120908d1/source 200 202.090 ms - 6640 {"status":0,"value":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<AppiumAUT>\n <UIAApplication name=\"TestApp\" label=\"TestApp\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0\" x=\"0\" y=\"20\" width=\"320\" height=\"460\">\n <UIAWindow name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0\" x=\"0\" y=\"0\" width=\"320\" height=\"480\">\n <UIATextField name=\"IntegerA\" label=\"TextField1\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/0\" x=\"102\" y=\"58\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIATextField name=\"IntegerB\" label=\"TextField2\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/1\" x=\"102\" y=\"97\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIAButton name=\"ComputeSumButton\" label=\"Compute Sum\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/2\" x=\"94\" y=\"142\" width=\"113\" height=\"37\">\n </UIAButton...","sessionId":"d90e6a6d-2979-43af-9f08-8524120908d1"}
info: --> GET /wd/hub/session/d90e6a6d-2979-43af-9f08-8524120908d1/source {}
info: [debug] Pushing command to appium work queue: "au.mainApp().getTreeForXML()"
info: [debug] Sending command to instruments: au.mainApp().getTreeForXML()
info: [debug] [INST] 2014-11-25 05:00:01 +0000 Debug: Got new command 8 from instruments: au.mainApp().getTreeForXML()
info: [debug] [INST] 2014-11-25 05:00:01 +0000 Debug: evaluating au.mainApp().getTreeForXML()
info: [debug] [INST] 2014-11-25 05:00:01 +0000 Debug: evaluation finished
info: [debug] [INST] 2014-11-25 05:00:01 +0000 Debug: responding with:lid":true,"visible":true,"hint":null,"path":"/0/0","x":0,"y":0,"width":320,"height":480},">":[{"UIATextField":{"@":{"name":"IntegerA","label":"TextField1","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/0","x":102,"y":58,"width":97,"height":31},">":[]}},{"UIATextField":{"@":{"name":"IntegerB","label":"TextField2","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/1","x":102,"y":97,"width":97,"height":31},">":[]}},{"UIAButton":{"@":{"name":"ComputeSumButton","label":"Compute Sum","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/2","x":94,"y":142,"width":113,"height":37},">":[]}},{"UIAStaticText":{"@":{"name":"Answer","label":"SumLabel","value":"SumLabel","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/3","x":129,"y":187,"width":42,"height":21},">":[]}},{"UIAButton":{"@":{"name":"show alert","label":"show alert","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/4","x":26,"y":227,"width":76,"height":44},">":[]}},{"UIAButton":{"@":{"name":"contact alert","label":"contact alert","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/5","x":110,"y":234,"width":113,"height":44},">":[]}},{"UIAButton":{"@":{"name":"location alert","label":"location alert","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/6","x":204,"y":234,"width":116,"height":44},">":[]}},{"UIAStaticText":{"@":{"name":"AppElem","label":"AppElem","value":"AppElem","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/7","x":122,"y":279,"width":56,"height":21},">":[]}},{"UIASlider":{"@":{"name":"AppElem","label":"AppElem","value":"50%","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/8","x":91,"y":308,"width":118,"height":23},">":[]}},{"UIAStaticText":{"@":{"name":"AppElem","label":"AppElem","value":"AppElem","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/9","x":122,"y":338,"width":56,"height":21},">":[]}},{"UIAButton":{"@":{"name":"DisabledButton","label":"disabled button","value":null,"dom":null,"enabled":false,"valid":true,"visible":true,"hint":null,"path":"/0/0/10","x":83,"y":367,"width":136,"height":28},">":[]}},{"UIAStaticText":{"@":{"name":null,"label":"","value":"","dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/0/11","x":82,"y":403,"width":73,"height":21},">":[]}},{"UIASwitch":{"@":{"name":"locationStatus","label":"locationStatus","value":1,"dom":null,"enabled":false,"valid":true,"visible":true,"hint":null,"path":"/0/0/12","x":177,"y":398,"width":79,"height":27},">":[]}},{"UIAButton":{"@":{"name":"Test Gesture","label":"Test Gesture","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/13","x":93,"y":417,"width":116,"height":44},">":[]}}]}},{"UIAWindow":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1","x":0,"y":0,"width":320,"height":480},">":[{"UIAStatusBar":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0","x":0,"y":0,"width":320,"height":20},">":[{"UIAElement":{"@":{"name":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/0","x":4,"y":0,"width":43,"height":20},">":[]}},{"UIAElement":{"@":{"name":"3 of 3 bars, Wi-Fi signal strength","label":"3 of 3 bars, Wi-Fi signal strength","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/1","x":52,"y":0,"width":20,"height":20},">":[]}},{"UIAElement":{"@":{"name":"1:00 PM","label":"1:00 PM","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/2","x":134,"y":0,"width":53,"height":20},">":[]}},{"UIAElement":{"@":{"name":"100% battery power","label":"100% battery power","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/3","x":296,"y":0,"width":21,"height":20},">":[]}}]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/1","x":0,"y":20,"width":3,"height":3},">":[]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/2","x":317,"y":20,"width":3,"height":3},">":[]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/3","x":0,"y":477,"width":3,"height":3},">":[]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/4","x":317,"y":477,"width":3,"height":3},">":[]}}]}}]}}}
info: [debug] [INST] 2014-11-25 05:00:01 +0000 Debug: Running system command #9: /usr/local/bin/node /Users/sebv/Documents/Work/appium/submodules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{"status":0,"value":{"UIAApplication":{"@":{"name":"TestApp","label":"TestApp","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0"...
info: [debug] Socket data received (5715 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {"status":0,"value":{"UIAApplication":{"@":{"name":"TestApp","label":"TestApp","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":20,"width":320,"height":460},">":[{"UIAWindow":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"va
info: [debug] Responding to client with success: {"status":0,"value":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<AppiumAUT>\n <UIAApplication name=\"TestApp\" label=\"TestApp\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0\" x=\"0\" y=\"20\" width=\"320\" height=\"460\">\n <UIAWindow name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0\" x=\"0\" y=\"0\" width=\"320\" height=\"480\">\n <UIATextField name=\"IntegerA\" label=\"TextField1\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/0\" x=\"102\" y=\"58\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIATextField name=\"IntegerB\" label=\"TextField2\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/1\" x=\"102\" y=\"97\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIAButton name=\"ComputeSumButton\" label=\"Compute Sum\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/2\" x=\"94\" y=\"142\" width=\"113\" height=\"37\">\n </UIAButton...","sessionId":"d90e6a6d-2979-43af-9f08-8524120908d1"}
info: <-- GET /wd/hub/session/d90e6a6d-2979-43af-9f08-8524120908d1/source 200 188.360 ms - 6640 {"status":0,"value":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<AppiumAUT>\n <UIAApplication name=\"TestApp\" label=\"TestApp\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0\" x=\"0\" y=\"20\" width=\"320\" height=\"460\">\n <UIAWindow name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0\" x=\"0\" y=\"0\" width=\"320\" height=\"480\">\n <UIATextField name=\"IntegerA\" label=\"TextField1\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/0\" x=\"102\" y=\"58\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIATextField name=\"IntegerB\" label=\"TextField2\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/1\" x=\"102\" y=\"97\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIAButton name=\"ComputeSumButton\" label=\"Compute Sum\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/2\" x=\"94\" y=\"142\" width=\"113\" height=\"37\">\n </UIAButton...","sessionId":"d90e6a6d-2979-43af-9f08-8524120908d1"}
info: --> GET /wd/hub/session/d90e6a6d-2979-43af-9f08-8524120908d1/source {}
info: [debug] Pushing command to appium work queue: "au.mainApp().getTreeForXML()"
info: [debug] Sending command to instruments: au.mainApp().getTreeForXML()
info: [debug] [INST] 2014-11-25 05:00:01 +0000 Debug: Got new command 9 from instruments: au.mainApp().getTreeForXML()
info: [debug] [INST] 2014-11-25 05:00:01 +0000 Debug: evaluating au.mainApp().getTreeForXML()
info: [debug] [INST] 2014-11-25 05:00:01 +0000 Debug: evaluation finished
info: [debug] [INST] 2014-11-25 05:00:01 +0000 Debug: responding with:lid":true,"visible":true,"hint":null,"path":"/0/0","x":0,"y":0,"width":320,"height":480},">":[{"UIATextField":{"@":{"name":"IntegerA","label":"TextField1","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/0","x":102,"y":58,"width":97,"height":31},">":[]}},{"UIATextField":{"@":{"name":"IntegerB","label":"TextField2","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/1","x":102,"y":97,"width":97,"height":31},">":[]}},{"UIAButton":{"@":{"name":"ComputeSumButton","label":"Compute Sum","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/2","x":94,"y":142,"width":113,"height":37},">":[]}},{"UIAStaticText":{"@":{"name":"Answer","label":"SumLabel","value":"SumLabel","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/3","x":129,"y":187,"width":42,"height":21},">":[]}},{"UIAButton":{"@":{"name":"show alert","label":"show alert","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/4","x":26,"y":227,"width":76,"height":44},">":[]}},{"UIAButton":{"@":{"name":"contact alert","label":"contact alert","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/5","x":110,"y":234,"width":113,"height":44},">":[]}},{"UIAButton":{"@":{"name":"location alert","label":"location alert","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/6","x":204,"y":234,"width":116,"height":44},">":[]}},{"UIAStaticText":{"@":{"name":"AppElem","label":"AppElem","value":"AppElem","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/7","x":122,"y":279,"width":56,"height":21},">":[]}},{"UIASlider":{"@":{"name":"AppElem","label":"AppElem","value":"50%","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/8","x":91,"y":308,"width":118,"height":23},">":[]}},{"UIAStaticText":{"@":{"name":"AppElem","label":"AppElem","value":"AppElem","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/9","x":122,"y":338,"width":56,"height":21},">":[]}},{"UIAButton":{"@":{"name":"DisabledButton","label":"disabled button","value":null,"dom":null,"enabled":false,"valid":true,"visible":true,"hint":null,"path":"/0/0/10","x":83,"y":367,"width":136,"height":28},">":[]}},{"UIAStaticText":{"@":{"name":null,"label":"","value":"","dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/0/11","x":82,"y":403,"width":73,"height":21},">":[]}},{"UIASwitch":{"@":{"name":"locationStatus","label":"locationStatus","value":1,"dom":null,"enabled":false,"valid":true,"visible":true,"hint":null,"path":"/0/0/12","x":177,"y":398,"width":79,"height":27},">":[]}},{"UIAButton":{"@":{"name":"Test Gesture","label":"Test Gesture","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/13","x":93,"y":417,"width":116,"height":44},">":[]}}]}},{"UIAWindow":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1","x":0,"y":0,"width":320,"height":480},">":[{"UIAStatusBar":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0","x":0,"y":0,"width":320,"height":20},">":[{"UIAElement":{"@":{"name":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/0","x":4,"y":0,"width":43,"height":20},">":[]}},{"UIAElement":{"@":{"name":"3 of 3 bars, Wi-Fi signal strength","label":"3 of 3 bars, Wi-Fi signal strength","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/1","x":52,"y":0,"width":20,"height":20},">":[]}},{"UIAElement":{"@":{"name":"1:00 PM","label":"1:00 PM","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/2","x":134,"y":0,"width":53,"height":20},">":[]}},{"UIAElement":{"@":{"name":"100% battery power","label":"100% battery power","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/3","x":296,"y":0,"width":21,"height":20},">":[]}}]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/1","x":0,"y":20,"width":3,"height":3},">":[]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/2","x":317,"y":20,"width":3,"height":3},">":[]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/3","x":0,"y":477,"width":3,"height":3},">":[]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/4","x":317,"y":477,"width":3,"height":3},">":[]}}]}}]}}}
2014-11-25 05:00:01 +0000 Debug: Running system command #10: /usr/local/bin/node /Users/sebv/Documents/Work/appium/submodules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{"status":0,"value":{"UIAApplication":{"@":{"name":"TestApp","label":"TestApp","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0"...
info: [debug] Socket data received (5715 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {"status":0,"value":{"UIAApplication":{"@":{"name":"TestApp","label":"TestApp","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":20,"width":320,"height":460},">":[{"UIAWindow":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"va
info: [debug] Responding to client with success: {"status":0,"value":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<AppiumAUT>\n <UIAApplication name=\"TestApp\" label=\"TestApp\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0\" x=\"0\" y=\"20\" width=\"320\" height=\"460\">\n <UIAWindow name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0\" x=\"0\" y=\"0\" width=\"320\" height=\"480\">\n <UIATextField name=\"IntegerA\" label=\"TextField1\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/0\" x=\"102\" y=\"58\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIATextField name=\"IntegerB\" label=\"TextField2\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/1\" x=\"102\" y=\"97\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIAButton name=\"ComputeSumButton\" label=\"Compute Sum\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/2\" x=\"94\" y=\"142\" width=\"113\" height=\"37\">\n </UIAButton...","sessionId":"d90e6a6d-2979-43af-9f08-8524120908d1"}
info: <-- GET /wd/hub/session/d90e6a6d-2979-43af-9f08-8524120908d1/source 200 188.422 ms - 6640 {"status":0,"value":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<AppiumAUT>\n <UIAApplication name=\"TestApp\" label=\"TestApp\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0\" x=\"0\" y=\"20\" width=\"320\" height=\"460\">\n <UIAWindow name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0\" x=\"0\" y=\"0\" width=\"320\" height=\"480\">\n <UIATextField name=\"IntegerA\" label=\"TextField1\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/0\" x=\"102\" y=\"58\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIATextField name=\"IntegerB\" label=\"TextField2\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/1\" x=\"102\" y=\"97\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIAButton name=\"ComputeSumButton\" label=\"Compute Sum\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/2\" x=\"94\" y=\"142\" width=\"113\" height=\"37\">\n </UIAButton...","sessionId":"d90e6a6d-2979-43af-9f08-8524120908d1"}
info: --> GET /wd/hub/session/d90e6a6d-2979-43af-9f08-8524120908d1/source {}
info: [debug] Pushing command to appium work queue: "au.mainApp().getTreeForXML()"
info: [debug] Sending command to instruments: au.mainApp().getTreeForXML()
info: [debug] [INST] 2014-11-25 05:00:02 +0000 Debug: Got new command 10 from instruments: au.mainApp().getTreeForXML()
info: [debug] [INST] 2014-11-25 05:00:02 +0000 Debug: evaluating au.mainApp().getTreeForXML()
info: [debug] [INST] 2014-11-25 05:00:02 +0000 Debug: evaluation finished
2014-11-25 05:00:02 +0000 Debug: responding with:lid":true,"visible":true,"hint":null,"path":"/0/0","x":0,"y":0,"width":320,"height":480},">":[{"UIATextField":{"@":{"name":"IntegerA","label":"TextField1","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/0","x":102,"y":58,"width":97,"height":31},">":[]}},{"UIATextField":{"@":{"name":"IntegerB","label":"TextField2","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/1","x":102,"y":97,"width":97,"height":31},">":[]}},{"UIAButton":{"@":{"name":"ComputeSumButton","label":"Compute Sum","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/2","x":94,"y":142,"width":113,"height":37},">":[]}},{"UIAStaticText":{"@":{"name":"Answer","label":"SumLabel","value":"SumLabel","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/3","x":129,"y":187,"width":42,"height":21},">":[]}},{"UIAButton":{"@":{"name":"show alert","label":"show alert","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/4","x":26,"y":227,"width":76,"height":44},">":[]}},{"UIAButton":{"@":{"name":"contact alert","label":"contact alert","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/5","x":110,"y":234,"width":113,"height":44},">":[]}},{"UIAButton":{"@":{"name":"location alert","label":"location alert","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/6","x":204,"y":234,"width":116,"height":44},">":[]}},{"UIAStaticText":{"@":{"name":"AppElem","label":"AppElem","value":"AppElem","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/7","x":122,"y":279,"width":56,"height":21},">":[]}},{"UIASlider":{"@":{"name":"AppElem","label":"AppElem","value":"50%","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/8","x":91,"y":308,"width":118,"height":23},">":[]}},{"UIAStaticText":{"@":{"name":"AppElem","label":"AppElem","value":"AppElem","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/9","x":122,"y":338,"width":56,"height":21},">":[]}},{"UIAButton":{"@":{"name":"DisabledButton","label":"disabled button","value":null,"dom":null,"enabled":false,"valid":true,"visible":true,"hint":null,"path":"/0/0/10","x":83,"y":367,"width":136,"height":28},">":[]}},{"UIAStaticText":{"@":{"name":null,"label":"","value":"","dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/0/11","x":82,"y":403,"width":73,"height":21},">":[]}},{"UIASwitch":{"@":{"name":"locationStatus","label":"locationStatus","value":1,"dom":null,"enabled":false,"valid":true,"visible":true,"hint":null,"path":"/0/0/12","x":177,"y":398,"width":79,"height":27},">":[]}},{"UIAButton":{"@":{"name":"Test Gesture","label":"Test Gesture","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/13","x":93,"y":417,"width":116,"height":44},">":[]}}]}},{"UIAWindow":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1","x":0,"y":0,"width":320,"height":480},">":[{"UIAStatusBar":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0","x":0,"y":0,"width":320,"height":20},">":[{"UIAElement":{"@":{"name":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/0","x":4,"y":0,"width":43,"height":20},">":[]}},{"UIAElement":{"@":{"name":"3 of 3 bars, Wi-Fi signal strength","label":"3 of 3 bars, Wi-Fi signal strength","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/1","x":52,"y":0,"width":20,"height":20},">":[]}},{"UIAElement":{"@":{"name":"1:00 PM","label":"1:00 PM","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/2","x":134,"y":0,"width":53,"height":20},">":[]}},{"UIAElement":{"@":{"name":"100% battery power","label":"100% battery power","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/3","x":296,"y":0,"width":21,"height":20},">":[]}}]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/1","x":0,"y":20,"width":3,"height":3},">":[]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/2","x":317,"y":20,"width":3,"height":3},">":[]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/3","x":0,"y":477,"width":3,"height":3},">":[]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/4","x":317,"y":477,"width":3,"height":3},">":[]}}]}}]}}}
info: [debug] [INST] 2014-11-25 05:00:02 +0000 Debug: Running system command #11: /usr/local/bin/node /Users/sebv/Documents/Work/appium/submodules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{"status":0,"value":{"UIAApplication":{"@":{"name":"TestApp","label":"TestApp","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0"...
info: [debug] Socket data received (5715 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {"status":0,"value":{"UIAApplication":{"@":{"name":"TestApp","label":"TestApp","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":20,"width":320,"height":460},">":[{"UIAWindow":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"va
info: [debug] Responding to client with success: {"status":0,"value":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<AppiumAUT>\n <UIAApplication name=\"TestApp\" label=\"TestApp\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0\" x=\"0\" y=\"20\" width=\"320\" height=\"460\">\n <UIAWindow name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0\" x=\"0\" y=\"0\" width=\"320\" height=\"480\">\n <UIATextField name=\"IntegerA\" label=\"TextField1\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/0\" x=\"102\" y=\"58\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIATextField name=\"IntegerB\" label=\"TextField2\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/1\" x=\"102\" y=\"97\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIAButton name=\"ComputeSumButton\" label=\"Compute Sum\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/2\" x=\"94\" y=\"142\" width=\"113\" height=\"37\">\n </UIAButton...","sessionId":"d90e6a6d-2979-43af-9f08-8524120908d1"}
info: <-- GET /wd/hub/session/d90e6a6d-2979-43af-9f08-8524120908d1/source 200 194.328 ms - 6640 {"status":0,"value":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<AppiumAUT>\n <UIAApplication name=\"TestApp\" label=\"TestApp\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0\" x=\"0\" y=\"20\" width=\"320\" height=\"460\">\n <UIAWindow name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0\" x=\"0\" y=\"0\" width=\"320\" height=\"480\">\n <UIATextField name=\"IntegerA\" label=\"TextField1\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/0\" x=\"102\" y=\"58\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIATextField name=\"IntegerB\" label=\"TextField2\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/1\" x=\"102\" y=\"97\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIAButton name=\"ComputeSumButton\" label=\"Compute Sum\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/2\" x=\"94\" y=\"142\" width=\"113\" height=\"37\">\n </UIAButton...","sessionId":"d90e6a6d-2979-43af-9f08-8524120908d1"}
info: --> GET /wd/hub/session/d90e6a6d-2979-43af-9f08-8524120908d1/source {}
info: [debug] Pushing command to appium work queue: "au.mainApp().getTreeForXML()"
info: [debug] Sending command to instruments: au.mainApp().getTreeForXML()
info: [debug] [INST] 2014-11-25 05:00:02 +0000 Debug: Got new command 11 from instruments: au.mainApp().getTreeForXML()
info: [debug] [INST] 2014-11-25 05:00:02 +0000 Debug: evaluating au.mainApp().getTreeForXML()
info: [debug] [INST] 2014-11-25 05:00:02 +0000 Debug: evaluation finished
info: [debug] [INST] 2014-11-25 05:00:02 +0000 Debug: responding with:lid":true,"visible":true,"hint":null,"path":"/0/0","x":0,"y":0,"width":320,"height":480},">":[{"UIATextField":{"@":{"name":"IntegerA","label":"TextField1","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/0","x":102,"y":58,"width":97,"height":31},">":[]}},{"UIATextField":{"@":{"name":"IntegerB","label":"TextField2","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/1","x":102,"y":97,"width":97,"height":31},">":[]}},{"UIAButton":{"@":{"name":"ComputeSumButton","label":"Compute Sum","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/2","x":94,"y":142,"width":113,"height":37},">":[]}},{"UIAStaticText":{"@":{"name":"Answer","label":"SumLabel","value":"SumLabel","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/3","x":129,"y":187,"width":42,"height":21},">":[]}},{"UIAButton":{"@":{"name":"show alert","label":"show alert","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/4","x":26,"y":227,"width":76,"height":44},">":[]}},{"UIAButton":{"@":{"name":"contact alert","label":"contact alert","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/5","x":110,"y":234,"width":113,"height":44},">":[]}},{"UIAButton":{"@":{"name":"location alert","label":"location alert","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/6","x":204,"y":234,"width":116,"height":44},">":[]}},{"UIAStaticText":{"@":{"name":"AppElem","label":"AppElem","value":"AppElem","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/7","x":122,"y":279,"width":56,"height":21},">":[]}},{"UIASlider":{"@":{"name":"AppElem","label":"AppElem","value":"50%","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/8","x":91,"y":308,"width":118,"height":23},">":[]}},{"UIAStaticText":{"@":{"name":"AppElem","label":"AppElem","value":"AppElem","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/9","x":122,"y":338,"width":56,"height":21},">":[]}},{"UIAButton":{"@":{"name":"DisabledButton","label":"disabled button","value":null,"dom":null,"enabled":false,"valid":true,"visible":true,"hint":null,"path":"/0/0/10","x":83,"y":367,"width":136,"height":28},">":[]}},{"UIAStaticText":{"@":{"name":null,"label":"","value":"","dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/0/11","x":82,"y":403,"width":73,"height":21},">":[]}},{"UIASwitch":{"@":{"name":"locationStatus","label":"locationStatus","value":1,"dom":null,"enabled":false,"valid":true,"visible":true,"hint":null,"path":"/0/0/12","x":177,"y":398,"width":79,"height":27},">":[]}},{"UIAButton":{"@":{"name":"Test Gesture","label":"Test Gesture","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/13","x":93,"y":417,"width":116,"height":44},">":[]}}]}},{"UIAWindow":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1","x":0,"y":0,"width":320,"height":480},">":[{"UIAStatusBar":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/1/0","x":0,"y":0,"width":320,"height":20},">":[{"UIAElement":{"@":{"name":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/0","x":4,"y":0,"width":43,"height":20},">":[]}},{"UIAElement":{"@":{"name":"3 of 3 bars, Wi-Fi signal strength","label":"3 of 3 bars, Wi-Fi signal strength","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/1","x":52,"y":0,"width":20,"height":20},">":[]}},{"UIAElement":{"@":{"name":"1:00 PM","label":"1:00 PM","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/2","x":134,"y":0,"width":53,"height":20},">":[]}},{"UIAElement":{"@":{"name":"100% battery power","label":"100% battery power","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Double-tap to scroll to top","path":"/0/1/0/3","x":296,"y":0,"width":21,"height":20},">":[]}}]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/1","x":0,"y":20,"width":3,"height":3},">":[]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/2","x":317,"y":20,"width":3,"height":3},">":[]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/3","x":0,"y":477,"width":3,"height":3},">":[]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1/4","x":317,"y":477,"width":3,"height":3},">":[]}}]}}]}}}
info: [debug] [INST] 2014-11-25 05:00:02 +0000 Debug: Running system command #12: /usr/local/bin/node /Users/sebv/Documents/Work/appium/submodules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{"status":0,"value":{"UIAApplication":{"@":{"name":"TestApp","label":"TestApp","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0"...
info: [debug] Socket data received (5715 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {"status":0,"value":{"UIAApplication":{"@":{"name":"TestApp","label":"TestApp","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":20,"width":320,"height":460},">":[{"UIAWindow":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"va
info: [debug] Responding to client with success: {"status":0,"value":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<AppiumAUT>\n <UIAApplication name=\"TestApp\" label=\"TestApp\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0\" x=\"0\" y=\"20\" width=\"320\" height=\"460\">\n <UIAWindow name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0\" x=\"0\" y=\"0\" width=\"320\" height=\"480\">\n <UIATextField name=\"IntegerA\" label=\"TextField1\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/0\" x=\"102\" y=\"58\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIATextField name=\"IntegerB\" label=\"TextField2\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/1\" x=\"102\" y=\"97\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIAButton name=\"ComputeSumButton\" label=\"Compute Sum\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/2\" x=\"94\" y=\"142\" width=\"113\" height=\"37\">\n </UIAButton...","sessionId":"d90e6a6d-2979-43af-9f08-8524120908d1"}
info: <-- GET /wd/hub/session/d90e6a6d-2979-43af-9f08-8524120908d1/source 200 187.577 ms - 6640 {"status":0,"value":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<AppiumAUT>\n <UIAApplication name=\"TestApp\" label=\"TestApp\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0\" x=\"0\" y=\"20\" width=\"320\" height=\"460\">\n <UIAWindow name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0\" x=\"0\" y=\"0\" width=\"320\" height=\"480\">\n <UIATextField name=\"IntegerA\" label=\"TextField1\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/0\" x=\"102\" y=\"58\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIATextField name=\"IntegerB\" label=\"TextField2\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/1\" x=\"102\" y=\"97\" width=\"97\" height=\"31\">\n </UIATextField>\n <UIAButton name=\"ComputeSumButton\" label=\"Compute Sum\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/2\" x=\"94\" y=\"142\" width=\"113\" height=\"37\">\n </UIAButton...","sessionId":"d90e6a6d-2979-43af-9f08-8524120908d1"}
info: --> DELETE /wd/hub/session/d90e6a6d-2979-43af-9f08-8524120908d1 {}
info: Shutting down appium session
info: [debug] Stopping ios
info: [debug] Destroying instruments client socket.
info: [debug] Closing socket server.
info: [debug] Instruments socket server was closed
info: [debug] Sending sigterm to instruments
info: [debug] [INST] 2014-11-25 05:00:02 +0000 Stopped: Script was stopped by the user
info: [debug] [INST] Instruments Trace Complete (Duration : 19.188147s; Output : /tmp/appium-instruments/instrumentscli0.trace)
info: [debug] [INSTSERVER] Instruments exited with code 0
info: [debug] Cleaning up after instruments exit
info: [debug] Stopping iOS log capture
info: [debug] Running ios sim reset flow
info: [debug] Killing the simulator process
info: [debug] Killall iPhoneSimulator
info: [debug] Killing any other simulator daemons
info: [debug] Cleaning sim data files
info: [debug] Deleting /Users/sebv/Library/Application Support/iPhone Simulator/7.1-64/Library/TCC
info: [debug] Deleting /Users/sebv/Library/Application Support/iPhone Simulator/7.1-64/Library/Caches/locationd
info: [debug] Deleting /Users/sebv/Library/Application Support/iPhone Simulator/7.1-64/Library/BackBoard/applicationState.plist
info: [debug] Deleting /Users/sebv/Library/Application Support/iPhone Simulator/7.1-64/Media
info: [debug] Deleting /Users/sebv/Library/Application Support/iPhone Simulator/7.1-64/Library/Keychains
info: [debug] Cleaning sim preferences
info: [debug] Cleaning app data files
info: Couldn't find app directories to delete. Probably it's not installed
info: [debug] Cleaning up appium session
info: [debug] Responding to client with success: {"status":0,"value":null,"sessionId":"d90e6a6d-2979-43af-9f08-8524120908d1"}
info: <-- DELETE /wd/hub/session/d90e6a6d-2979-43af-9f08-8524120908d1 200 657.097 ms - 76 {"status":0,"value":null,"sessionId":"d90e6a6d-2979-43af-9f08-8524120908d1"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment