Advertisement
gust94

cara calabash

Apr 5th, 2017
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 75.69 KB | None | 0 0
  1.  
  2. $ export BUNDLE_ID=com.example.MyApp-cal
  3. $ export DEVICE_TARGET=< UDID >
  4. $ export DEVICE_ENDPOINT=http://<ip>:37265
  5. $ bundle exec calabash-ios console
  6.  
  7. Last login: Wed Apr 5 08:39:58 on ttys001
  8. dss-2s-MacBook-Air:~ dss-2$ /Users/dss-2/calabash-sandbox ; exit;
  9. This terminal is now ready to use with Calabash.
  10. To exit, type 'exit'.
  11. [dss-2@calabash-sandbox]$ bundle
  12. bash: bundle: command not found
  13. [dss-2@calabash-sandbox]$ bundle exec calabash-ios download
  14. bash: bundle: command not found
  15. [dss-2@calabash-sandbox]$ cd /Users/dss-2/mivo-live-swift/Gemfile
  16. bash: cd: /Users/dss-2/mivo-live-swift/Gemfile: Not a directory
  17. [dss-2@calabash-sandbox]$ cd /Users/dss-2/mivo-live-swift/
  18. [dss-2@calabash-sandbox]$ bundle
  19. bash: bundle: command not found
  20. [dss-2@calabash-sandbox]$ bundle exec calabash-ios download
  21. bash: bundle: command not found
  22. [dss-2@calabash-sandbox]$ Gemfile
  23. bash: Gemfile: command not found
  24. [dss-2@calabash-sandbox]$ cd /Users/dss-2/mivo-live-swift/
  25. [dss-2@calabash-sandbox]$ cd /Users/dss-2/mivo-live-swift/
  26. [dss-2@calabash-sandbox]$ Gemfile
  27. bash: Gemfile: command not found
  28. [dss-2@calabash-sandbox]$ bundle install
  29. bash: bundle: command not found
  30. [dss-2@calabash-sandbox]$ gem install bundler
  31. Fetching: bundler-1.14.6.gem (100%)
  32. Successfully installed bundler-1.14.6
  33. Parsing documentation for bundler-1.14.6
  34. Installing ri documentation for bundler-1.14.6
  35. 1 gem installed
  36. [dss-2@calabash-sandbox]$ bundle
  37. Fetching gem metadata from https://rubygems.org/..........
  38. Fetching version metadata from https://rubygems.org/..
  39. Fetching dependency metadata from https://rubygems.org/.
  40. Resolving dependencies...
  41. Rubygems 2.0.14.1 is not threadsafe, so your gems will be installed one at a time. Upgrade to Rubygems 2.1.0 or higher to enable parallel gem installation.
  42. Installing CFPropertyList 2.3.5
  43. Installing awesome_print 1.7.0
  44. Installing builder 3.2.3
  45. Using bundler 1.14.6
  46. Installing clipboard 1.1.1
  47. Installing gherkin 4.1.1
  48. Installing cucumber-wire 0.0.1
  49. Installing diff-lcs 1.3
  50. Installing multi_json 1.12.1
  51. Installing multi_test 0.1.2
  52. Installing edn 1.1.1
  53. Installing geocoder 1.4.3
  54. Installing httpclient 2.8.3
  55. Installing json 1.8.6 with native extensions
  56. Installing command_runner_ng 0.1.0
  57. Installing i18n 0.8.1
  58. Installing thor 0.19.4
  59. Installing cucumber-core 1.5.0
  60. Installing run_loop 2.3.1
  61. Installing cucumber 2.4.0
  62. Installing slowhandcuke 0.0.3
  63. Installing calabash-cucumber 0.20.4
  64. Bundle complete! 1 Gemfile dependency, 22 gems now installed.
  65. Use `bundle show [gemname]` to see where a bundled gem is installed.
  66. Post-install message from slowhandcuke:
  67.  
  68. *****************************************************************
  69. * To use the slowhandcuke formatter, simple add *
  70. * --format 'Slowhandcuke::Formatter' *
  71. * to your cucumber.yml, Rakefile, or command line call *
  72. *****************************************************************
  73.  
  74. [dss-2@calabash-sandbox]$ bundle exec calabash-ios download
  75.  
  76. ----------Info----------
  77. caution: excluded filename not matched: __MACOSX/*
  78. caution: excluded filename not matched: calabash.framework/.DS_Store
  79. ---------------------------
  80. [dss-2@calabash-sandbox]$ bundle exec calabash-ios gen
  81.  
  82. ----------Question----------
  83. I'm about to create a features directory here:
  84.  
  85. /Users/dss-2/mivo-live-swift/features
  86.  
  87. This directory will contain all of your calabash tests.
  88. Shall I proceed? (Y/n)
  89. ---------------------------
  90. Y
  91.  
  92. Created: /Users/dss-2/mivo-live-swift/features
  93.  
  94. Found a Gemfile...and it contains calabash-cucumber!
  95.  
  96. My work is done here.
  97. [dss-2@calabash-sandbox]$ bundle exec cucumber
  98. Feature: Sample Feature
  99.  
  100. Scenario: Sample Scenario # features/sample.feature:3
  101. Recursively searched these directories to depth 10:
  102.  
  103. /Users/dss-2/Library/Developer/Xcode/DerivedData/mivo-swift-geeaggqjvlnqwpgrzkxhxiwnvxgq
  104. /Users/dss-2/Library/Developer/Xcode/DerivedData/mivo-swift-geiuqbxjxicsiagcymagapbxhygp
  105. /Users/dss-2/mivo-live-swift
  106.  
  107. but could not find any .app for the simulator that links the Calabash iOS server.
  108.  
  109. Make sure you have built your app for a simulator target from Xcode.
  110.  
  111. If you are testing a stand-alone .app (you don't have an Xcode project), put
  112. your .app in the same directory (or below) the directory you run `cucumber` from.
  113. (RunLoop::NoSimulatorAppFoundError)
  114. ./features/support/01_launch.rb:27:in `Before'
  115. Given the app has launched # features/steps/sample_steps.rb:1
  116. And I have done a specific thing # features/steps/sample_steps.rb:7
  117. When I do something # features/steps/sample_steps.rb:32
  118. Then something should happen # features/steps/sample_steps.rb:41
  119.  
  120. Failing Scenarios:
  121. cucumber features/sample.feature:3 # Scenario: Sample Scenario
  122.  
  123. 1 scenario (1 failed)
  124. 4 steps (4 skipped)
  125. 0m7.832s
  126. [dss-2@calabash-sandbox]$ export APP=Products/app/mivo-swift.app
  127. [dss-2@calabash-sandbox]$ bundle exec cucumber
  128. Feature: Sample Feature
  129.  
  130. Scenario: Sample Scenario # features/sample.feature:3
  131.  
  132. The app you are trying to launch is not installed on the target device:
  133.  
  134. bundle identifier: mivo-swift.app
  135. device: #<Simulator: iPhone 7 (10.2) 3B5B420A-3345-43BF-9CC9-57AC6699C5E3 x86_64>
  136.  
  137. Please install it.
  138.  
  139. (RuntimeError)
  140. ./features/support/01_launch.rb:27:in `Before'
  141. Given the app has launched # features/steps/sample_steps.rb:1
  142. And I have done a specific thing # features/steps/sample_steps.rb:7
  143. When I do something # features/steps/sample_steps.rb:32
  144. Then something should happen # features/steps/sample_steps.rb:41
  145.  
  146. Failing Scenarios:
  147. cucumber features/sample.feature:3 # Scenario: Sample Scenario
  148.  
  149. 1 scenario (1 failed)
  150. 4 steps (4 skipped)
  151. 0m34.451s
  152. [dss-2@calabash-sandbox]$ bundle exec cucumber
  153. Feature: Sample Feature
  154.  
  155. Scenario: Sample Scenario # features/sample.feature:3
  156.  
  157. The app you are trying to launch is not installed on the target device:
  158.  
  159. bundle identifier: mivo-swift.app
  160. device: #<Simulator: iPhone 7 (10.2) 3B5B420A-3345-43BF-9CC9-57AC6699C5E3 x86_64>
  161.  
  162. Please install it.
  163.  
  164. (RuntimeError)
  165. ./features/support/01_launch.rb:27:in `Before'
  166. Given the app has launched # features/steps/sample_steps.rb:1
  167. And I have done a specific thing # features/steps/sample_steps.rb:7
  168. When I do something # features/steps/sample_steps.rb:32
  169. Then something should happen # features/steps/sample_steps.rb:41
  170.  
  171. Failing Scenarios:
  172. cucumber features/sample.feature:3 # Scenario: Sample Scenario
  173.  
  174. 1 scenario (1 failed)
  175. 4 steps (4 skipped)
  176. 0m8.603s
  177. [dss-2@calabash-sandbox]$ bundle exec cucumber
  178. Feature: Sample Feature
  179.  
  180. Scenario: Sample Scenario # features/sample.feature:3
  181.  
  182. The app you are trying to launch is not installed on the target device:
  183.  
  184. bundle identifier: mivo-swift.app
  185. device: #<Simulator: iPhone 7 (10.2) 3B5B420A-3345-43BF-9CC9-57AC6699C5E3 x86_64>
  186.  
  187. Please install it.
  188.  
  189. (RuntimeError)
  190. ./features/support/01_launch.rb:27:in `Before'
  191. Given the app has launched # features/steps/sample_steps.rb:1
  192. And I have done a specific thing # features/steps/sample_steps.rb:7
  193. When I do something # features/steps/sample_steps.rb:32
  194. Then something should happen # features/steps/sample_steps.rb:41
  195.  
  196. Failing Scenarios:
  197. cucumber features/sample.feature:3 # Scenario: Sample Scenario
  198.  
  199. 1 scenario (1 failed)
  200. 4 steps (4 skipped)
  201. 0m7.151s
  202. [dss-2@calabash-sandbox]$ export APP=Products/app/mivo-swift.app
  203. [dss-2@calabash-sandbox]$ bundle exec cucumber
  204. Feature: Sample Feature
  205.  
  206. Scenario: Sample Scenario # features/sample.feature:3
  207.  
  208. The app you are trying to launch is not installed on the target device:
  209.  
  210. bundle identifier: mivo-swift.app
  211. device: #<Simulator: iPhone 7 (10.2) 3B5B420A-3345-43BF-9CC9-57AC6699C5E3 x86_64>
  212.  
  213. Please install it.
  214.  
  215. (RuntimeError)
  216. ./features/support/01_launch.rb:27:in `Before'
  217. Given the app has launched # features/steps/sample_steps.rb:1
  218. And I have done a specific thing # features/steps/sample_steps.rb:7
  219. When I do something # features/steps/sample_steps.rb:32
  220. Then something should happen # features/steps/sample_steps.rb:41
  221.  
  222. Failing Scenarios:
  223. cucumber features/sample.feature:3 # Scenario: Sample Scenario
  224.  
  225. 1 scenario (1 failed)
  226. 4 steps (4 skipped)
  227. 0m5.725s
  228. [dss-2@calabash-sandbox]$ bundle exec cucumber
  229. Feature: Sample Feature
  230.  
  231. Scenario: Sample Scenario # features/sample.feature:3
  232.  
  233. The app you are trying to launch is not installed on the target device:
  234.  
  235. bundle identifier: mivo-swift.app
  236. device: #<Simulator: iPhone 7 (10.2) 3B5B420A-3345-43BF-9CC9-57AC6699C5E3 x86_64>
  237.  
  238. Please install it.
  239.  
  240. (RuntimeError)
  241. ./features/support/01_launch.rb:27:in `Before'
  242. Given the app has launched # features/steps/sample_steps.rb:1
  243. And I have done a specific thing # features/steps/sample_steps.rb:7
  244. When I do something # features/steps/sample_steps.rb:32
  245. Then something should happen # features/steps/sample_steps.rb:41
  246.  
  247. Failing Scenarios:
  248. cucumber features/sample.feature:3 # Scenario: Sample Scenario
  249.  
  250. 1 scenario (1 failed)
  251. 4 steps (4 skipped)
  252. 0m6.401s
  253. [dss-2@calabash-sandbox]$ bundle exec cucumber
  254. Feature: Sample Feature
  255.  
  256. Scenario: Sample Scenario # features/sample.feature:3
  257.  
  258. The app you are trying to launch is not installed on the target device:
  259.  
  260. bundle identifier: mivo-swift.app
  261. device: #<Simulator: iPhone 7 (10.2) 3B5B420A-3345-43BF-9CC9-57AC6699C5E3 x86_64>
  262.  
  263. Please install it.
  264.  
  265. (RuntimeError)
  266. ./features/support/01_launch.rb:27:in `Before'
  267. Given the app has launched # features/steps/sample_steps.rb:1
  268. And I have done a specific thing # features/steps/sample_steps.rb:7
  269. When I do something # features/steps/sample_steps.rb:32
  270. Then something should happen # features/steps/sample_steps.rb:41
  271.  
  272. Failing Scenarios:
  273. cucumber features/sample.feature:3 # Scenario: Sample Scenario
  274.  
  275. 1 scenario (1 failed)
  276. 4 steps (4 skipped)
  277. 0m5.493s
  278. [dss-2@calabash-sandbox]$ export APP=Products/app/mivo-live.app
  279. [dss-2@calabash-sandbox]$ bundle exec cucumber
  280. Feature: Sample Feature
  281.  
  282. Scenario: Sample Scenario # features/sample.feature:3
  283.  
  284. The app you are trying to launch is not installed on the target device:
  285.  
  286. bundle identifier: mivo-live.app
  287. device: #<Simulator: iPhone 7 (10.2) 3B5B420A-3345-43BF-9CC9-57AC6699C5E3 x86_64>
  288.  
  289. Please install it.
  290.  
  291. (RuntimeError)
  292. ./features/support/01_launch.rb:27:in `Before'
  293. Given the app has launched # features/steps/sample_steps.rb:1
  294. And I have done a specific thing # features/steps/sample_steps.rb:7
  295. When I do something # features/steps/sample_steps.rb:32
  296. Then something should happen # features/steps/sample_steps.rb:41
  297.  
  298. Failing Scenarios:
  299. cucumber features/sample.feature:3 # Scenario: Sample Scenario
  300.  
  301. 1 scenario (1 failed)
  302. 4 steps (4 skipped)
  303. 0m5.715s
  304. [dss-2@calabash-sandbox]$ bundle exec cucumber
  305. Feature: Sample Feature
  306.  
  307. Scenario: Sample Scenario # features/sample.feature:3
  308.  
  309. The app you are trying to launch is not installed on the target device:
  310.  
  311. bundle identifier: mivo-live.app
  312. device: #<Simulator: iPhone 7 (10.2) 3B5B420A-3345-43BF-9CC9-57AC6699C5E3 x86_64>
  313.  
  314. Please install it.
  315.  
  316. (RuntimeError)
  317. ./features/support/01_launch.rb:27:in `Before'
  318. Given the app has launched # features/steps/sample_steps.rb:1
  319. And I have done a specific thing # features/steps/sample_steps.rb:7
  320. When I do something # features/steps/sample_steps.rb:32
  321. Then something should happen # features/steps/sample_steps.rb:41
  322.  
  323. Failing Scenarios:
  324. cucumber features/sample.feature:3 # Scenario: Sample Scenario
  325.  
  326. 1 scenario (1 failed)
  327. 4 steps (4 skipped)
  328. 0m5.814s
  329. [dss-2@calabash-sandbox]$ make app
  330. make: *** No rule to make target `app'. Stop.
  331. [dss-2@calabash-sandbox]$ export APP=mivo-live.app
  332. [dss-2@calabash-sandbox]$ bundle exec cucumber
  333. Feature: Sample Feature
  334.  
  335. Scenario: Sample Scenario # features/sample.feature:3
  336.  
  337. The app you are trying to launch is not installed on the target device:
  338.  
  339. bundle identifier: mivo-live.app
  340. device: #<Simulator: iPhone 7 (10.2) 3B5B420A-3345-43BF-9CC9-57AC6699C5E3 x86_64>
  341.  
  342. Please install it.
  343.  
  344. (RuntimeError)
  345. ./features/support/01_launch.rb:27:in `Before'
  346. Given the app has launched # features/steps/sample_steps.rb:1
  347. And I have done a specific thing # features/steps/sample_steps.rb:7
  348. When I do something # features/steps/sample_steps.rb:32
  349. Then something should happen # features/steps/sample_steps.rb:41
  350.  
  351. Failing Scenarios:
  352. cucumber features/sample.feature:3 # Scenario: Sample Scenario
  353.  
  354. 1 scenario (1 failed)
  355. 4 steps (4 skipped)
  356. 0m5.579s
  357. [dss-2@calabash-sandbox]$ export APP=Products/app/mivo-live.app
  358. [dss-2@calabash-sandbox]$ bundle exec cucumber
  359. Feature: Sample Feature
  360.  
  361. Scenario: Sample Scenario # features/sample.feature:3
  362.  
  363. The app you are trying to launch is not installed on the target device:
  364.  
  365. bundle identifier: mivo-live.app
  366. device: #<Simulator: iPhone 7 (10.2) 3B5B420A-3345-43BF-9CC9-57AC6699C5E3 x86_64>
  367.  
  368. Please install it.
  369.  
  370. (RuntimeError)
  371. ./features/support/01_launch.rb:27:in `Before'
  372. Given the app has launched # features/steps/sample_steps.rb:1
  373. And I have done a specific thing # features/steps/sample_steps.rb:7
  374. When I do something # features/steps/sample_steps.rb:32
  375. Then something should happen # features/steps/sample_steps.rb:41
  376.  
  377. Failing Scenarios:
  378. cucumber features/sample.feature:3 # Scenario: Sample Scenario
  379.  
  380. 1 scenario (1 failed)
  381. 4 steps (4 skipped)
  382. 0m5.433s
  383. [dss-2@calabash-sandbox]$ bundle exec calabash-ios console
  384. Running irb...
  385.  
  386. ######################### Useful Methods ##########################
  387. ids => List all the visible accessibility ids.
  388. labels => List all the visible accessibility labels.
  389. text => List all the visible texts.
  390. marks => List all the visible marks.
  391. tree => The app's visible view hierarchy.
  392. flash => flash(<query>); Disco effect for views matching <query>
  393. verbose => Turn debug logging on.
  394. quiet => Turn debug logging off.
  395. copy => Copy console commands to clipboard.
  396. clear => Clear the console.
  397.  
  398. Calabash says, "Take a deep breath."
  399. calabash-ios 0.20.4> start_test_server_in_background
  400. RuntimeError:
  401. The app you are trying to launch is not installed on the target device:
  402.  
  403. bundle identifier: mivo-live.app
  404. device: #<Simulator: iPhone 7 (10.2) 3B5B420A-3345-43BF-9CC9-57AC6699C5E3 x86_64>
  405.  
  406. Please install it.
  407.  
  408.  
  409. from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/device_agent/client.rb:1345:in `launch_aut'
  410. from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/device_agent/client.rb:272:in `launch'
  411. from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/device_agent/client.rb:147:in `run'
  412. from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop.rb:113:in `run'
  413. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/launcher.rb:408:in `block in new_run_loop'
  414. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/launcher.rb:406:in `times'
  415. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/launcher.rb:406:in `new_run_loop'
  416. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/launcher.rb:365:in `relaunch'
  417. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:1567:in `start_test_server_in_background'
  418. from (irb):1
  419. from /usr/bin/irb:12:in `<main>'
  420. calabash-ios 0.20.4> exit
  421. [dss-2@calabash-sandbox]$ export APP=Products/app/Mivo.app
  422. [dss-2@calabash-sandbox]$ bundle exec cucumber
  423. Feature: Sample Feature
  424.  
  425. Scenario: Sample Scenario # features/sample.feature:3
  426.  
  427. The app you are trying to launch is not installed on the target device:
  428.  
  429. bundle identifier: Mivo.app
  430. device: #<Simulator: iPhone 7 (10.2) 3B5B420A-3345-43BF-9CC9-57AC6699C5E3 x86_64>
  431.  
  432. Please install it.
  433.  
  434. (RuntimeError)
  435. ./features/support/01_launch.rb:27:in `Before'
  436. Given the app has launched # features/steps/sample_steps.rb:1
  437. And I have done a specific thing # features/steps/sample_steps.rb:7
  438. When I do something # features/steps/sample_steps.rb:32
  439. Then something should happen # features/steps/sample_steps.rb:41
  440.  
  441. Failing Scenarios:
  442. cucumber features/sample.feature:3 # Scenario: Sample Scenario
  443.  
  444. 1 scenario (1 failed)
  445. 4 steps (4 skipped)
  446. 0m5.428s
  447. [dss-2@calabash-sandbox]$ bundle exec cucumber
  448. Feature: Sample Feature
  449.  
  450. Scenario: Sample Scenario # features/sample.feature:3
  451.  
  452. The app you are trying to launch is not installed on the target device:
  453.  
  454. bundle identifier: Mivo.app
  455. device: #<Simulator: iPhone 7 (10.2) 3B5B420A-3345-43BF-9CC9-57AC6699C5E3 x86_64>
  456.  
  457. Please install it.
  458.  
  459. (RuntimeError)
  460. ./features/support/01_launch.rb:27:in `Before'
  461. Given the app has launched # features/steps/sample_steps.rb:1
  462. And I have done a specific thing # features/steps/sample_steps.rb:7
  463. When I do something # features/steps/sample_steps.rb:32
  464. Then something should happen # features/steps/sample_steps.rb:41
  465.  
  466. Failing Scenarios:
  467. cucumber features/sample.feature:3 # Scenario: Sample Scenario
  468.  
  469. 1 scenario (1 failed)
  470. 4 steps (4 skipped)
  471. 0m6.963s
  472. [dss-2@calabash-sandbox]$ #APP_BUNDLE_PATH =
  473. [dss-2@calabash-sandbox]$ #App_BUNDLE_PATH = "~/..../../Mivo.app"
  474. [dss-2@calabash-sandbox]$ bundle exec cucumber
  475. Feature: Sample Feature
  476.  
  477. Scenario: Sample Scenario # features/sample.feature:3
  478.  
  479. The app you are trying to launch is not installed on the target device:
  480.  
  481. bundle identifier: Mivo.app
  482. device: #<Simulator: iPhone 7 (10.2) 3B5B420A-3345-43BF-9CC9-57AC6699C5E3 x86_64>
  483.  
  484. Please install it.
  485.  
  486. (RuntimeError)
  487. ./features/support/01_launch.rb:27:in `Before'
  488. Given the app has launched # features/steps/sample_steps.rb:1
  489. And I have done a specific thing # features/steps/sample_steps.rb:7
  490. When I do something # features/steps/sample_steps.rb:32
  491. Then something should happen # features/steps/sample_steps.rb:41
  492.  
  493. Failing Scenarios:
  494. cucumber features/sample.feature:3 # Scenario: Sample Scenario
  495.  
  496. 1 scenario (1 failed)
  497. 4 steps (4 skipped)
  498. 0m5.978s
  499. [dss-2@calabash-sandbox]$ export APP=/Users/dss-2/Library/Developer/Xcode/DerivedData/mivo-swift-geiuqbxjxicsiagcymagapbxhygp/Build/Products/Debug-iphonesimulator/Mivo.app
  500. [dss-2@calabash-sandbox]$ bundle exec cucumber
  501. Feature: Sample Feature
  502.  
  503. Scenario: Sample Scenario # features/sample.feature:3
  504. Given the app has launched # features/steps/sample_steps.rb:1
  505. And I have done a specific thing # features/steps/sample_steps.rb:7
  506. When I do something # features/steps/sample_steps.rb:32
  507. Then something should happen # features/steps/sample_steps.rb:41
  508.  
  509. 1 scenario (1 passed)
  510. 4 steps (4 passed)
  511. 0m15.727s
  512. [dss-2@calabash-sandbox]$ bundle exec calabash-ios console
  513. Running irb...
  514.  
  515. ######################### Useful Methods ##########################
  516. ids => List all the visible accessibility ids.
  517. labels => List all the visible accessibility labels.
  518. text => List all the visible texts.
  519. marks => List all the visible marks.
  520. tree => The app's visible view hierarchy.
  521. flash => flash(<query>); Disco effect for views matching <query>
  522. verbose => Turn debug logging on.
  523. quiet => Turn debug logging off.
  524. copy => Copy console commands to clipboard.
  525. clear => Clear the console.
  526.  
  527. Calabash says, "Your wish is my command."
  528. calabash-ios 0.20.4> start_test_server_in_background
  529.  
  530. #<Launcher: DeviceAgent/ios_device_manager>
  531. calabash-ios 0.20.4>
  532. > exit
  533. [dss-2@calabash-sandbox]$ bundle exec calabash-ios console
  534. Running irb...
  535.  
  536. ######################### Useful Methods ##########################
  537. ids => List all the visible accessibility ids.
  538. labels => List all the visible accessibility labels.
  539. text => List all the visible texts.
  540. marks => List all the visible marks.
  541. tree => The app's visible view hierarchy.
  542. flash => flash(<query>); Disco effect for views matching <query>
  543. verbose => Turn debug logging on.
  544. quiet => Turn debug logging off.
  545. copy => Copy console commands to clipboard.
  546. clear => Clear the console.
  547.  
  548. Calabash says, "Let's get this done!"
  549. Attached to: #<Launcher: DeviceAgent/ios_device_manager>
  550. calabash-ios 0.20.4> exit
  551. [dss-2@calabash-sandbox]$ bundle exec cucumber
  552. Feature: Sample Feature
  553.  
  554. Scenario: Sample Scenario # features/sample.feature:3
  555. Given the app has launched # features/steps/sample_steps.rb:1
  556. And I have done a specific thing # features/steps/sample_steps.rb:7
  557. When I do something # features/steps/sample_steps.rb:32
  558. Then something should happen # features/steps/sample_steps.rb:41
  559.  
  560. 1 scenario (1 passed)
  561. 4 steps (4 passed)
  562. 0m15.687s
  563. [dss-2@calabash-sandbox]$ bundle exec calabash-ios console
  564. Running irb...
  565.  
  566. ######################### Useful Methods ##########################
  567. ids => List all the visible accessibility ids.
  568. labels => List all the visible accessibility labels.
  569. text => List all the visible texts.
  570. marks => List all the visible marks.
  571. tree => The app's visible view hierarchy.
  572. flash => flash(<query>); Disco effect for views matching <query>
  573. verbose => Turn debug logging on.
  574. quiet => Turn debug logging off.
  575. copy => Copy console commands to clipboard.
  576. clear => Clear the console.
  577.  
  578. Calabash says, "Enjoy."
  579. calabash-ios 0.20.4> text
  580. Retrying.. Errno::ECONNREFUSED: (Connection refused - Connection refused - connect(2) (127.0.0.1:37265))
  581. Retrying.. Errno::ECONNREFUSED: (Connection refused - Connection refused - connect(2) (127.0.0.1:37265))
  582. Failing... Errno::ECONNREFUSED
  583. Errno::ECONNREFUSED: Connection refused - Connection refused - connect(2) (127.0.0.1:37265)
  584. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:623:in `rescue in create_socket'
  585. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:607:in `create_socket'
  586. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:755:in `block in connect'
  587. from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/timeout.rb:66:in `timeout'
  588. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:748:in `connect'
  589. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:511:in `query'
  590. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:177:in `query'
  591. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1242:in `do_get_block'
  592. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1019:in `block in do_request'
  593. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1133:in `protect_keep_alive_disconnected'
  594. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1014:in `do_request'
  595. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:856:in `request'
  596. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:765:in `post'
  597. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http_helpers.rb:64:in `block in make_http_request'
  598. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http_helpers.rb:57:in `times'
  599. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http_helpers.rb:57:in `make_http_request'
  600. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http_helpers.rb:33:in `http'
  601. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/map.rb:88:in `raw_map'
  602. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/map.rb:58:in `map'
  603. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:149:in `query'
  604. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/console_helpers.rb:218:in `text_marks'
  605. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/console_helpers.rb:25:in `text'
  606. from (irb):1
  607. from /usr/bin/irb:12:in `<main>'calabash-ios 0.20.4> text
  608. Retrying.. Errno::ECONNREFUSED: (Connection refused - Connection refused - connect(2) (127.0.0.1:37265))
  609. Retrying.. Errno::ECONNREFUSED: (Connection refused - Connection refused - connect(2) (127.0.0.1:37265))
  610. Failing... Errno::ECONNREFUSED
  611. Errno::ECONNREFUSED: Connection refused - Connection refused - connect(2) (127.0.0.1:37265)
  612. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:623:in `rescue in create_socket'
  613. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:607:in `create_socket'
  614. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:755:in `block in connect'
  615. from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/timeout.rb:66:in `timeout'
  616. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:748:in `connect'
  617. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:511:in `query'
  618. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:177:in `query'
  619. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1242:in `do_get_block'
  620. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1019:in `block in do_request'
  621. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1133:in `protect_keep_alive_disconnected'
  622. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1014:in `do_request'
  623. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:856:in `request'
  624. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:765:in `post'
  625. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http_helpers.rb:64:in `block in make_http_request'
  626. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http_helpers.rb:57:in `times'
  627. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http_helpers.rb:57:in `make_http_request'
  628. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http_helpers.rb:33:in `http'
  629. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/map.rb:88:in `raw_map'
  630. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/map.rb:58:in `map'
  631. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:149:in `query'
  632. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/console_helpers.rb:218:in `text_marks'
  633. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/console_helpers.rb:25:in `text'
  634. from (irb):2
  635. from /usr/bin/irb:12:in `<main>'calabash-ios 0.20.4> exit
  636. [dss-2@calabash-sandbox]$ bundle exec calabash-ios console
  637. Running irb...
  638.  
  639. ######################### Useful Methods ##########################
  640. ids => List all the visible accessibility ids.
  641. labels => List all the visible accessibility labels.
  642. text => List all the visible texts.
  643. marks => List all the visible marks.
  644. tree => The app's visible view hierarchy.
  645. flash => flash(<query>); Disco effect for views matching <query>
  646. verbose => Turn debug logging on.
  647. quiet => Turn debug logging off.
  648. copy => Copy console commands to clipboard.
  649. clear => Clear the console.
  650.  
  651. Calabash says, "Enjoy."
  652. calabash-ios 0.20.4> ids
  653. Retrying.. Errno::ECONNREFUSED: (Connection refused - Connection refused - connect(2) (127.0.0.1:37265))
  654. Retrying.. Errno::ECONNREFUSED: (Connection refused - Connection refused - connect(2) (127.0.0.1:37265))
  655. Failing... Errno::ECONNREFUSED
  656. Errno::ECONNREFUSED: Connection refused - Connection refused - connect(2) (127.0.0.1:37265)
  657. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:623:in `rescue in create_socket'
  658. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:607:in `create_socket'
  659. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:755:in `block in connect'
  660. from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/timeout.rb:66:in `timeout'
  661. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:748:in `connect'
  662. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:511:in `query'
  663. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:177:in `query'
  664. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1242:in `do_get_block'
  665. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1019:in `block in do_request'
  666. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1133:in `protect_keep_alive_disconnected'
  667. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1014:in `do_request'
  668. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:856:in `request'
  669. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:765:in `post'
  670. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http_helpers.rb:64:in `block in make_http_request'
  671. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http_helpers.rb:57:in `times'
  672. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http_helpers.rb:57:in `make_http_request'
  673. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http_helpers.rb:33:in `http'
  674. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/map.rb:88:in `raw_map'
  675. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/map.rb:58:in `map'
  676. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:149:in `query'
  677. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/console_helpers.rb:190:in `accessibility_marks'
  678. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/console_helpers.rb:15:in `ids'
  679. from (irb):1
  680. from /usr/bin/irb:12:in `<main>'calabash-ios 0.20.4> start_test_server_in_background
  681. > ^C
  682. calabash-ios 0.20.4> start_test_server_in_background
  683. #<Launcher: DeviceAgent/ios_device_manager>
  684. calabash-ios 0.20.4> ids
  685. [0] UIImageView => btnRecord
  686. [1] UIImageView => cashIc
  687. [2] UIImageView => icSwitchVideo
  688. [3] UIImageView => shareFbOff
  689. true
  690. calabash-ios 0.20.4> touch("* marked:'shareFbOff'")
  691. [
  692. [0] {
  693. "id" => nil,
  694. "description" => "<UIButton: 0x7fab0ae0f680; frame = (14 303; 58 58); opaque = NO; autoresize = RM+BM; layer = <CALayer: 0x600000036740>>",
  695. "label" => "shareFbOff",
  696. "frame" => {
  697. "y" => 303,
  698. "x" => 14,
  699. "width" => 58,
  700. "height" => 58
  701. },
  702. "accessibilityElement" => true,
  703. "value" => nil,
  704. "alpha" => 1,
  705. "enabled" => true,
  706. "visible" => 1,
  707. "selected" => false,
  708. "class" => "UIButton",
  709. "rect" => {
  710. "y" => 303,
  711. "center_x" => 43,
  712. "center_y" => 332,
  713. "x" => 14,
  714. "width" => 58,
  715. "height" => 58
  716. }
  717. }
  718. ]
  719. calabash-ios 0.20.4> tree
  720. [UIWindow]
  721. [UILayoutContainerView]
  722. [UINavigationTransitionView]
  723. [UIViewControllerWrapperView]
  724. [UIView]
  725. [UIView]
  726. [GPUImageView]
  727. [UIButton] [label:shareFbOn]
  728. [UIImageView] [id:shareFbOn]
  729. [UIView]
  730. [UITextField] [text:]
  731. [UIAccessibilityTextFieldElement] [text:Ngobrol dengan fans kamu...]
  732. [UIView]
  733. [UIView]
  734. [UIImageView]
  735. [UIButton]
  736. [UIView]
  737. [UIView]
  738. [UIImageView] [id:cashIc]
  739. [UILabel] [label:Rp 100.437] [text:Rp 100.437]
  740. [UIButton] [label:TARIK SALDO]
  741. [UIButtonLabel] [label:TARIK SALDO] [text:TARIK SALDO]
  742. [UIView]
  743. [UIButton] [label:icSwitchVideo]
  744. [UIImageView] [id:icSwitchVideo]
  745. [UIButton] [label:btnRecord]
  746. [UIImageView] [id:btnRecord]
  747. true
  748. calabash-ios 0.20.4> exit
  749. [dss-2@calabash-sandbox]$ bundle exec cucumber
  750. Feature: Sample Feature
  751.  
  752. Scenario: Sample Scenario # features/sample.feature:3
  753. Given the app has launched # features/steps/sample_steps.rb:1
  754. And I have done a specific thing # features/steps/sample_steps.rb:7
  755. When I do something # features/steps/sample_steps.rb:32
  756. Then something should happen # features/steps/sample_steps.rb:41
  757.  
  758. 1 scenario (1 passed)
  759. 4 steps (4 passed)
  760. 0m48.305s
  761. [dss-2@calabash-sandbox]$ bundle exec calabash-ios console
  762. Running irb...
  763.  
  764. ######################### Useful Methods ##########################
  765. ids => List all the visible accessibility ids.
  766. labels => List all the visible accessibility labels.
  767. text => List all the visible texts.
  768. marks => List all the visible marks.
  769. tree => The app's visible view hierarchy.
  770. flash => flash(<query>); Disco effect for views matching <query>
  771. verbose => Turn debug logging on.
  772. quiet => Turn debug logging off.
  773. copy => Copy console commands to clipboard.
  774. clear => Clear the console.
  775.  
  776. Calabash says, "Jestem tu by ocalić świat"
  777. calabash-ios 0.20.4> start_test_server_in_background
  778. #<Launcher: DeviceAgent/ios_device_manager>
  779. calabash-ios 0.20.4> labels
  780. [0] UIButton => share facebook
  781. [1] UILabel => Live sekarang! Berbagi serunya keseharian kamu juga bisa mendatangkan uang
  782. [2] UILabel => Masuk dengan
  783. true
  784. calabash-ios 0.20.4> ids
  785. [0] UIImageView => ic_mivo
  786. [1] UIImageView => share_facebook
  787. true
  788. calabash-ios 0.20.4> touch("* marked:'share_facebook'")
  789. [
  790. [0] {
  791. "alpha" => 1,
  792. "enabled" => false,
  793. "id" => "share_facebook",
  794. "visible" => 1,
  795. "frame" => {
  796. "y" => 0,
  797. "x" => 0,
  798. "width" => 249,
  799. "height" => 40
  800. },
  801. "accessibilityElement" => false,
  802. "class" => "UIImageView",
  803. "label" => nil,
  804. "description" => "<UIImageView: 0x7fde0c73aa80; frame = (0 0; 249 40); clipsToBounds = YES; opaque = NO; userInteractionEnabled = NO; layer = <CALayer: 0x608000221ce0>> - (null)",
  805. "value" => nil,
  806. "rect" => {
  807. "y" => 199,
  808. "center_x" => 500.5,
  809. "center_y" => 219,
  810. "x" => 376,
  811. "width" => 249,
  812. "height" => 40
  813. }
  814. }
  815. ]
  816. calabash-ios 0.20.4> marks
  817. [0] id => _UIRemoteView => RemoteViewBridge
  818. true
  819. calabash-ios 0.20.4> exit
  820. [dss-2@calabash-sandbox]$ bundle exec calabash-ios console
  821. Running irb...
  822.  
  823. ######################### Useful Methods ##########################
  824. ids => List all the visible accessibility ids.
  825. labels => List all the visible accessibility labels.
  826. text => List all the visible texts.
  827. marks => List all the visible marks.
  828. tree => The app's visible view hierarchy.
  829. flash => flash(<query>); Disco effect for views matching <query>
  830. verbose => Turn debug logging on.
  831. quiet => Turn debug logging off.
  832. copy => Copy console commands to clipboard.
  833. clear => Clear the console.
  834.  
  835. Calabash says, "Jestem tu by ocalić świat"
  836. Attached to: #<Launcher: DeviceAgent/ios_device_manager>
  837. calabash-ios 0.20.4> start_test_server_in_background
  838. HTTPClient::ReceiveTimeoutError: execution expired
  839. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:805:in `gets'
  840. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:805:in `block in parse_header'
  841. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:801:in `parse_header'
  842. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:784:in `read_header'
  843. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:561:in `get_header'
  844. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1299:in `do_get_header'
  845. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1245:in `do_get_block'
  846. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1019:in `block in do_request'
  847. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1133:in `protect_keep_alive_disconnected'
  848. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1014:in `do_request'
  849. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:856:in `request'
  850. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:765:in `post'
  851. from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:184:in `send_request'
  852. from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:163:in `block in request'
  853. from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:150:in `times'
  854. from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:150:in `request'
  855. from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:93:in `post'
  856. from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/device_agent/client.rb:1198:in `shutdown'
  857. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/automator/device_agent.rb:75:in `stop'
  858. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/launcher.rb:430:in `stop'
  859. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:1767:in `stop_test_server'
  860. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:1565:in `start_test_server_in_background'
  861. from (irb):1
  862. from /usr/bin/irb:12:in `<main>'calabash-ios 0.20.4> ids
  863. HTTPClient::ReceiveTimeoutError: execution expired
  864. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:805:in `gets'
  865. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:805:in `block in parse_header'
  866. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:801:in `parse_header'
  867. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:784:in `read_header'
  868. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:561:in `get_header'
  869. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1299:in `do_get_header'
  870. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1245:in `do_get_block'
  871. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1019:in `block in do_request'
  872. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1133:in `protect_keep_alive_disconnected'
  873. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1014:in `do_request'
  874. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:856:in `request'
  875. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:765:in `post'
  876. from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:184:in `send_request'
  877. from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:163:in `block in request'
  878. from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:150:in `times'
  879. from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:150:in `request'
  880. from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:93:in `post'
  881. from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/device_agent/client.rb:1538:in `_dismiss_springboard_alerts'
  882. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http_helpers.rb:118:in `_private_dismiss_springboard_alerts'
  883. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http_helpers.rb:22:in `http'
  884. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/map.rb:88:in `raw_map'
  885. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/map.rb:58:in `map'
  886. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:149:in `query'
  887. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/console_helpers.rb:190:in `accessibility_marks'
  888. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/console_helpers.rb:15:in `ids'
  889. from (irb):2
  890. from /usr/bin/irb:12:in `<main>'calabash-ios 0.20.4> exit
  891. [dss-2@calabash-sandbox]$ bundle exec calabash-ios console
  892. Running irb...
  893.  
  894. ######################### Useful Methods ##########################
  895. ids => List all the visible accessibility ids.
  896. labels => List all the visible accessibility labels.
  897. text => List all the visible texts.
  898. marks => List all the visible marks.
  899. tree => The app's visible view hierarchy.
  900. flash => flash(<query>); Disco effect for views matching <query>
  901. verbose => Turn debug logging on.
  902. quiet => Turn debug logging off.
  903. copy => Copy console commands to clipboard.
  904. clear => Clear the console.
  905.  
  906. Calabash says, "Smile! You are on camera!"
  907. calabash-ios 0.20.4> start_test_server_in_background
  908. #<Launcher: DeviceAgent/ios_device_manager>
  909. calabash-ios 0.20.4> ids
  910. true
  911. calabash-ios 0.20.4> labels
  912. [0] UIButton => TARIK SALDO
  913. [1] UIButtonLabel => TARIK SALDO
  914. [2] UILabel => Rp 100.437
  915. true
  916. calabash-ios 0.20.4> text'
  917. exit
  918.  
  919. ^C
  920. calabash-ios 0.20.4> text
  921. [0] UIButtonLabel => TARIK SALDO
  922. [1] UILabel => Rp 100.437
  923. true
  924. calabash-ios 0.20.4> ids
  925. true
  926. calabash-ios 0.20.4> ids
  927. true
  928. calabash-ios 0.20.4> mark
  929. NameError: undefined local variable or method `mark' for main:Object
  930. from (irb):10
  931. from /usr/bin/irb:12:in `<main>'
  932. calabash-ios 0.20.4> marks
  933. [0] label => UIButton => TARIK SALDO
  934. [1] label => UIButtonLabel => TARIK SALDO
  935. [2] text => UIButtonLabel => TARIK SALDO
  936. [3] label => UILabel => Rp 100.437
  937. [4] text => UILabel => Rp 100.437
  938. true
  939. calabash-ios 0.20.4> touch("* marked:'recordStopButton'")
  940. INFO: Embed is not available in this context. Will not embed.
  941. RuntimeError:
  942. Could not find any views with query:
  943.  
  944. * marked:'recordStopButton'
  945.  
  946. Make sure your query returns at least one view.
  947.  
  948.  
  949. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/failure_helpers.rb:75:in `screenshot_and_raise'
  950. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/automator/device_agent.rb:361:in `query_for_coordinates'
  951. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/automator/device_agent.rb:90:in `touch'
  952. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:1935:in `query_action_with_options'
  953. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:290:in `touch'
  954. from (irb):12
  955. from /usr/bin/irb:12:in `<main>'
  956. calabash-ios 0.20.4> touch("* marked:'facebookButton'")
  957. INFO: Embed is not available in this context. Will not embed.
  958. RuntimeError:
  959. Could not find any views with query:
  960.  
  961. * marked:'facebookButton'
  962.  
  963. Make sure your query returns at least one view.
  964.  
  965.  
  966. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/failure_helpers.rb:75:in `screenshot_and_raise'
  967. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/automator/device_agent.rb:361:in `query_for_coordinates'
  968. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/automator/device_agent.rb:90:in `touch'
  969. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:1935:in `query_action_with_options'
  970. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:290:in `touch'
  971. from (irb):13
  972. from /usr/bin/irb:12:in `<main>'
  973. calabash-ios 0.20.4> touch("* marked:'profileCoverButton'")
  974. INFO: Embed is not available in this context. Will not embed.
  975. RuntimeError:
  976. Could not find any views with query:
  977.  
  978. * marked:'profileCoverButton'
  979.  
  980. Make sure your query returns at least one view.
  981.  
  982.  
  983. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/failure_helpers.rb:75:in `screenshot_and_raise'
  984. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/automator/device_agent.rb:361:in `query_for_coordinates'
  985. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/automator/device_agent.rb:90:in `touch'
  986. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:1935:in `query_action_with_options'
  987. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:290:in `touch'
  988. from (irb):14
  989. from /usr/bin/irb:12:in `<main>'
  990. calabash-ios 0.20.4> marks
  991. [0] label => UIButton => TARIK SALDO
  992. [1] label => UIButtonLabel => TARIK SALDO
  993. [2] text => UIButtonLabel => TARIK SALDO
  994. [3] label => UILabel => Rp 100.437
  995. [4] text => UILabel => Rp 100.437
  996. true
  997. calabash-ios 0.20.4> touch("* marked:'TARIK SALDO'")
  998. HTTPClient::ReceiveTimeoutError: execution expired
  999. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:805:in `gets'
  1000. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:805:in `block in parse_header'
  1001. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:801:in `parse_header'
  1002. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:784:in `read_header'
  1003. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:561:in `get_header'
  1004. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1299:in `do_get_header'
  1005. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1245:in `do_get_block'
  1006. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1019:in `block in do_request'
  1007. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1133:in `protect_keep_alive_disconnected'
  1008. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1014:in `do_request'
  1009. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:856:in `request'
  1010. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:765:in `post'
  1011. from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:184:in `send_request'
  1012. from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:163:in `block in request'
  1013. from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:150:in `times'
  1014. from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:150:in `request'
  1015. from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:93:in `post'
  1016. from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/device_agent/client.rb:698:in `make_gesture_request'
  1017. from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/device_agent/client.rb:685:in `perform_coordinate_gesture'
  1018. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/automator/device_agent.rb:92:in `touch'
  1019. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:1935:in `query_action_with_options'
  1020. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:290:in `touch'
  1021. from (irb):16
  1022. from /usr/bin/irb:12:in `<main>'calabash-ios 0.20.4> exit
  1023. [dss-2@calabash-sandbox]$ bundle exec calabash-ios console
  1024. Running irb...
  1025.  
  1026. ######################### Useful Methods ##########################
  1027. ids => List all the visible accessibility ids.
  1028. labels => List all the visible accessibility labels.
  1029. text => List all the visible texts.
  1030. marks => List all the visible marks.
  1031. tree => The app's visible view hierarchy.
  1032. flash => flash(<query>); Disco effect for views matching <query>
  1033. verbose => Turn debug logging on.
  1034. quiet => Turn debug logging off.
  1035. copy => Copy console commands to clipboard.
  1036. clear => Clear the console.
  1037.  
  1038. Calabash says, "Enjoy."
  1039. Attached to: #<Launcher: DeviceAgent/ios_device_manager>
  1040. calabash-ios 0.20.4> tree
  1041. ^CIRB::Abort: abort then interrupt!
  1042. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:805:in `call'
  1043. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:805:in `gets'
  1044. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:805:in `block in parse_header'
  1045. from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/timeout.rb:66:in `timeout'
  1046. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:801:in `parse_header'
  1047. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:784:in `read_header'
  1048. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:561:in `get_header'
  1049. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1299:in `do_get_header'
  1050. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1245:in `do_get_block'
  1051. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1019:in `block in do_request'
  1052. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1133:in `protect_keep_alive_disconnected'
  1053. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1014:in `do_request'
  1054. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:856:in `request'
  1055. from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:765:in `post'
  1056. from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:184:in `send_request'
  1057. from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:163:in `block in request'
  1058. from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:150:in `times'
  1059. from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:150:in `request'
  1060. from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:93:in `post'
  1061. from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/device_agent/client.rb:1538:in `_dismiss_springboard_alerts'
  1062. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http_helpers.rb:118:in `_private_dismiss_springboard_alerts'
  1063. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http_helpers.rb:22:in `http'
  1064. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/connection_helpers.rb:14:in `http'
  1065. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/console_helpers.rb:250:in `http_fetch_view_hierarchy'
  1066. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/console_helpers.rb:8:in `tree'
  1067. from (irb):1
  1068. from /usr/bin/irb:12:in `<main>'calabash-ios 0.20.4> ^C
  1069. calabash-ios 0.20.4> start_test_server_in_background
  1070. #<Launcher: DeviceAgent/ios_device_manager>
  1071. calabash-ios 0.20.4> list
  1072. NameError: undefined local variable or method `list' for main:Object
  1073. from (irb):3
  1074. from /usr/bin/irb:12:in `<main>'
  1075. calabash-ios 0.20.4> ids
  1076. [0] UIImageView => btnRecord
  1077. [1] UIImageView => cashIc
  1078. [2] UIImageView => icSwitchVideo
  1079. [3] UIImageView => shareFbOff
  1080. true
  1081. calabash-ios 0.20.4> touch('facebookButton')
  1082. INFO: Embed is not available in this context. Will not embed.
  1083. RuntimeError:
  1084. Could not find any views with query:
  1085.  
  1086. facebookButton
  1087.  
  1088. Make sure your query returns at least one view.
  1089.  
  1090.  
  1091. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/failure_helpers.rb:75:in `screenshot_and_raise'
  1092. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/automator/device_agent.rb:361:in `query_for_coordinates'
  1093. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/automator/device_agent.rb:90:in `touch'
  1094. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:1935:in `query_action_with_options'
  1095. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:290:in `touch'
  1096. from (irb):5
  1097. from /usr/bin/irb:12:in `<main>'
  1098. calabash-ios 0.20.4> marks
  1099. [0] label => UIButton => TARIK SALDO
  1100. [1] label => UIButton => btnRecord
  1101. [2] label => UIButton => icSwitchVideo
  1102. [3] label => UIButton => shareFbOff
  1103. [4] label => UIButtonLabel => TARIK SALDO
  1104. [5] text => UIButtonLabel => TARIK SALDO
  1105. [6] id => UIImageView => btnRecord
  1106. [7] id => UIImageView => cashIc
  1107. [8] id => UIImageView => icSwitchVideo
  1108. [9] id => UIImageView => shareFbOff
  1109. [10] label => UILabel => Rp 100.437
  1110. [11] text => UILabel => Rp 100.437
  1111. true
  1112. calabash-ios 0.20.4> bundle exec cucumber
  1113. NameError: undefined local variable or method `cucumber' for main:Object
  1114. from (irb):7
  1115. from /usr/bin/irb:12:in `<main>'
  1116. calabash-ios 0.20.4> cucumber
  1117. NameError: undefined local variable or method `cucumber' for main:Object
  1118. from (irb):8
  1119. from /usr/bin/irb:12:in `<main>'
  1120. calabash-ios 0.20.4> marks
  1121. [0] label => UIButton => TARIK SALDO
  1122. [1] label => UIButton => btnRecord
  1123. [2] label => UIButton => icSwitchVideo
  1124. [3] label => UIButton => shareFbOff
  1125. [4] label => UIButtonLabel => TARIK SALDO
  1126. [5] text => UIButtonLabel => TARIK SALDO
  1127. [6] id => UIImageView => btnRecord
  1128. [7] id => UIImageView => cashIc
  1129. [8] id => UIImageView => icSwitchVideo
  1130. [9] id => UIImageView => shareFbOff
  1131. [10] label => UILabel => Rp 100.437
  1132. [11] text => UILabel => Rp 100.437
  1133. true
  1134. calabash-ios 0.20.4> exit
  1135. [dss-2@calabash-sandbox]$ calabash-ios gen
  1136. A features directory already exists. Stopping...
  1137. [dss-2@calabash-sandbox]$ cucumber
  1138. Feature: Sample Feature
  1139.  
  1140. Scenario: Sample Scenario # features/sample.feature:3
  1141. execution expired (HTTPClient::ReceiveTimeoutError)
  1142. ./features/support/01_launch.rb:27:in `Before'
  1143. Given the app has launched # features/steps/sample_steps.rb:1
  1144. And I have done a specific thing # features/steps/sample_steps.rb:7
  1145. When I do something # features/steps/sample_steps.rb:32
  1146. Then something should happen # features/steps/sample_steps.rb:41
  1147.  
  1148. Failing Scenarios:
  1149. cucumber features/sample.feature:3 # Scenario: Sample Scenario
  1150.  
  1151. 1 scenario (1 failed)
  1152. 4 steps (4 skipped)
  1153. 0m13.640s
  1154. [dss-2@calabash-sandbox]$ cucumber
  1155. Feature: Sample Feature
  1156.  
  1157. Scenario: Sample Scenario # features/sample.feature:3
  1158. Given the app has launched # features/steps/sample_steps.rb:1
  1159. INFO: Embed is not available in this context. Will not embed.
  1160. And I have done a specific thing # features/steps/sample_steps.rb:7
  1161.  
  1162. Could not find any views with query:
  1163.  
  1164. * marked:'fullScreenButton'
  1165.  
  1166. Make sure your query returns at least one view.
  1167.  
  1168. (RuntimeError)
  1169. ./features/steps/sample_steps.rb:26:in `/^I have done a specific thing$/'
  1170. features/sample.feature:5:in `And I have done a specific thing'
  1171. When I do something # features/steps/sample_steps.rb:32
  1172. Then something should happen # features/steps/sample_steps.rb:41
  1173.  
  1174. Failing Scenarios:
  1175. cucumber features/sample.feature:3 # Scenario: Sample Scenario
  1176.  
  1177. 1 scenario (1 failed)
  1178. 4 steps (1 failed, 2 skipped, 1 passed)
  1179. 0m16.101s
  1180. [dss-2@calabash-sandbox]$ list
  1181. bash: list: command not found
  1182. [dss-2@calabash-sandbox]$ bundle exec calabash-ios console
  1183. Running irb...
  1184.  
  1185. ######################### Useful Methods ##########################
  1186. ids => List all the visible accessibility ids.
  1187. labels => List all the visible accessibility labels.
  1188. text => List all the visible texts.
  1189. marks => List all the visible marks.
  1190. tree => The app's visible view hierarchy.
  1191. flash => flash(<query>); Disco effect for views matching <query>
  1192. verbose => Turn debug logging on.
  1193. quiet => Turn debug logging off.
  1194. copy => Copy console commands to clipboard.
  1195. clear => Clear the console.
  1196.  
  1197. Calabash says, "Non Satis Scire"
  1198. Attached to: #<Launcher: DeviceAgent/ios_device_manager>
  1199. calabash-ios 0.20.4> ids
  1200. [0] UIImageView => btnRecord
  1201. [1] UIImageView => cashIc
  1202. [2] UIImageView => icSwitchVideo
  1203. [3] UIImageView => shareFbOff
  1204. true
  1205. calabash-ios 0.20.4> labels
  1206. [0] UIButton => TARIK SALDO
  1207. [1] UIButton => btnRecord
  1208. [2] UIButton => icSwitchVideo
  1209. [3] UIButton => shareFbOff
  1210. [4] UIButtonLabel => TARIK SALDO
  1211. [5] UILabel => Rp 100.437
  1212. true
  1213. calabash-ios 0.20.4> marks
  1214. [0] label => UIButton => TARIK SALDO
  1215. [1] label => UIButton => btnRecord
  1216. [2] label => UIButton => icSwitchVideo
  1217. [3] label => UIButton => shareFbOff
  1218. [4] label => UIButtonLabel => TARIK SALDO
  1219. [5] text => UIButtonLabel => TARIK SALDO
  1220. [6] id => UIImageView => btnRecord
  1221. [7] id => UIImageView => cashIc
  1222. [8] id => UIImageView => icSwitchVideo
  1223. [9] id => UIImageView => shareFbOff
  1224. [10] label => UILabel => Rp 100.437
  1225. [11] text => UILabel => Rp 100.437
  1226. true
  1227. calabash-ios 0.20.4> text
  1228. [0] UIButtonLabel => TARIK SALDO
  1229. [1] UILabel => Rp 100.437
  1230. true
  1231. calabash-ios 0.20.4> tree
  1232. [UIWindow]
  1233. [UILayoutContainerView]
  1234. [UINavigationTransitionView]
  1235. [UIViewControllerWrapperView]
  1236. [UIView]
  1237. [UIView]
  1238. [GPUImageView]
  1239. [UIButton] [label:shareFbOff]
  1240. [UIImageView] [id:shareFbOff]
  1241. [UIView]
  1242. [UITextField] [text:]
  1243. [UIAccessibilityTextFieldElement] [text:Ngobrol dengan fans kamu...]
  1244. [UIView]
  1245. [UIView]
  1246. [UIImageView]
  1247. [UIButton]
  1248. [UIView]
  1249. [UIView]
  1250. [UIImageView] [id:cashIc]
  1251. [UILabel] [label:Rp 100.437] [text:Rp 100.437]
  1252. [UIButton] [label:TARIK SALDO]
  1253. [UIButtonLabel] [label:TARIK SALDO] [text:TARIK SALDO]
  1254. [UIView]
  1255. [UIButton] [label:icSwitchVideo]
  1256. [UIImageView] [id:icSwitchVideo]
  1257. [UIButton] [label:btnRecord]
  1258. [UIImageView] [id:btnRecord]
  1259. true
  1260. calabash-ios 0.20.4> exit
  1261. [dss-2@calabash-sandbox]$ cucumber
  1262. Feature: Sample Feature
  1263.  
  1264. INFO: Embed is not available in this context. Will not embed.
  1265. Scenario: Sample Scenario # features/sample.feature:3
  1266. Given the app has launched # features/steps/sample_steps.rb:1
  1267.  
  1268. Could not find any views with query:
  1269.  
  1270. * marked:'fullScreenButton'
  1271.  
  1272. Make sure your query returns at least one view.
  1273.  
  1274. (RuntimeError)
  1275. ./features/steps/sample_steps.rb:5:in `block (2 levels) in <top (required)>'
  1276. ./features/steps/sample_steps.rb:2:in `/^the app has launched$/'
  1277. features/sample.feature:4:in `Given the app has launched'
  1278. And I have done a specific thing # features/steps/sample_steps.rb:9
  1279. When I do something # features/steps/sample_steps.rb:33
  1280. Then something should happen # features/steps/sample_steps.rb:42
  1281.  
  1282. Failing Scenarios:
  1283. cucumber features/sample.feature:3 # Scenario: Sample Scenario
  1284.  
  1285. 1 scenario (1 failed)
  1286. 4 steps (1 failed, 3 skipped)
  1287. 0m15.636s
  1288. [dss-2@calabash-sandbox]$ cucumber
  1289. Feature: Sample Feature
  1290.  
  1291. Scenario: Sample Scenario # features/sample.feature:3
  1292. Given the app has launched # features/steps/sample_steps.rb:1
  1293. And I have done a specific thing # features/steps/sample_steps.rb:9
  1294. When I do something # features/steps/sample_steps.rb:33
  1295. Then something should happen # features/steps/sample_steps.rb:42
  1296.  
  1297. 1 scenario (1 passed)
  1298. 4 steps (4 passed)
  1299. 0m14.692s
  1300. [dss-2@calabash-sandbox]$ cucumber
  1301. Feature: Sample Feature
  1302.  
  1303. Scenario: Sample Scenario # features/sample.feature:3
  1304. Given the app has launched # features/steps/sample_steps.rb:1
  1305. And I have done a specific thing # features/steps/sample_steps.rb:9
  1306. When I do something # features/steps/sample_steps.rb:33
  1307. Then something should happen # features/steps/sample_steps.rb:42
  1308.  
  1309. 1 scenario (1 passed)
  1310. 4 steps (4 passed)
  1311. 0m15.620s
  1312. [dss-2@calabash-sandbox]$ cucumber
  1313. Feature: Sample Feature
  1314.  
  1315. Scenario: Sample Scenario # features/sample.feature:3
  1316. Given the app has launched # features/steps/sample_steps.rb:1
  1317. And I have done a specific thing # features/steps/sample_steps.rb:9
  1318. When I do something # features/steps/sample_steps.rb:33
  1319. Then something should happen # features/steps/sample_steps.rb:42
  1320.  
  1321. 1 scenario (1 passed)
  1322. 4 steps (4 passed)
  1323. 0m18.165s
  1324. [dss-2@calabash-sandbox]$ cucumber
  1325. Feature: Sample Feature
  1326.  
  1327. Scenario: Sample Scenario # features/sample.feature:3
  1328. Given the app has launched # features/steps/sample_steps.rb:1
  1329. And I have done a specific thing # features/steps/sample_steps.rb:9
  1330. When I do something # features/steps/sample_steps.rb:33
  1331. Then something should happen # features/steps/sample_steps.rb:42
  1332.  
  1333. 1 scenario (1 passed)
  1334. 4 steps (4 passed)
  1335. 0m19.214s
  1336. [dss-2@calabash-sandbox]$ cucumber
  1337. Feature: Sample Feature
  1338.  
  1339. Scenario: Sample Scenario # features/sample.feature:3
  1340. Given the app has launched # features/steps/sample_steps.rb:1
  1341. And I have done a specific thing # features/steps/sample_steps.rb:9
  1342. When I do something # features/steps/sample_steps.rb:33
  1343. Then something should happen # features/steps/sample_steps.rb:42
  1344.  
  1345. 1 scenario (1 passed)
  1346. 4 steps (4 passed)
  1347. 0m16.753s
  1348. [dss-2@calabash-sandbox]$ cucumber
  1349. Feature: Sample Feature
  1350.  
  1351. Scenario: Sample Scenario # features/sample.feature:3
  1352. Given the app has launched # features/steps/sample_steps.rb:1
  1353. And I have done a specific thing # features/steps/sample_steps.rb:9
  1354. When I do something # features/steps/sample_steps.rb:33
  1355. Then something should happen # features/steps/sample_steps.rb:42
  1356.  
  1357. 1 scenario (1 passed)
  1358. 4 steps (4 passed)
  1359. 0m18.569s
  1360. [dss-2@calabash-sandbox]$ curl http://<ip>:192.168.1.25/version
  1361. bash: ip: No such file or directory
  1362. [dss-2@calabash-sandbox]$ curl http://<ip>:37265/version
  1363. bash: ip: No such file or directory
  1364. [dss-2@calabash-sandbox]$ curl http://<192.168.1.25>:80/version
  1365. bash: 192.168.1.25: No such file or directory
  1366. [dss-2@calabash-sandbox]$ curl http://<192.168.1.25>:37625/version
  1367. bash: 192.168.1.25: No such file or directory
  1368. [dss-2@calabash-sandbox]$ bundle show Gemfile
  1369. Could not find gem 'Gemfile'.
  1370. [dss-2@calabash-sandbox]$ cucumber
  1371. Feature: Sample Feature
  1372.  
  1373. Scenario: Sample Scenario # features/sample.feature:3
  1374. Given the app has launched # features/steps/sample_steps.rb:1
  1375. And I have done a specific thing # features/steps/sample_steps.rb:9
  1376. When I do something # features/steps/sample_steps.rb:33
  1377. Then something should happen # features/steps/sample_steps.rb:42
  1378.  
  1379. 1 scenario (1 passed)
  1380. 4 steps (4 passed)
  1381. 0m18.172s
  1382. [dss-2@calabash-sandbox]$ export BUNDLE_ID=com.mivo.live-cal
  1383. [dss-2@calabash-sandbox]$ export DEVICE_TARGET=77f3c3065cf3132a846a5e7b70cc0ed583dc3964
  1384. [dss-2@calabash-sandbox]$ export DEVICE_ENDPOINT=http://192.168.1.25:80
  1385. [dss-2@calabash-sandbox]$ bundle exec calabash-ios console
  1386. Running irb...
  1387.  
  1388. ######################### Useful Methods ##########################
  1389. ids => List all the visible accessibility ids.
  1390. labels => List all the visible accessibility labels.
  1391. text => List all the visible texts.
  1392. marks => List all the visible marks.
  1393. tree => The app's visible view hierarchy.
  1394. flash => flash(<query>); Disco effect for views matching <query>
  1395. verbose => Turn debug logging on.
  1396. quiet => Turn debug logging off.
  1397. copy => Copy console commands to clipboard.
  1398. clear => Clear the console.
  1399.  
  1400. Calabash says, "Enjoy."
  1401. calabash-ios 0.20.4> start_test_server_in_background
  1402. Calabash::Cucumber::ServerNotRespondingError: Could not connect to the Calabash Server @ http://192.168.1.25:80.
  1403.  
  1404. See these two guides for help.
  1405.  
  1406. * https://github.com/calabash/calabash-ios/wiki/Testing-on-Physical-Devices
  1407. * https://github.com/calabash/calabash-ios/wiki/Testing-on-iOS-Simulators
  1408.  
  1409. 1. Make sure your application is linked with Calabash.
  1410. 2. Make sure there is not a firewall blocking traffic on http://192.168.1.25:80.
  1411. 3. Make sure http://192.168.1.25:80 is correct.
  1412.  
  1413. If your app is crashing at launch, find a crash report to determine the cause.
  1414.  
  1415.  
  1416. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http/http.rb:97:in `raise_on_no_connectivity'
  1417. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http/http.rb:81:in `ensure_connectivity'
  1418. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/launcher.rb:388:in `relaunch'
  1419. from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:1567:in `start_test_server_in_background'
  1420. from (irb):1
  1421. from /usr/bin/irb:12:in `<main>'
  1422. calabash-ios 0.20.4> exit
  1423. [dss-2@calabash-sandbox]$ cucumber
  1424. Feature: Sample Feature
  1425.  
  1426. Scenario: Sample Scenario # features/sample.feature:3
  1427. Could not connect to the Calabash Server @ http://192.168.1.25:80.
  1428.  
  1429. See these two guides for help.
  1430.  
  1431. * https://github.com/calabash/calabash-ios/wiki/Testing-on-Physical-Devices
  1432. * https://github.com/calabash/calabash-ios/wiki/Testing-on-iOS-Simulators
  1433.  
  1434. 1. Make sure your application is linked with Calabash.
  1435. 2. Make sure there is not a firewall blocking traffic on http://192.168.1.25:80.
  1436. 3. Make sure http://192.168.1.25:80 is correct.
  1437.  
  1438. If your app is crashing at launch, find a crash report to determine the cause.
  1439.  
  1440. (Calabash::Cucumber::ServerNotRespondingError)
  1441. ./features/support/01_launch.rb:27:in `Before'
  1442. Given the app has launched # features/steps/sample_steps.rb:1
  1443. And I have done a specific thing # features/steps/sample_steps.rb:9
  1444. When I do something # features/steps/sample_steps.rb:33
  1445. Then something should happen # features/steps/sample_steps.rb:42
  1446.  
  1447. Failing Scenarios:
  1448. cucumber features/sample.feature:3 # Scenario: Sample Scenario
  1449.  
  1450. 1 scenario (1 failed)
  1451. 4 steps (4 skipped)
  1452. 0m51.371s
  1453. [dss-2@calabash-sandbox]$ cucumber
  1454. Feature: Sample Feature
  1455.  
  1456. Scenario: Sample Scenario # features/sample.feature:3
  1457. Could not connect to the Calabash Server @ http://192.168.1.25:80.
  1458.  
  1459. See these two guides for help.
  1460.  
  1461. * https://github.com/calabash/calabash-ios/wiki/Testing-on-Physical-Devices
  1462. * https://github.com/calabash/calabash-ios/wiki/Testing-on-iOS-Simulators
  1463.  
  1464. 1. Make sure your application is linked with Calabash.
  1465. 2. Make sure there is not a firewall blocking traffic on http://192.168.1.25:80.
  1466. 3. Make sure http://192.168.1.25:80 is correct.
  1467.  
  1468. If your app is crashing at launch, find a crash report to determine the cause.
  1469.  
  1470. (Calabash::Cucumber::ServerNotRespondingError)
  1471. ./features/support/01_launch.rb:27:in `Before'
  1472. Given the app has launched # features/steps/sample_steps.rb:1
  1473. And I have done a specific thing # features/steps/sample_steps.rb:9
  1474. When I do something # features/steps/sample_steps.rb:33
  1475. Then something should happen # features/steps/sample_steps.rb:42
  1476.  
  1477. Failing Scenarios:
  1478. cucumber features/sample.feature:3 # Scenario: Sample Scenario
  1479.  
  1480. 1 scenario (1 failed)
  1481. 4 steps (4 skipped)
  1482. 0m49.558s
  1483. [dss-2@calabash-sandbox]$ cucumber
  1484. Feature: Sample Feature
  1485.  
  1486. Scenario: Sample Scenario # features/sample.feature:3
  1487. Could not connect to the Calabash Server @ http://192.168.1.25:80.
  1488.  
  1489. See these two guides for help.
  1490.  
  1491. * https://github.com/calabash/calabash-ios/wiki/Testing-on-Physical-Devices
  1492. * https://github.com/calabash/calabash-ios/wiki/Testing-on-iOS-Simulators
  1493.  
  1494. 1. Make sure your application is linked with Calabash.
  1495. 2. Make sure there is not a firewall blocking traffic on http://192.168.1.25:80.
  1496. 3. Make sure http://192.168.1.25:80 is correct.
  1497.  
  1498. If your app is crashing at launch, find a crash report to determine the cause.
  1499.  
  1500. (Calabash::Cucumber::ServerNotRespondingError)
  1501. ./features/support/01_launch.rb:27:in `Before'
  1502. Given the app has launched # features/steps/sample_steps.rb:1
  1503. And I have done a specific thing # features/steps/sample_steps.rb:8
  1504. When I do something # features/steps/sample_steps.rb:32
  1505. Then something should happen # features/steps/sample_steps.rb:41
  1506.  
  1507. Failing Scenarios:
  1508. cucumber features/sample.feature:3 # Scenario: Sample Scenario
  1509.  
  1510. 1 scenario (1 failed)
  1511. 4 steps (4 skipped)
  1512. 0m49.499s
  1513. [dss-2@calabash-sandbox]$ cucumber
  1514. Feature: Sample Feature
  1515.  
  1516. Scenario: Sample Scenario # features/sample.feature:3
  1517. Could not connect to the Calabash Server @ http://192.168.1.25:80.
  1518.  
  1519. See these two guides for help.
  1520.  
  1521. * https://github.com/calabash/calabash-ios/wiki/Testing-on-Physical-Devices
  1522. * https://github.com/calabash/calabash-ios/wiki/Testing-on-iOS-Simulators
  1523.  
  1524. 1. Make sure your application is linked with Calabash.
  1525. 2. Make sure there is not a firewall blocking traffic on http://192.168.1.25:80.
  1526. 3. Make sure http://192.168.1.25:80 is correct.
  1527.  
  1528. If your app is crashing at launch, find a crash report to determine the cause.
  1529.  
  1530. (Calabash::Cucumber::ServerNotRespondingError)
  1531. ./features/support/01_launch.rb:27:in `Before'
  1532. Given the app has launched # features/steps/sample_steps.rb:1
  1533. And I have done a specific thing # features/steps/sample_steps.rb:8
  1534. When I do something # features/steps/sample_steps.rb:32
  1535. Then something should happen # features/steps/sample_steps.rb:41
  1536.  
  1537. Failing Scenarios:
  1538. cucumber features/sample.feature:3 # Scenario: Sample Scenario
  1539.  
  1540. 1 scenario (1 failed)
  1541. 4 steps (4 skipped)
  1542. 0m47.612s
  1543. [dss-2@calabash-sandbox]$ export BUNDLE_ID=com.mivo.live-cal
  1544. [dss-2@calabash-sandbox]$ export DEVICE_TARGET=77f3c3065cf3132a846a5e7b70cc0ed583dc3964
  1545. [dss-2@calabash-sandbox]$ export DEVICE_ENDPOINT=http://192.168.1.25:37265
  1546. [dss-2@calabash-sandbox]$ bundle exec calabash-ios console
  1547. Running irb...
  1548.  
  1549. ######################### Useful Methods ##########################
  1550. ids => List all the visible accessibility ids.
  1551. labels => List all the visible accessibility labels.
  1552. text => List all the visible texts.
  1553. marks => List all the visible marks.
  1554. tree => The app's visible view hierarchy.
  1555. flash => flash(<query>); Disco effect for views matching <query>
  1556. verbose => Turn debug logging on.
  1557. quiet => Turn debug logging off.
  1558. copy => Copy console commands to clipboard.
  1559. clear => Clear the console.
  1560.  
  1561. Calabash says, "Can I get you a coffee?"
  1562. Attached to: #<Launcher: DeviceAgent/ios_device_manager>
  1563. calabash-ios 0.20.4> start_test_server_in_background
  1564. #<Launcher: DeviceAgent/ios_device_manager>
  1565. calabash-ios 0.20.4> start_test_server_in_background
  1566. #<Launcher: DeviceAgent/ios_device_manager>
  1567. calabash-ios 0.20.4> exit
  1568. [dss-2@calabash-sandbox]$ export BUNDLE_ID=com.mivo.live-cal
  1569. [dss-2@calabash-sandbox]$ export DEVICE_TARGET=77f3c3065cf3132a846a5e7b70cc0ed583dc3964
  1570. [dss-2@calabash-sandbox]$ export DEVICE_ENDPOINT=http://192.168.1.25:37265
  1571. [dss-2@calabash-sandbox]$ bundle exec cucumber
  1572. Feature: Sample Feature
  1573.  
  1574. Scenario: Sample Scenario # features/sample.feature:3
  1575. Given the app has launched # features/steps/sample_steps.rb:1
  1576. And I have done a specific thing # features/steps/sample_steps.rb:8
  1577. When I do something # features/steps/sample_steps.rb:32
  1578. Then something should happen # features/steps/sample_steps.rb:41
  1579.  
  1580. 1 scenario (1 passed)
  1581. 4 steps (4 passed)
  1582. 0m40.368s
  1583. [dss-2@calabash-sandbox]$ bundle exec cucumber
  1584. Feature: Sample Feature
  1585.  
  1586. Scenario: Sample Scenario # features/sample.feature:3
  1587. Given the app has launched # features/steps/sample_steps.rb:1
  1588. And I have done a specific thing # features/steps/sample_steps.rb:9
  1589. When I do something # features/steps/sample_steps.rb:33
  1590. Then something should happen # features/steps/sample_steps.rb:42
  1591.  
  1592. 1 scenario (1 passed)
  1593. 4 steps (4 passed)
  1594. 0m40.308s
  1595. [dss-2@calabash-sandbox]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement