Skip to content

Instantly share code, notes, and snippets.

@darraghgrace
darraghgrace / gist:5936176
Last active December 19, 2015 09:49
second response, logElementTree
Second response
2013-07-05 16:24:09 +0000 Default: log:posting response : {"sessionId":"10537c3e-4d7d-4000-a6c6-03e40f6e515b","status":0,"value":{"screenshot":false,"tree":{"type":"UIAApplication","name":"SportsBook","value":null,"label":"SportsBook","rect":{"origin":{"x":0,"y":20},"size":{"width":1024,"height":748}},"ref":1,"children":[{"type":"UIAWindow","name":null,"value":null,"label":null,"rect":{"origin":{"x":0,"y":0},"size":{"width":1024,"height":768}},"ref":303,"children":[{"type":"UIANavigationBar","name":null,"value":null,"label":null,"rect":{"origin":{"x":0,"y":20},"size":{"width":1024,"height":44}},"ref":304,"children":[{"type":"UIAImage","name":null,"value":null,"label":null,"rect":{"origin":{"x":0,"y":20},"size":{"width":1024,"height":44}},"ref":305,"children":[{"type":"UIAImage","name":null,"value":null,"label":null,"rect":{"origin":{"x":1021,"y":0},"size":{"width":3,"height":1024}},"ref":306}]},{"type":"UIAButton","name":"Back","value":null,"label":"Back","rect":{"origin":{"x":7,"y":26},"size"
@darraghgrace
darraghgrace / gist:5936169
Created July 5, 2013 17:58
first response, logElementTree
First response
2013-07-05 16:23:31 +0000 Default: log:posting response : {"sessionId":"10537c3e-4d7d-4000-a6c6-03e40f6e515b","status":0,"value":{"screenshot":false,"tree":{"type":"UIAApplication","name":"SportsBook","value":null,"label":"SportsBook","rect":{"origin":{"x":0,"y":20},"size":{"width":1024,"height":748}},"ref":1,"children":[{"type":"UIAWindow","name":null,"value":null,"label":null,"rect":{"origin":{"x":0,"y":0},"size":{"width":1024,"height":768}},"ref":162,"children":[{"type":"UIANavigationBar","name":null,"value":null,"label":null,"rect":{"origin":{"x":0,"y":20},"size":{"width":1024,"height":44}},"ref":163,"children":[{"type":"UIAImage","name":null,"value":null,"label":null,"rect":{"origin":{"x":0,"y":20},"size":{"width":1024,"height":44}},"ref":164,"children":[{"type":"UIAImage","name":null,"value":null,"label":null,"rect":{"origin":{"x":1021,"y":0},"size":{"width":3,"height":1024}},"ref":165}]},{"type":"UIAButton","name":"Back","value":null,"label":"Back","rect":{"origin":{"x":7,"y":26},"size":
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="AllTestUnits" tests="74" failures="4" errors="2" time="0.771510">
<testsuite name="KWSpec" tests="0" failures="0" errors="0" time="0.000021" timestamp="2013-06-06T22:27:34GMT+01:00">
</testsuite>
<testsuite name="KWTestCase" tests="0" failures="0" errors="0" time="0.000013" timestamp="2013-06-06T22:27:34GMT+01:00">
</testsuite>
<testsuite name="NavigationBarViewControllerSpec" tests="9" failures="0" errors="0" time="0.049408" timestamp="2013-06-06T22:27:34GMT+01:00">
<testcase classname="NavigationBarViewControllerSpec" name="PPNNavigationBarViewController_ShouldRespondTonavigationBar" time="0.022523">
<system-out><![CDATA[2013-06-06 22:27:33.803 SportsBook[10542:c07] + &apos;PPNNavigationBarViewController, should respond to -navigationBar&apos; [PASSED]
]]></system-out>
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="AllTestUnits" tests="74" failures="4" errors="2" time="0.612988">
<testsuite name="KWSpec" tests="0" failures="0" errors="0" time="0.000011" timestamp="2013-06-06T19:59:17GMT+01:00">
</testsuite>
<testsuite name="KWTestCase" tests="0" failures="0" errors="0" time="0.000012" timestamp="2013-06-06T19:59:17GMT+01:00">
</testsuite>
<testsuite name="NavigationBarViewControllerSpec" tests="9" failures="0" errors="0" time="0.053363" timestamp="2013-06-06T19:59:17GMT+01:00">
<testcase classname="NavigationBarViewControllerSpec" name="PPNNavigationBarViewController_ShouldRespondTonavigationBar" time="0.021994">
<system-out>2013-06-06 19:59:17.075 SportsBook[7208:c07] + &apos;PPNNavigationBarViewController, should respond to -navigationBar&apos; [PASSED]
</system-out>
@darraghgrace
darraghgrace / gist:5004741
Created February 21, 2013 13:30
OS X 10.7.5
{
"class": "org.openqa.selenium.remote.Response",
"hCode": 2023189450,
"sessionId": null,
"status": 0,
"value": {
"build": {
"revision": "3d3c1d0c57018aabf8cc17433ca2eeee8d2e38f2",
"time": "20130220-1744",
"version": "0.6.0-SNAPSHOT"
{
"class": "org.openqa.selenium.remote.Response",
"hCode": 622242820,
"sessionId": null,
"status": 0,
"value": {
"build": {
"revision": "3d3c1d0c57018aabf8cc17433ca2eeee8d2e38f2",
"time": "20130220-1744",
"version": "0.6.0-SNAPSHOT"
@darraghgrace
darraghgrace / safari
Created February 21, 2013 11:53
mobilesafari
Last login: Thu Feb 21 11:45:56 on ttys000
DGRACE-IMAC:~ dgrace$ cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk/Applications/MobileSafari.app
DGRACE-IMAC:MobileSafari.app dgrace$ ls | grep *.lproj
grep: English.lproj: Is a directory
grep: French.lproj: Is a directory
grep: German.lproj: Is a directory
grep: Italian.lproj: Is a directory
grep: Japanese.lproj: Is a directory
grep: Spanish.lproj: Is a directory
grep: ar.lproj: Is a directory