Advertisement
Guest User

Untitled

a guest
Apr 28th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 321.89 KB | None | 0 0
  1. loadTestDB
  2.  
  3. module Picture_Auto_2_1
  4.  
  5. def self.Normal_View(loopTime)
  6.  
  7. tcase = TestCase.new("Normal_View")
  8.  
  9. tcase << TestAction.new(:Change_Normal_View) do
  10. $ruiObj = RUIObject.new.with('objectid', 717001470).with('selfid', 814879967).with('textdescid', 946505666).with('uniqueparentid', 0)
  11. .with('uitreeindex', 14)
  12. .with('classname', 'ImageButton')
  13. .with('resource-id', 'com.lge.camera:id/btn_dualview_normal_range')
  14. .with('content-desc', 'Normal angle lens')
  15.  
  16. $ruiObj.click
  17.  
  18. waitsecond(2)
  19. end
  20.  
  21. tcase.run(loopTime)
  22.  
  23. end
  24.  
  25. def self.Photo_Size_16_9_12MP(loopTime)
  26.  
  27. tcase = TestCase.new("Photo_Size_16_9_12MP")
  28.  
  29. tcase << TestAction.new(:Open_Camera_Settings) do
  30. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  31. .with('uitreeindex', 3)
  32. .with('classname', 'ImageButton')
  33. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  34. .with('content-desc', 'Open settings')
  35.  
  36. $ruiObj.click
  37.  
  38. waitsecond(2)
  39. end
  40.  
  41. tcase << TestAction.new(:Photo_Size) do
  42. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -430869043).with('textdescid', -1531619265).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  43. .with('uitreeindex', 16)
  44. .with('classname', 'TextView')
  45. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  46. .with('content-desc', 'Photo size')
  47. .with('text', 'Photo size')
  48.  
  49. $ruiObj.click
  50.  
  51. waitsecond(2)
  52. end
  53.  
  54. tcase << TestAction.new(:Size_16_9_12MP) do
  55. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 210818313).with('textdescid', -122535369).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  56. .with('uitreeindex', 18)
  57. .with('classname', 'CheckedTextView')
  58. .with('resource-id', 'android:id/text1')
  59. .with('content-desc', '16:9 (12 MP) 4656x2620')
  60. .with('text', '169 12MP 4656x2620')
  61.  
  62. $ruiObj.click
  63.  
  64. waitsecond(2)
  65. end
  66.  
  67. tcase << TestAction.new(:Exit_Camera_Settings) do
  68. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2071188370).with('textdescid', 469249158).with('uniqueparentid', 0)
  69. .with('uitreeindex', 2)
  70. .with('classname', 'ImageButton')
  71. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  72. .with('content-desc', 'Close settings')
  73.  
  74. $ruiObj.click
  75.  
  76. waitsecond(2)
  77. end
  78.  
  79. tcase.run(loopTime)
  80.  
  81. end
  82.  
  83. def self.Photo_Size_16_9_37MP_Front(loopTime)
  84.  
  85. tcase = TestCase.new("Photo_Size_16_9_37MP_Front")
  86.  
  87. tcase << TestAction.new(:Open_Camera_Settings) do
  88. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  89. .with('uitreeindex', 3)
  90. .with('classname', 'ImageButton')
  91. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  92. .with('content-desc', 'Open settings')
  93.  
  94. $ruiObj.click
  95.  
  96. waitsecond(2)
  97. end
  98.  
  99. tcase << TestAction.new(:Photo_Size) do
  100. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -430869043).with('textdescid', -1531619265).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  101. .with('uitreeindex', 16)
  102. .with('classname', 'TextView')
  103. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  104. .with('content-desc', 'Photo size')
  105. .with('text', 'Photo size')
  106.  
  107. $ruiObj.click
  108.  
  109. waitsecond(2)
  110. end
  111.  
  112. tcase << TestAction.new(:Size_16_9_37MP) do
  113. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 2068446003).with('textdescid', -694779443).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  114. .with('uitreeindex', 16)
  115. .with('classname', 'CheckedTextView')
  116. .with('resource-id', 'android:id/text1')
  117. .with('content-desc', '16:9 (3Point7 MP) 2560x1440')
  118. .with('text', '169 37MP 2560x1440')
  119.  
  120. $ruiObj.click
  121.  
  122. waitsecond(2)
  123. end
  124.  
  125. tcase << TestAction.new(:Exit_Camera_Settings) do
  126. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2071188370).with('textdescid', 469249158).with('uniqueparentid', 0)
  127. .with('uitreeindex', 2)
  128. .with('classname', 'ImageButton')
  129. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  130. .with('content-desc', 'Close settings')
  131.  
  132. $ruiObj.click
  133.  
  134. waitsecond(2)
  135. end
  136.  
  137. tcase.run(loopTime)
  138.  
  139. end
  140.  
  141. def self.Photo_Size_16_9_6MP(loopTime)
  142.  
  143. tcase = TestCase.new("Photo_Size_16_9_6MP")
  144.  
  145. tcase << TestAction.new(:Open_Camera_Settings) do
  146. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  147. .with('uitreeindex', 3)
  148. .with('classname', 'ImageButton')
  149. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  150. .with('content-desc', 'Open settings')
  151.  
  152. $ruiObj.click
  153.  
  154. waitsecond(2)
  155. end
  156.  
  157. tcase << TestAction.new(:Photo_Size) do
  158. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -430869043).with('textdescid', -1531619265).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  159. .with('uitreeindex', 16)
  160. .with('classname', 'TextView')
  161. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  162. .with('content-desc', 'Photo size')
  163. .with('text', 'Photo size')
  164.  
  165. $ruiObj.click
  166.  
  167. waitsecond(2)
  168. end
  169.  
  170. tcase << TestAction.new(:Size_16_9_6MP) do
  171. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 506453037).with('textdescid', -465902125).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  172. .with('uitreeindex', 19)
  173. .with('classname', 'CheckedTextView')
  174. .with('resource-id', 'android:id/text1')
  175. .with('content-desc', '16:9 (6Point0 MP) 3264x1836')
  176. .with('text', '169 60MP 3264x1836')
  177.  
  178. $ruiObj.click
  179.  
  180. waitsecond(2)
  181. end
  182.  
  183. tcase << TestAction.new(:Exit_Camera_Settings) do
  184. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2071188370).with('textdescid', 469249158).with('uniqueparentid', 0)
  185. .with('uitreeindex', 2)
  186. .with('classname', 'ImageButton')
  187. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  188. .with('content-desc', 'Close settings')
  189.  
  190. $ruiObj.click
  191.  
  192. waitsecond(2)
  193. end
  194.  
  195. tcase.run(loopTime)
  196.  
  197. end
  198.  
  199. def self.Photo_Size_18_9_11MP(loopTime)
  200.  
  201. tcase = TestCase.new("Photo_Size_18_9_11MP")
  202.  
  203. tcase << TestAction.new(:Open_Camera_Settings) do
  204. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  205. .with('uitreeindex', 3)
  206. .with('classname', 'ImageButton')
  207. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  208. .with('content-desc', 'Open settings')
  209.  
  210. $ruiObj.click
  211.  
  212. waitsecond(2)
  213. end
  214.  
  215. tcase << TestAction.new(:Photo_Size) do
  216. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -430869043).with('textdescid', -1531619265).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  217. .with('uitreeindex', 16)
  218. .with('classname', 'TextView')
  219. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  220. .with('content-desc', 'Photo size')
  221. .with('text', 'Photo size')
  222.  
  223. $ruiObj.click
  224.  
  225. waitsecond(2)
  226. end
  227.  
  228. tcase << TestAction.new(:Size_18_9_11MP) do
  229. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -1709844087).with('textdescid', -661563593).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  230. .with('uitreeindex', 20)
  231. .with('classname', 'CheckedTextView')
  232. .with('resource-id', 'android:id/text1')
  233. .with('content-desc', '18:9 (11 MP) 4656x2328')
  234. .with('text', '189 11MP 4656x2328')
  235.  
  236. $ruiObj.click
  237.  
  238. waitsecond(2)
  239. end
  240.  
  241. tcase << TestAction.new(:Exit_Camera_Settings) do
  242. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2071188370).with('textdescid', 469249158).with('uniqueparentid', 0)
  243. .with('uitreeindex', 2)
  244. .with('classname', 'ImageButton')
  245. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  246. .with('content-desc', 'Close settings')
  247.  
  248. $ruiObj.click
  249.  
  250. waitsecond(2)
  251. end
  252.  
  253. tcase.run(loopTime)
  254.  
  255. end
  256.  
  257. def self.Photo_Size_18_9_33MP(loopTime)
  258.  
  259. tcase = TestCase.new("Photo_Size_18_9_33MP")
  260.  
  261. tcase << TestAction.new(:Open_Camera_Settings) do
  262. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  263. .with('uitreeindex', 3)
  264. .with('classname', 'ImageButton')
  265. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  266. .with('content-desc', 'Open settings')
  267.  
  268. $ruiObj.click
  269.  
  270. waitsecond(2)
  271. end
  272.  
  273. tcase << TestAction.new(:Photo_Size) do
  274. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -430869043).with('textdescid', -1531619265).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  275. .with('uitreeindex', 16)
  276. .with('classname', 'TextView')
  277. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  278. .with('content-desc', 'Photo size')
  279. .with('text', 'Photo size')
  280.  
  281. $ruiObj.click
  282.  
  283. waitsecond(2)
  284. end
  285.  
  286. tcase << TestAction.new(:Size_18_9_33MP) do
  287. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -1387509641).with('textdescid', 897718793).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  288. .with('uitreeindex', 21)
  289. .with('classname', 'CheckedTextView')
  290. .with('resource-id', 'android:id/text1')
  291. .with('content-desc', '18:9 (3Point3 MP) 2560x1280')
  292. .with('text', '189 33MP 2560x1280')
  293.  
  294. $ruiObj.click
  295.  
  296. waitsecond(2)
  297. end
  298.  
  299. tcase << TestAction.new(:Exit_Camera_Settings) do
  300. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2071188370).with('textdescid', 469249158).with('uniqueparentid', 0)
  301. .with('uitreeindex', 2)
  302. .with('classname', 'ImageButton')
  303. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  304. .with('content-desc', 'Close settings')
  305.  
  306. $ruiObj.click
  307.  
  308. waitsecond(2)
  309. end
  310.  
  311. tcase.run(loopTime)
  312.  
  313. end
  314.  
  315. def self.Photo_Size_18_9_33MP_Front(loopTime)
  316.  
  317. tcase = TestCase.new("Photo_Size_18_9_33MP_Front")
  318.  
  319. tcase << TestAction.new(:Open_Camera_Settings) do
  320. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  321. .with('uitreeindex', 3)
  322. .with('classname', 'ImageButton')
  323. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  324. .with('content-desc', 'Open settings')
  325.  
  326. $ruiObj.click
  327.  
  328. waitsecond(2)
  329. end
  330.  
  331. tcase << TestAction.new(:Photo_Size) do
  332. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -430869043).with('textdescid', -1531619265).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  333. .with('uitreeindex', 16)
  334. .with('classname', 'TextView')
  335. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  336. .with('content-desc', 'Photo size')
  337. .with('text', 'Photo size')
  338.  
  339. $ruiObj.click
  340.  
  341. waitsecond(2)
  342. end
  343.  
  344. tcase << TestAction.new(:Size_18_9_33MP) do
  345. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -1387509641).with('textdescid', 897718793).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  346. .with('uitreeindex', 17)
  347. .with('classname', 'CheckedTextView')
  348. .with('resource-id', 'android:id/text1')
  349. .with('content-desc', '18:9 (3Point3 MP) 2560x1280')
  350. .with('text', '189 33MP 2560x1280')
  351.  
  352. $ruiObj.click
  353.  
  354. waitsecond(2)
  355. end
  356.  
  357. tcase << TestAction.new(:Exit_Camera_Settings) do
  358. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2071188370).with('textdescid', 469249158).with('uniqueparentid', 0)
  359. .with('uitreeindex', 2)
  360. .with('classname', 'ImageButton')
  361. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  362. .with('content-desc', 'Close settings')
  363.  
  364. $ruiObj.click
  365.  
  366. waitsecond(2)
  367. end
  368.  
  369. tcase.run(loopTime)
  370.  
  371. end
  372.  
  373. def self.Photo_Size_1_1_12MP(loopTime)
  374.  
  375. tcase = TestCase.new("Photo_Size_1_1_12MP")
  376.  
  377. tcase << TestAction.new(:Open_Camera_Settings) do
  378. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  379. .with('uitreeindex', 3)
  380. .with('classname', 'ImageButton')
  381. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  382. .with('content-desc', 'Open settings')
  383.  
  384. $ruiObj.click
  385.  
  386. waitsecond(2)
  387. end
  388.  
  389. tcase << TestAction.new(:Photo_Size) do
  390. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -430869043).with('textdescid', -1531619265).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  391. .with('uitreeindex', 16)
  392. .with('classname', 'TextView')
  393. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  394. .with('content-desc', 'Photo size')
  395. .with('text', 'Photo size')
  396.  
  397. $ruiObj.click
  398.  
  399. waitsecond(2)
  400. end
  401.  
  402. tcase << TestAction.new(:Size_1_1_12MP) do
  403. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1583081847).with('textdescid', 1000213193).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  404. .with('uitreeindex', 22)
  405. .with('classname', 'CheckedTextView')
  406. .with('resource-id', 'android:id/text1')
  407. .with('content-desc', '1:1 (12 MP) 3492x3492')
  408. .with('text', '11 12MP 3492x3492')
  409.  
  410. $ruiObj.click
  411.  
  412. waitsecond(2)
  413. end
  414.  
  415. tcase << TestAction.new(:Exit_Camera_Settings) do
  416. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2071188370).with('textdescid', 469249158).with('uniqueparentid', 0)
  417. .with('uitreeindex', 2)
  418. .with('classname', 'ImageButton')
  419. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  420. .with('content-desc', 'Close settings')
  421.  
  422. $ruiObj.click
  423.  
  424. waitsecond(2)
  425. end
  426.  
  427. tcase.run(loopTime)
  428.  
  429. end
  430.  
  431. def self.Photo_Size_1_1_34MP(loopTime)
  432.  
  433. tcase = TestCase.new("Photo_Size_1_1_34MP")
  434.  
  435. tcase << TestAction.new(:Open_Camera_Settings) do
  436. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  437. .with('uitreeindex', 3)
  438. .with('classname', 'ImageButton')
  439. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  440. .with('content-desc', 'Open settings')
  441.  
  442. $ruiObj.click
  443.  
  444. waitsecond(2)
  445. end
  446.  
  447. tcase << TestAction.new(:Photo_Size) do
  448. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -430869043).with('textdescid', -1531619265).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  449. .with('uitreeindex', 16)
  450. .with('classname', 'TextView')
  451. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  452. .with('content-desc', 'Photo size')
  453. .with('text', 'Photo size')
  454.  
  455. $ruiObj.click
  456.  
  457. waitsecond(2)
  458. end
  459.  
  460. tcase << TestAction.new(:Size_1_1_34MP) do
  461. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 799358037).with('textdescid', 553147819).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  462. .with('uitreeindex', 23)
  463. .with('classname', 'CheckedTextView')
  464. .with('resource-id', 'android:id/text1')
  465. .with('content-desc', '1:1 (3Point4 MP) 1836x1836')
  466. .with('text', '11 34MP 1836x1836')
  467.  
  468. $ruiObj.click
  469.  
  470. waitsecond(2)
  471. end
  472.  
  473. tcase << TestAction.new(:Exit_Camera_Settings) do
  474. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2071188370).with('textdescid', 469249158).with('uniqueparentid', 0)
  475. .with('uitreeindex', 2)
  476. .with('classname', 'ImageButton')
  477. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  478. .with('content-desc', 'Close settings')
  479.  
  480. $ruiObj.click
  481.  
  482. waitsecond(2)
  483. end
  484.  
  485. tcase.run(loopTime)
  486.  
  487. end
  488.  
  489. def self.Photo_Size_1_1_37MP_Front(loopTime)
  490.  
  491. tcase = TestCase.new("Photo_Size_1_1_37MP_Front")
  492.  
  493. tcase << TestAction.new(:Open_Camera_Settings) do
  494. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  495. .with('uitreeindex', 3)
  496. .with('classname', 'ImageButton')
  497. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  498. .with('content-desc', 'Open settings')
  499.  
  500. $ruiObj.click
  501.  
  502. waitsecond(2)
  503. end
  504.  
  505. tcase << TestAction.new(:Photo_Size) do
  506. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -430869043).with('textdescid', -1531619265).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  507. .with('uitreeindex', 16)
  508. .with('classname', 'TextView')
  509. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  510. .with('content-desc', 'Photo size')
  511. .with('text', 'Photo size')
  512.  
  513. $ruiObj.click
  514.  
  515. waitsecond(2)
  516. end
  517.  
  518. tcase << TestAction.new(:Size_1_1_37MP) do
  519. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 2096402971).with('textdescid', -1754856475).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  520. .with('uitreeindex', 18)
  521. .with('classname', 'CheckedTextView')
  522. .with('resource-id', 'android:id/text1')
  523. .with('content-desc', '1:1 (3Point7 MP) 1920x1920')
  524. .with('text', '11 37MP 1920x1920')
  525.  
  526. $ruiObj.click
  527.  
  528. waitsecond(2)
  529. end
  530.  
  531. tcase << TestAction.new(:Exit_Camera_Settings) do
  532. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2071188370).with('textdescid', 469249158).with('uniqueparentid', 0)
  533. .with('uitreeindex', 2)
  534. .with('classname', 'ImageButton')
  535. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  536. .with('content-desc', 'Close settings')
  537.  
  538. $ruiObj.click
  539.  
  540. waitsecond(2)
  541. end
  542.  
  543. tcase.run(loopTime)
  544.  
  545. end
  546.  
  547. def self.Photo_Size_4_3_16MP(loopTime)
  548.  
  549. tcase = TestCase.new("Photo_Size_4_3_16MP")
  550.  
  551. tcase << TestAction.new(:Open_Camera_Settings) do
  552. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  553. .with('uitreeindex', 3)
  554. .with('classname', 'ImageButton')
  555. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  556. .with('content-desc', 'Open settings')
  557.  
  558. $ruiObj.click
  559.  
  560. waitsecond(2)
  561. end
  562.  
  563. tcase << TestAction.new(:Photo_Size) do
  564. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -430869043).with('textdescid', -1531619265).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  565. .with('uitreeindex', 16)
  566. .with('classname', 'TextView')
  567. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  568. .with('content-desc', 'Photo size')
  569. .with('text', 'Photo size')
  570.  
  571. $ruiObj.click
  572.  
  573. waitsecond(2)
  574. end
  575.  
  576. tcase << TestAction.new(:Size_4_3_16MP) do
  577. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1696793267).with('textdescid', 743590157).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  578. .with('uitreeindex', 16)
  579. .with('classname', 'CheckedTextView')
  580. .with('resource-id', 'android:id/text1')
  581. .with('content-desc', '4:3 (16 MP) 4656x3492')
  582. .with('text', '43 16MP 4656x3492')
  583.  
  584. $ruiObj.click
  585.  
  586. waitsecond(2)
  587. end
  588.  
  589. tcase << TestAction.new(:Exit_Camera_Settings) do
  590. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2071188370).with('textdescid', 469249158).with('uniqueparentid', 0)
  591. .with('uitreeindex', 2)
  592. .with('classname', 'ImageButton')
  593. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  594. .with('content-desc', 'Close settings')
  595.  
  596. $ruiObj.click
  597.  
  598. waitsecond(2)
  599. end
  600.  
  601. tcase.run(loopTime)
  602.  
  603. end
  604.  
  605. def self.Photo_Size_4_3_5MP_Front(loopTime)
  606.  
  607. tcase = TestCase.new("Photo_Size_4_3_5MP_Front")
  608.  
  609. tcase << TestAction.new(:Open_Camera_Settings) do
  610. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  611. .with('uitreeindex', 3)
  612. .with('classname', 'ImageButton')
  613. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  614. .with('content-desc', 'Open settings')
  615.  
  616. $ruiObj.click
  617.  
  618. waitsecond(2)
  619. end
  620.  
  621. tcase << TestAction.new(:Photo_Size) do
  622. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -430869043).with('textdescid', -1531619265).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  623. .with('uitreeindex', 16)
  624. .with('classname', 'TextView')
  625. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  626. .with('content-desc', 'Photo size')
  627. .with('text', 'Photo size')
  628.  
  629. $ruiObj.click
  630.  
  631. waitsecond(2)
  632. end
  633.  
  634. tcase << TestAction.new(:Size_4_3_5MP) do
  635. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 2138542971).with('textdescid', -7873851).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  636. .with('uitreeindex', 15)
  637. .with('classname', 'CheckedTextView')
  638. .with('resource-id', 'android:id/text1')
  639. .with('content-desc', '4:3 (5Point0 MP) 2560x1920')
  640. .with('text', '43 50MP 2560x1920')
  641.  
  642. $ruiObj.click
  643.  
  644. waitsecond(2)
  645. end
  646.  
  647. tcase << TestAction.new(:Exit_Camera_Settings) do
  648. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2071188370).with('textdescid', 469249158).with('uniqueparentid', 0)
  649. .with('uitreeindex', 2)
  650. .with('classname', 'ImageButton')
  651. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  652. .with('content-desc', 'Close settings')
  653.  
  654. $ruiObj.click
  655.  
  656. waitsecond(2)
  657. end
  658.  
  659. tcase.run(loopTime)
  660.  
  661. end
  662.  
  663. def self.Photo_Size_4_3_8MP(loopTime)
  664.  
  665. tcase = TestCase.new("Photo_Size_4_3_8MP")
  666.  
  667. tcase << TestAction.new(:Open_Camera_Settings) do
  668. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  669. .with('uitreeindex', 3)
  670. .with('classname', 'ImageButton')
  671. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  672. .with('content-desc', 'Open settings')
  673.  
  674. $ruiObj.click
  675.  
  676. waitsecond(2)
  677. end
  678.  
  679. tcase << TestAction.new(:Photo_Size) do
  680. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -430869043).with('textdescid', -1531619265).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  681. .with('uitreeindex', 16)
  682. .with('classname', 'TextView')
  683. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  684. .with('content-desc', 'Photo size')
  685. .with('text', 'Photo size')
  686.  
  687. $ruiObj.click
  688.  
  689. waitsecond(2)
  690. end
  691.  
  692. tcase << TestAction.new(:Size_4_3_8MP) do
  693. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -2021332261).with('textdescid', 1929999013).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  694. .with('uitreeindex', 17)
  695. .with('classname', 'CheckedTextView')
  696. .with('resource-id', 'android:id/text1')
  697. .with('content-desc', '4:3 (8Point0 MP) 3264x2448')
  698. .with('text', '43 80MP 3264x2448')
  699.  
  700. $ruiObj.click
  701.  
  702. waitsecond(2)
  703. end
  704.  
  705. tcase << TestAction.new(:Exit_Camera_Settings) do
  706. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2071188370).with('textdescid', 469249158).with('uniqueparentid', 0)
  707. .with('uitreeindex', 2)
  708. .with('classname', 'ImageButton')
  709. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  710. .with('content-desc', 'Close settings')
  711.  
  712. $ruiObj.click
  713.  
  714. waitsecond(2)
  715. end
  716.  
  717. tcase.run(loopTime)
  718.  
  719. end
  720.  
  721. def self.PictureAuto_2_1_1_10(loopTime)
  722.  
  723. tcase = TestCase.new("PictureAuto_2_1_1_10")
  724.  
  725. tcase << TestAction.new(:LogStart) do
  726. logStartTest("2_1_1_10_Picture_Auto")
  727.  
  728. waitsecond(2)
  729. end
  730.  
  731. tcase << TestAction.new(:Open_Camera_Settings) do
  732. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  733. .with('uitreeindex', 2)
  734. .with('classname', 'ImageButton')
  735. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  736. .with('content-desc', 'Open settings')
  737.  
  738. $ruiObj.click
  739.  
  740. waitsecond(2)
  741. end
  742.  
  743. tcase << TestAction.new(:HDR_Menu) do
  744. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -801213611).with('textdescid', 73758911).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  745. .with('uitreeindex', 27)
  746. .with('classname', 'TextView')
  747. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  748. .with('text', 'High Dynamic Range HDR combines multiple photos taken at different exposures to create the best photo')
  749.  
  750. $ruiObj.click
  751.  
  752. waitsecond(2)
  753. end
  754.  
  755. tcase << TestAction.new(:HDR_Auto) do
  756. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 696310092).with('textdescid', -1563309164).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  757. .with('uitreeindex', 16)
  758. .with('classname', 'CheckedTextView')
  759. .with('resource-id', 'android:id/text1')
  760. .with('content-desc', 'Auto')
  761. .with('text', 'Auto')
  762.  
  763. $ruiObj.click
  764.  
  765. waitsecond(2)
  766. end
  767.  
  768. tcase << TestAction.new(:Shutter_Button) do
  769. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  770. .with('uitreeindex', 9)
  771. .with('classname', 'ImageButton')
  772. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  773. .with('content-desc', 'Shutter')
  774.  
  775. $ruiObj.click
  776.  
  777. waitsecond(2)
  778. end
  779.  
  780. tcase << TestAction.new(:checkAndDelete) do
  781. checkAndDelete
  782.  
  783. waitsecond(2)
  784. end
  785.  
  786. tcase << TestAction.new(:LogStop) do
  787. $myTestResult = !checkLastExistResult
  788.  
  789. logStopTest("2_1_1_10_Picture_Auto")
  790.  
  791. waitsecond(2)
  792. end
  793.  
  794. tcase.run(loopTime)
  795.  
  796. end
  797.  
  798. def self.PictureAuto_2_1_1_11(loopTime)
  799.  
  800. tcase = TestCase.new("PictureAuto_2_1_1_11")
  801.  
  802. tcase << TestAction.new(:LogStart) do
  803. logStartTest("2_1_1_11_Picture_Auto")
  804.  
  805. waitsecond(2)
  806. end
  807.  
  808. tcase << TestAction.new(:Open_Camera_Settings) do
  809. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  810. .with('uitreeindex', 2)
  811. .with('classname', 'ImageButton')
  812. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  813. .with('content-desc', 'Open settings')
  814.  
  815. $ruiObj.click
  816.  
  817. waitsecond(2)
  818. end
  819.  
  820. tcase << TestAction.new(:HDR_Menu) do
  821. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -801213611).with('textdescid', 73758911).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  822. .with('uitreeindex', 27)
  823. .with('classname', 'TextView')
  824. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  825. .with('text', 'High Dynamic Range HDR combines multiple photos taken at different exposures to create the best photo')
  826.  
  827. $ruiObj.click
  828.  
  829. waitsecond(2)
  830. end
  831.  
  832. tcase << TestAction.new(:HDR_On) do
  833. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1200665996).with('textdescid', -406281388).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  834. .with('uitreeindex', 17)
  835. .with('classname', 'CheckedTextView')
  836. .with('resource-id', 'android:id/text1')
  837. .with('content-desc', 'On')
  838. .with('text', 'On')
  839.  
  840. $ruiObj.click
  841.  
  842. waitsecond(2)
  843. end
  844.  
  845. tcase << TestAction.new(:Shutter_Button) do
  846. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  847. .with('uitreeindex', 9)
  848. .with('classname', 'ImageButton')
  849. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  850. .with('content-desc', 'Shutter')
  851.  
  852. $ruiObj.click
  853.  
  854. waitsecond(2)
  855. end
  856.  
  857. tcase << TestAction.new(:checkAndDelete) do
  858. checkAndDelete
  859.  
  860. waitsecond(2)
  861. end
  862.  
  863. tcase << TestAction.new(:LogStop) do
  864. $myTestResult = !checkLastExistResult
  865.  
  866. logStopTest("2_1_1_11_Picture_Auto")
  867.  
  868. waitsecond(2)
  869. end
  870.  
  871. tcase.run(loopTime)
  872.  
  873. end
  874.  
  875. def self.PictureAuto_2_1_1_12(loopTime)
  876.  
  877. tcase = TestCase.new("PictureAuto_2_1_1_12")
  878.  
  879. tcase << TestAction.new(:LogStart) do
  880. logStartTest("2_1_1_12_Picture_Auto")
  881.  
  882. waitsecond(2)
  883. end
  884.  
  885. tcase << TestAction.new(:Open_Camera_Settings) do
  886. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  887. .with('uitreeindex', 2)
  888. .with('classname', 'ImageButton')
  889. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  890. .with('content-desc', 'Open settings')
  891.  
  892. $ruiObj.click
  893.  
  894. waitsecond(2)
  895. end
  896.  
  897. tcase << TestAction.new(:HDR_Menu) do
  898. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -801213611).with('textdescid', 73758911).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  899. .with('uitreeindex', 27)
  900. .with('classname', 'TextView')
  901. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  902. .with('text', 'High Dynamic Range HDR combines multiple photos taken at different exposures to create the best photo')
  903.  
  904. $ruiObj.click
  905.  
  906. waitsecond(2)
  907. end
  908.  
  909. tcase << TestAction.new(:HDR_Off) do
  910. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -1313055798).with('textdescid', -439670058).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  911. .with('uitreeindex', 18)
  912. .with('classname', 'CheckedTextView')
  913. .with('resource-id', 'android:id/text1')
  914. .with('content-desc', 'Off')
  915. .with('text', 'Off')
  916.  
  917. $ruiObj.click
  918.  
  919. waitsecond(2)
  920. end
  921.  
  922. tcase << TestAction.new(:Shutter_Button) do
  923. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  924. .with('uitreeindex', 9)
  925. .with('classname', 'ImageButton')
  926. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  927. .with('content-desc', 'Shutter')
  928.  
  929. $ruiObj.click
  930.  
  931. waitsecond(2)
  932. end
  933.  
  934. tcase << TestAction.new(:checkAndDelete) do
  935. checkAndDelete
  936.  
  937. waitsecond(2)
  938. end
  939.  
  940. tcase << TestAction.new(:LogStop) do
  941. $myTestResult = !checkLastExistResult
  942.  
  943. logStopTest("2_1_1_12_Picture_Auto")
  944.  
  945. waitsecond(2)
  946. end
  947.  
  948. tcase.run(loopTime)
  949.  
  950. end
  951.  
  952. def self.PictureAuto_2_1_1_13(loopTime)
  953.  
  954. tcase = TestCase.new("PictureAuto_2_1_1_13")
  955.  
  956. tcase << TestAction.new(:LogStart) do
  957. logStartTest("2_1_1_13_Picture_Auto")
  958.  
  959. waitsecond(2)
  960. end
  961.  
  962. tcase << TestAction.new(:Open_Camera_Settings) do
  963. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  964. .with('uitreeindex', 2)
  965. .with('classname', 'ImageButton')
  966. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  967. .with('content-desc', 'Open settings')
  968.  
  969. $ruiObj.click
  970.  
  971. waitsecond(2)
  972. end
  973.  
  974. tcase << TestAction.new(:Time_Menu) do
  975. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 1184885601).with('classresourceid', -1956269507)
  976. .with('uitreeindex', 30)
  977. .with('classname', 'TextView')
  978. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  979. .with('content-desc', 'Timer')
  980. .with('text', 'Timer')
  981.  
  982. $ruiObj.click
  983.  
  984. waitsecond(2)
  985. end
  986.  
  987. tcase << TestAction.new(:Timer_Off) do
  988. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -1313055798).with('textdescid', -439670058).with('uniqueparentid', 1184885601).with('classresourceid', 2074814108)
  989. .with('uitreeindex', 16)
  990. .with('classname', 'CheckedTextView')
  991. .with('resource-id', 'android:id/text1')
  992. .with('content-desc', 'Off')
  993. .with('text', 'Off')
  994.  
  995. $ruiObj.click
  996.  
  997. waitsecond(2)
  998. end
  999.  
  1000. tcase << TestAction.new(:Shutter_Button) do
  1001. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  1002. .with('uitreeindex', 9)
  1003. .with('classname', 'ImageButton')
  1004. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  1005. .with('content-desc', 'Shutter')
  1006.  
  1007. $ruiObj.click
  1008.  
  1009. waitsecond(2)
  1010. end
  1011.  
  1012. tcase << TestAction.new(:checkAndDelete) do
  1013. checkAndDelete
  1014.  
  1015. waitsecond(2)
  1016. end
  1017.  
  1018. tcase << TestAction.new(:LogStop) do
  1019. $myTestResult = !checkLastExistResult
  1020.  
  1021. logStopTest("2_1_1_13_Picture_Auto")
  1022.  
  1023. waitsecond(2)
  1024. end
  1025.  
  1026. tcase.run(loopTime)
  1027.  
  1028. end
  1029.  
  1030. def self.PictureAuto_2_1_1_14(loopTime)
  1031.  
  1032. tcase = TestCase.new("PictureAuto_2_1_1_14")
  1033.  
  1034. tcase << TestAction.new(:LogStart) do
  1035. logStartTest("2_1_1_14_Picture_Auto")
  1036.  
  1037. waitsecond(2)
  1038. end
  1039.  
  1040. tcase << TestAction.new(:Open_Camera_Settings) do
  1041. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  1042. .with('uitreeindex', 2)
  1043. .with('classname', 'ImageButton')
  1044. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  1045. .with('content-desc', 'Open settings')
  1046.  
  1047. $ruiObj.click
  1048.  
  1049. waitsecond(2)
  1050. end
  1051.  
  1052. tcase << TestAction.new(:Timer_Menu) do
  1053. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  1054. .with('uitreeindex', 30)
  1055. .with('classname', 'TextView')
  1056. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  1057. .with('content-desc', 'Timer')
  1058. .with('text', 'Timer')
  1059.  
  1060. $ruiObj.click
  1061.  
  1062. waitsecond(2)
  1063. end
  1064.  
  1065. tcase << TestAction.new(:Timer_3sec) do
  1066. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1159119924).with('textdescid', -2081065364).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  1067. .with('uitreeindex', 17)
  1068. .with('classname', 'CheckedTextView')
  1069. .with('resource-id', 'android:id/text1')
  1070. .with('content-desc', '3 sec')
  1071. .with('text', '3 sec')
  1072.  
  1073. $ruiObj.click
  1074.  
  1075. waitsecond(2)
  1076. end
  1077.  
  1078. tcase << TestAction.new(:Shutter_Button) do
  1079. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  1080. .with('uitreeindex', 9)
  1081. .with('classname', 'ImageButton')
  1082. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  1083. .with('content-desc', 'Shutter')
  1084.  
  1085. $ruiObj.click
  1086.  
  1087. waitsecond(5)
  1088. end
  1089.  
  1090. tcase << TestAction.new(:checkAndDelete) do
  1091. checkAndDelete
  1092.  
  1093. waitsecond(2)
  1094. end
  1095.  
  1096. tcase << TestAction.new(:LogStop) do
  1097. $myTestResult = !checkLastExistResult
  1098.  
  1099. logStopTest("2_1_1_14_Picture_Auto")
  1100.  
  1101. waitsecond(2)
  1102. end
  1103.  
  1104. tcase.run(loopTime)
  1105.  
  1106. end
  1107.  
  1108. def self.PictureAuto_2_1_1_15(loopTime)
  1109.  
  1110. tcase = TestCase.new("PictureAuto_2_1_1_15")
  1111.  
  1112. tcase << TestAction.new(:LogStart) do
  1113. logStartTest("2_1_1_15_Picture_Auto")
  1114.  
  1115. waitsecond(2)
  1116. end
  1117.  
  1118. tcase << TestAction.new(:Open_Camera_Settings) do
  1119. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  1120. .with('uitreeindex', 2)
  1121. .with('classname', 'ImageButton')
  1122. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  1123. .with('content-desc', 'Open settings')
  1124.  
  1125. $ruiObj.click
  1126.  
  1127. waitsecond(2)
  1128. end
  1129.  
  1130. tcase << TestAction.new(:Timer_Menu) do
  1131. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  1132. .with('uitreeindex', 30)
  1133. .with('classname', 'TextView')
  1134. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  1135. .with('content-desc', 'Timer')
  1136. .with('text', 'Timer')
  1137.  
  1138. $ruiObj.click
  1139.  
  1140. waitsecond(2)
  1141. end
  1142.  
  1143. tcase << TestAction.new(:Timer_10sec) do
  1144. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1902492716).with('textdescid', 885416180).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  1145. .with('uitreeindex', 18)
  1146. .with('classname', 'CheckedTextView')
  1147. .with('resource-id', 'android:id/text1')
  1148. .with('content-desc', '10 sec')
  1149. .with('text', '10 sec')
  1150.  
  1151. $ruiObj.click
  1152.  
  1153. waitsecond(2)
  1154. end
  1155.  
  1156. tcase << TestAction.new(:Shutter_Button) do
  1157. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  1158. .with('uitreeindex', 9)
  1159. .with('classname', 'ImageButton')
  1160. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  1161. .with('content-desc', 'Shutter')
  1162.  
  1163. $ruiObj.click
  1164.  
  1165. waitsecond(12)
  1166. end
  1167.  
  1168. tcase << TestAction.new(:Open_Camera_Settings_1) do
  1169. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  1170. .with('uitreeindex', 2)
  1171. .with('classname', 'ImageButton')
  1172. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  1173. .with('content-desc', 'Open settings')
  1174.  
  1175. $ruiObj.click
  1176.  
  1177. waitsecond(2)
  1178. end
  1179.  
  1180. tcase << TestAction.new(:Timer_Menu_1) do
  1181. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  1182. .with('uitreeindex', 30)
  1183. .with('classname', 'TextView')
  1184. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  1185. .with('content-desc', 'Timer')
  1186. .with('text', 'Timer')
  1187.  
  1188. $ruiObj.click
  1189.  
  1190. waitsecond(2)
  1191. end
  1192.  
  1193. tcase << TestAction.new(:Timer_Off) do
  1194. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -1313055798).with('textdescid', -439670058).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  1195. .with('uitreeindex', 16)
  1196. .with('classname', 'CheckedTextView')
  1197. .with('resource-id', 'android:id/text1')
  1198. .with('content-desc', 'Off')
  1199. .with('text', 'Off')
  1200.  
  1201. $ruiObj.click
  1202.  
  1203. waitsecond(2)
  1204. end
  1205.  
  1206. tcase << TestAction.new(:checkAndDelete) do
  1207. checkAndDelete
  1208.  
  1209. waitsecond(2)
  1210. end
  1211.  
  1212. tcase << TestAction.new(:LogStop) do
  1213. $myTestResult = !checkLastExistResult
  1214.  
  1215. logStopTest("2_1_1_15_Picture_Auto")
  1216.  
  1217. waitsecond(2)
  1218. end
  1219.  
  1220. tcase.run(loopTime)
  1221.  
  1222. end
  1223.  
  1224. def self.PictureAuto_2_1_1_16(loopTime)
  1225.  
  1226. tcase = TestCase.new("PictureAuto_2_1_1_16")
  1227.  
  1228. tcase << TestAction.new(:LogStart) do
  1229. logStartTest("2_1_1_16_Picture_Auto")
  1230.  
  1231. waitsecond(2)
  1232. end
  1233.  
  1234. tcase << TestAction.new(:Open_Camera_Settings) do
  1235. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  1236. .with('uitreeindex', 2)
  1237. .with('classname', 'ImageButton')
  1238. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  1239. .with('content-desc', 'Open settings')
  1240.  
  1241. $ruiObj.click
  1242.  
  1243. waitsecond(2)
  1244. end
  1245.  
  1246. tcase << TestAction.new(:Cheese_Shutter_On) do
  1247. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -805427468).with('textdescid', -450343400).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  1248. .with('uitreeindex', 34)
  1249. .with('classname', 'TextView')
  1250. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  1251. .with('content-desc', 'Take a photo by saying "Cheese," "Smile," "Whiskey," "Kimchi" or "LG". Off switch')
  1252. .with('text', 'Take a photo by saying Cheese Smile Whiskey Kimchi or LG')
  1253.  
  1254. $ruiObj.click
  1255.  
  1256. waitsecond(2)
  1257. end
  1258.  
  1259. tcase << TestAction.new(:Shutter_Button) do
  1260. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  1261. .with('uitreeindex', 9)
  1262. .with('classname', 'ImageButton')
  1263. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  1264. .with('content-desc', 'Shutter')
  1265.  
  1266. $ruiObj.click
  1267.  
  1268. waitsecond(2)
  1269. end
  1270.  
  1271. tcase << TestAction.new(:checkAndDelete) do
  1272. checkAndDelete
  1273.  
  1274. waitsecond(2)
  1275. end
  1276.  
  1277. tcase << TestAction.new(:LogStop) do
  1278. $myTestResult = !checkLastExistResult
  1279.  
  1280. logStopTest("2_1_1_16_Picture_Auto")
  1281.  
  1282. waitsecond(2)
  1283. end
  1284.  
  1285. tcase.run(loopTime)
  1286.  
  1287. end
  1288.  
  1289. def self.PictureAuto_2_1_1_17(loopTime)
  1290.  
  1291. tcase = TestCase.new("PictureAuto_2_1_1_17")
  1292.  
  1293. tcase << TestAction.new(:LogStart) do
  1294. logStartTest("2_1_1_17_Picture_Auto")
  1295.  
  1296. waitsecond(2)
  1297. end
  1298.  
  1299. tcase << TestAction.new(:Open_Camera_Settings) do
  1300. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  1301. .with('uitreeindex', 2)
  1302. .with('classname', 'ImageButton')
  1303. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  1304. .with('content-desc', 'Open settings')
  1305.  
  1306. $ruiObj.click
  1307.  
  1308. waitsecond(2)
  1309. end
  1310.  
  1311. tcase << TestAction.new(:Tracking_Focus_On) do
  1312. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', 540041269).with('textdescid', 1081855095).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  1313. .with('uitreeindex', 37)
  1314. .with('classname', 'TextView')
  1315. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  1316. .with('content-desc', 'Track and maintain focus on a moving object (FHD and HD only) Off switch')
  1317. .with('text', 'Track and maintain focus on a moving object FHD and HD only')
  1318.  
  1319. $ruiObj.click
  1320.  
  1321. waitsecond(2)
  1322. end
  1323.  
  1324. tcase << TestAction.new(:Shutter_Button) do
  1325. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  1326. .with('uitreeindex', 9)
  1327. .with('classname', 'ImageButton')
  1328. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  1329. .with('content-desc', 'Shutter')
  1330.  
  1331. $ruiObj.click
  1332.  
  1333. waitsecond(2)
  1334. end
  1335.  
  1336. tcase << TestAction.new(:checkAndDelete) do
  1337. checkAndDelete
  1338.  
  1339. waitsecond(2)
  1340. end
  1341.  
  1342. tcase << TestAction.new(:LogStop) do
  1343. $myTestResult = !checkLastExistResult
  1344.  
  1345. logStopTest("2_1_1_17_Picture_Auto")
  1346.  
  1347. waitsecond(2)
  1348. end
  1349.  
  1350. tcase.run(loopTime)
  1351.  
  1352. end
  1353.  
  1354. def self.PictureAuto_2_1_1_18(loopTime)
  1355.  
  1356. tcase = TestCase.new("PictureAuto_2_1_1_18")
  1357.  
  1358. tcase << TestAction.new(:LogStart) do
  1359. logStartTest("2_1_1_18_Picture_Auto")
  1360.  
  1361. waitsecond(2)
  1362. end
  1363.  
  1364. tcase << TestAction.new(:Open_Camera_Settings) do
  1365. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  1366. .with('uitreeindex', 3)
  1367. .with('classname', 'ImageButton')
  1368. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  1369. .with('content-desc', 'Open settings')
  1370.  
  1371. $ruiObj.click
  1372.  
  1373. waitsecond(2)
  1374. end
  1375.  
  1376. tcase << TestAction.new(:Swipe_Down) do
  1377. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  1378. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  1379.  
  1380. waitsecond(2)
  1381. end
  1382.  
  1383. tcase << TestAction.new(:Tag_Locations_On) do
  1384. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -550432648).with('textdescid', -1242618788).with('uniqueparentid', -1650613875).with('classresourceid', -1956269507)
  1385. .with('uitreeindex', 27)
  1386. .with('classname', 'TextView')
  1387. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  1388. .with('content-desc', 'Tag locations Off switch')
  1389. .with('text', 'Tag locations')
  1390.  
  1391. $ruiObj.click
  1392.  
  1393. waitsecond(2)
  1394. end
  1395.  
  1396. tcase << TestAction.new(:Shutter_Button) do
  1397. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', -1650613875)
  1398. .with('uitreeindex', 9)
  1399. .with('classname', 'ImageButton')
  1400. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  1401. .with('content-desc', 'Shutter')
  1402.  
  1403. $ruiObj.click
  1404.  
  1405. waitsecond(2)
  1406. end
  1407.  
  1408. tcase << TestAction.new(:checkAndDelete) do
  1409. checkAndDelete
  1410.  
  1411. waitsecond(2)
  1412. end
  1413.  
  1414. tcase << TestAction.new(:LogStop) do
  1415. $myTestResult = !checkLastExistResult
  1416.  
  1417. logStopTest("2_1_1_18_Picture_Auto")
  1418.  
  1419. waitsecond(2)
  1420. end
  1421.  
  1422. tcase.run(loopTime)
  1423.  
  1424. end
  1425.  
  1426. def self.PictureAuto_2_1_1_19(loopTime)
  1427.  
  1428. tcase = TestCase.new("PictureAuto_2_1_1_19")
  1429.  
  1430. tcase << TestAction.new(:LogStart) do
  1431. logStartTest("2_1_1_19_Picture_Auto")
  1432.  
  1433. waitsecond(2)
  1434. end
  1435.  
  1436. tcase << TestAction.new(:Open_Camera_Settings) do
  1437. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  1438. .with('uitreeindex', 2)
  1439. .with('classname', 'ImageButton')
  1440. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  1441. .with('content-desc', 'Open settings')
  1442.  
  1443. $ruiObj.click
  1444.  
  1445. waitsecond(2)
  1446. end
  1447.  
  1448. tcase << TestAction.new(:Swipe_Down) do
  1449. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  1450. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  1451.  
  1452. waitsecond(2)
  1453. end
  1454.  
  1455. tcase << TestAction.new(:Grid_On) do
  1456. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 2128769562).with('textdescid', -1368287878).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  1457. .with('uitreeindex', 29)
  1458. .with('classname', 'TextView')
  1459. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  1460. .with('content-desc', 'Grid Off switch')
  1461. .with('text', 'Grid')
  1462.  
  1463. $ruiObj.click
  1464.  
  1465. waitsecond(2)
  1466. end
  1467.  
  1468. tcase << TestAction.new(:Shutter_Button) do
  1469. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  1470. .with('uitreeindex', 9)
  1471. .with('classname', 'ImageButton')
  1472. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  1473. .with('content-desc', 'Shutter')
  1474.  
  1475. $ruiObj.click
  1476.  
  1477. waitsecond(2)
  1478. end
  1479.  
  1480. tcase << TestAction.new(:checkAndDelete) do
  1481. checkAndDelete
  1482.  
  1483. waitsecond(2)
  1484. end
  1485.  
  1486. tcase << TestAction.new(:LogStop) do
  1487. $myTestResult = !checkLastExistResult
  1488.  
  1489. logStopTest("2_1_1_19_Picture_Auto")
  1490.  
  1491. waitsecond(2)
  1492. end
  1493.  
  1494. tcase.run(loopTime)
  1495.  
  1496. end
  1497.  
  1498. def self.PictureAuto_2_1_1_2(loopTime)
  1499.  
  1500. tcase = TestCase.new("PictureAuto_2_1_1_2")
  1501.  
  1502. tcase << TestAction.new(:LogStart) do
  1503. logStartTest("2_1_1_2_Picture_Auto")
  1504.  
  1505. waitsecond(2)
  1506. end
  1507.  
  1508. tcase << TestAction.new(:Volume_Key_Button) do
  1509. pressVolumeKeyDown
  1510.  
  1511. waitsecond(2)
  1512. end
  1513.  
  1514. tcase << TestAction.new(:checkAndDelete) do
  1515. checkAndDelete
  1516.  
  1517. waitsecond(2)
  1518. end
  1519.  
  1520. tcase << TestAction.new(:LogStop) do
  1521. $myTestResult = !checkLastExistResult
  1522.  
  1523. logStopTest("2_1_1_2_Picture_Auto")
  1524.  
  1525. waitsecond(2)
  1526. end
  1527.  
  1528. tcase.run(loopTime)
  1529.  
  1530. end
  1531.  
  1532. def self.PictureAuto_2_1_1_20(loopTime)
  1533.  
  1534. tcase = TestCase.new("PictureAuto_2_1_1_20")
  1535.  
  1536. tcase << TestAction.new(:LogStart) do
  1537. logStartTest("2_1_1_20_Picture_Auto")
  1538.  
  1539. waitsecond(2)
  1540. end
  1541.  
  1542. tcase << TestAction.new(:Open_Camera_Settings) do
  1543. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  1544. .with('uitreeindex', 3)
  1545. .with('classname', 'ImageButton')
  1546. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  1547. .with('content-desc', 'Open settings')
  1548.  
  1549. $ruiObj.click
  1550.  
  1551. waitsecond(2)
  1552. end
  1553.  
  1554. tcase << TestAction.new(:Swipe_Down) do
  1555. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  1556. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  1557.  
  1558. waitsecond(2)
  1559. end
  1560.  
  1561. tcase << TestAction.new(:AddSignature_On) do
  1562. $ruiObj = RUIObject.new.with('objectid', -683742256).with('selfid', -1808037368).with('textdescid', 1731452673).with('uniqueparentid', 0).with('classresourceid', -1698211271)
  1563. .with('uitreeindex', 34)
  1564. .with('classname', 'Switch')
  1565. .with('resource-id', 'com.lge.camera:id/setting_switch')
  1566. .with('text', 'OFF')
  1567.  
  1568. $ruiObj.select('ItemLast').click
  1569.  
  1570. waitsecond(2)
  1571. end
  1572.  
  1573. tcase << TestAction.new(:Add_Signature) do
  1574. $ruiObj = RUIObject.new.with('objectid', -367317206).with('selfid', 120621811).with('textdescid', -1407762699).with('uniqueparentid', 0)
  1575. .with('uitreeindex', 10)
  1576. .with('classname', 'Button')
  1577. .with('resource-id', 'com.android.gallery3d:id/selection_ok')
  1578. .with('text', 'ADD')
  1579.  
  1580. $ruiObj.click
  1581.  
  1582. waitsecond(4)
  1583. end
  1584.  
  1585. tcase << TestAction.new(:Shutter_Button) do
  1586. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  1587. .with('uitreeindex', 9)
  1588. .with('classname', 'ImageButton')
  1589. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  1590. .with('content-desc', 'Shutter')
  1591.  
  1592. $ruiObj.click
  1593.  
  1594. waitsecond(2)
  1595. end
  1596.  
  1597. tcase << TestAction.new(:checkAndDelete) do
  1598. checkAndDelete
  1599.  
  1600. waitsecond(2)
  1601. end
  1602.  
  1603. tcase << TestAction.new(:LogStop) do
  1604. $myTestResult = !checkLastExistResult
  1605.  
  1606. logStopTest("2_1_1_20_Picture_Auto")
  1607.  
  1608. waitsecond(2)
  1609. end
  1610.  
  1611. tcase.run(loopTime)
  1612.  
  1613. end
  1614.  
  1615. def self.PictureAuto_2_1_1_21(loopTime)
  1616.  
  1617. tcase = TestCase.new("PictureAuto_2_1_1_21")
  1618.  
  1619. tcase << TestAction.new(:LogStart) do
  1620. logStartTest("2_1_1_21_Picture_Auto")
  1621.  
  1622. waitsecond(2)
  1623. end
  1624.  
  1625. tcase << TestAction.new(:Open_Camera_Settings) do
  1626. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  1627. .with('uitreeindex', 3)
  1628. .with('classname', 'ImageButton')
  1629. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  1630. .with('content-desc', 'Open settings')
  1631.  
  1632. $ruiObj.click
  1633.  
  1634. waitsecond(2)
  1635. end
  1636.  
  1637. tcase << TestAction.new(:Swipe_Down) do
  1638. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  1639.  
  1640. waitsecond(2)
  1641. end
  1642.  
  1643. tcase << TestAction.new(:Simple_View_Enter) do
  1644. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -1638459757).with('textdescid', -1395718599).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  1645. .with('uitreeindex', 35)
  1646. .with('classname', 'TextView')
  1647. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  1648. .with('content-desc', 'Simple view')
  1649. .with('text', 'Simple view')
  1650.  
  1651. $ruiObj.click
  1652.  
  1653. waitsecond(2)
  1654. end
  1655.  
  1656. tcase << TestAction.new(:Simple_View_Picture) do
  1657. click(getDisplayWidth/2, getDisplayHeight/2)
  1658.  
  1659. waitsecond(3)
  1660. end
  1661.  
  1662. tcase << TestAction.new(:Simple_View_Exit) do
  1663. $ruiObj = RUIObject.new.with('objectid', 1601410951).with('selfid', 2479282).with('textdescid', -1209880514).with('uniqueparentid', 0)
  1664. .with('uitreeindex', 3)
  1665. .with('classname', 'ImageButton')
  1666. .with('resource-id', 'com.lge.camera:id/quick_button_clean_view_off')
  1667. .with('content-desc', 'View')
  1668.  
  1669. $ruiObj.click
  1670.  
  1671. waitsecond(2)
  1672. end
  1673.  
  1674. tcase << TestAction.new(:checkAndDelete) do
  1675. checkAndDelete
  1676.  
  1677. waitsecond(2)
  1678. end
  1679.  
  1680. tcase << TestAction.new(:LogStop) do
  1681. $myTestResult = !checkLastExistResult
  1682.  
  1683. logStopTest("2_1_1_21_Picture_Auto")
  1684.  
  1685. waitsecond(2)
  1686. end
  1687.  
  1688. tcase.run(loopTime)
  1689.  
  1690. end
  1691.  
  1692. def self.PictureAuto_2_1_1_22(loopTime)
  1693.  
  1694. tcase = TestCase.new("PictureAuto_2_1_1_22")
  1695.  
  1696. tcase << TestAction.new(:LogStart) do
  1697. logStartTest("2_1_1_22_Picture_Auto")
  1698.  
  1699. waitsecond(2)
  1700. end
  1701.  
  1702. tcase << TestAction.new(:Open_Camera_Settings) do
  1703. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  1704. .with('uitreeindex', 3)
  1705. .with('classname', 'ImageButton')
  1706. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  1707. .with('content-desc', 'Open settings')
  1708.  
  1709. $ruiObj.click
  1710.  
  1711. waitsecond(2)
  1712. end
  1713.  
  1714. tcase << TestAction.new(:Swipe_Down) do
  1715. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  1716. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  1717.  
  1718. waitsecond(2)
  1719. end
  1720.  
  1721. tcase << TestAction.new(:Simple_View_Enter) do
  1722. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -1638459757).with('textdescid', -1395718599).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  1723. .with('uitreeindex', 35)
  1724. .with('classname', 'TextView')
  1725. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  1726. .with('content-desc', 'Simple view')
  1727. .with('text', 'Simple view')
  1728.  
  1729. $ruiObj.click
  1730.  
  1731. waitsecond(2)
  1732. end
  1733.  
  1734. tcase << TestAction.new(:Simple_View_Volume_Key) do
  1735. pressVolumeKeyDown
  1736.  
  1737. waitsecond(3)
  1738. end
  1739.  
  1740. tcase << TestAction.new(:Simple_View_Exit) do
  1741. $ruiObj = RUIObject.new.with('objectid', 1601410951).with('selfid', 2479282).with('textdescid', -1209880514).with('uniqueparentid', 0)
  1742. .with('uitreeindex', 3)
  1743. .with('classname', 'ImageButton')
  1744. .with('resource-id', 'com.lge.camera:id/quick_button_clean_view_off')
  1745. .with('content-desc', 'View')
  1746.  
  1747. $ruiObj.click
  1748.  
  1749. waitsecond(2)
  1750. end
  1751.  
  1752. tcase << TestAction.new(:checkAndDelete) do
  1753. checkAndDelete
  1754.  
  1755. waitsecond(2)
  1756. end
  1757.  
  1758. tcase << TestAction.new(:LogStop) do
  1759. $myTestResult = !checkLastExistResult
  1760.  
  1761. logStopTest("2_1_1_22_Picture_Auto")
  1762.  
  1763. waitsecond(2)
  1764. end
  1765.  
  1766. tcase.run(loopTime)
  1767.  
  1768. end
  1769.  
  1770. def self.PictureAuto_2_1_1_23_1(loopTime)
  1771.  
  1772. tcase = TestCase.new("PictureAuto_2_1_1_23_1")
  1773.  
  1774. tcase << TestAction.new(:LogStart) do
  1775. logStartTest("2_1_1_23_1_Picture_Auto")
  1776.  
  1777. waitsecond(2)
  1778. end
  1779.  
  1780. tcase << TestAction.new(:Open_Camera_Settings) do
  1781. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  1782. .with('uitreeindex', 3)
  1783. .with('classname', 'ImageButton')
  1784. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  1785. .with('content-desc', 'Open settings')
  1786.  
  1787. $ruiObj.click
  1788.  
  1789. waitsecond(2)
  1790. end
  1791.  
  1792. tcase << TestAction.new(:Swipe_Down) do
  1793. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  1794. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  1795.  
  1796. waitsecond(2)
  1797. end
  1798.  
  1799. tcase << TestAction.new(:Simple_View_Enter) do
  1800. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -1638459757).with('textdescid', -1395718599).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  1801. .with('uitreeindex', 35)
  1802. .with('classname', 'TextView')
  1803. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  1804. .with('content-desc', 'Simple view')
  1805. .with('text', 'Simple view')
  1806.  
  1807. $ruiObj.click
  1808.  
  1809. waitsecond(2)
  1810. end
  1811.  
  1812. tcase << TestAction.new(:Zoom_In) do
  1813. zoomIn
  1814. zoomIn
  1815. zoomIn
  1816. zoomIn
  1817. zoomIn
  1818. zoomIn
  1819. zoomIn
  1820. zoomIn
  1821. zoomIn
  1822. zoomIn
  1823.  
  1824. waitsecond(2)
  1825. end
  1826.  
  1827. tcase << TestAction.new(:Simple_View_Picture) do
  1828. click(getDisplayWidth/2, getDisplayHeight/2)
  1829.  
  1830. waitsecond(3)
  1831. end
  1832.  
  1833. tcase << TestAction.new(:Simple_View_Exit) do
  1834. $ruiObj = RUIObject.new.with('objectid', 1601410951).with('selfid', 2479282).with('textdescid', -1209880514).with('uniqueparentid', 0)
  1835. .with('uitreeindex', 3)
  1836. .with('classname', 'ImageButton')
  1837. .with('resource-id', 'com.lge.camera:id/quick_button_clean_view_off')
  1838. .with('content-desc', 'View')
  1839.  
  1840. $ruiObj.click
  1841.  
  1842. waitsecond(2)
  1843. end
  1844.  
  1845. tcase << TestAction.new(:checkAndDelete) do
  1846. checkAndDelete
  1847.  
  1848. waitsecond(2)
  1849. end
  1850.  
  1851. tcase << TestAction.new(:LogStop) do
  1852. $myTestResult = !checkLastExistResult
  1853.  
  1854. logStopTest("2_1_1_23_1_Picture_Auto")
  1855.  
  1856. waitsecond(2)
  1857. end
  1858.  
  1859. tcase.run(loopTime)
  1860.  
  1861. end
  1862.  
  1863. def self.PictureAuto_2_1_1_23_2(loopTime)
  1864.  
  1865. tcase = TestCase.new("PictureAuto_2_1_1_23_2")
  1866.  
  1867. tcase << TestAction.new(:LogStart) do
  1868. logStartTest("2_1_1_23_2_Picture_Auto")
  1869.  
  1870. waitsecond(2)
  1871. end
  1872.  
  1873. tcase << TestAction.new(:Open_Camera_Settings) do
  1874. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  1875. .with('uitreeindex', 3)
  1876. .with('classname', 'ImageButton')
  1877. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  1878. .with('content-desc', 'Open settings')
  1879.  
  1880. $ruiObj.click
  1881.  
  1882. waitsecond(2)
  1883. end
  1884.  
  1885. tcase << TestAction.new(:Swipe_Down) do
  1886. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  1887. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  1888.  
  1889. waitsecond(2)
  1890. end
  1891.  
  1892. tcase << TestAction.new(:Simple_View_Enter) do
  1893. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -1638459757).with('textdescid', -1395718599).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  1894. .with('uitreeindex', 35)
  1895. .with('classname', 'TextView')
  1896. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  1897. .with('content-desc', 'Simple view')
  1898. .with('text', 'Simple view')
  1899.  
  1900. $ruiObj.click
  1901.  
  1902. waitsecond(2)
  1903. end
  1904.  
  1905. tcase << TestAction.new(:Zoom_Out) do
  1906. zoomOut
  1907. zoomOut
  1908. zoomOut
  1909. zoomOut
  1910. zoomOut
  1911. zoomOut
  1912. zoomOut
  1913. zoomOut
  1914. zoomOut
  1915. zoomOut
  1916.  
  1917. waitsecond(2)
  1918. end
  1919.  
  1920. tcase << TestAction.new(:Simple_View_Picture) do
  1921. click(getDisplayWidth/2, getDisplayHeight/2)
  1922.  
  1923. waitsecond(3)
  1924. end
  1925.  
  1926. tcase << TestAction.new(:Simple_View_Exit) do
  1927. $ruiObj = RUIObject.new.with('objectid', 1601410951).with('selfid', 2479282).with('textdescid', -1209880514).with('uniqueparentid', 0)
  1928. .with('uitreeindex', 3)
  1929. .with('classname', 'ImageButton')
  1930. .with('resource-id', 'com.lge.camera:id/quick_button_clean_view_off')
  1931. .with('content-desc', 'View')
  1932.  
  1933. $ruiObj.click
  1934.  
  1935. waitsecond(2)
  1936. end
  1937.  
  1938. tcase << TestAction.new(:checkAndDelete) do
  1939. checkAndDelete
  1940.  
  1941. waitsecond(2)
  1942. end
  1943.  
  1944. tcase << TestAction.new(:LogStop) do
  1945. $myTestResult = !checkLastExistResult
  1946.  
  1947. logStopTest("2_1_1_23_2_Picture_Auto")
  1948.  
  1949. waitsecond(2)
  1950. end
  1951.  
  1952. tcase.run(loopTime)
  1953.  
  1954. end
  1955.  
  1956. def self.PictureAuto_2_1_1_24(loopTime)
  1957.  
  1958. tcase = TestCase.new("PictureAuto_2_1_1_24")
  1959.  
  1960. tcase << TestAction.new(:LogStart) do
  1961. logStartTest("2_1_1_24_Picture_Auto")
  1962.  
  1963. waitsecond(2)
  1964. end
  1965.  
  1966. tcase << TestAction.new(:Shutter_Button) do
  1967. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  1968. .with('uitreeindex', 11)
  1969. .with('classname', 'ImageButton')
  1970. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  1971.  
  1972. $ruiObj.click
  1973.  
  1974. waitsecond(2)
  1975. end
  1976.  
  1977. tcase << TestAction.new(:checkAndDelete) do
  1978. checkAndDelete
  1979.  
  1980. waitsecond(2)
  1981. end
  1982.  
  1983. tcase << TestAction.new(:LogStop) do
  1984. $myTestResult = !checkLastExistResult
  1985.  
  1986. logStopTest("2_1_1_24_Picture_Auto")
  1987.  
  1988. waitsecond(2)
  1989. end
  1990.  
  1991. tcase.run(loopTime)
  1992.  
  1993. end
  1994.  
  1995. def self.PictureAuto_2_1_1_25(loopTime)
  1996.  
  1997. tcase = TestCase.new("PictureAuto_2_1_1_25")
  1998.  
  1999. tcase << TestAction.new(:LogStart) do
  2000. logStartTest("2_1_1_25_Picture_Auto")
  2001.  
  2002. waitsecond(2)
  2003. end
  2004.  
  2005. tcase << TestAction.new(:Volume_Key_Button) do
  2006. pressVolumeKeyDown
  2007.  
  2008. waitsecond(2)
  2009. end
  2010.  
  2011. tcase << TestAction.new(:checkAndDelete) do
  2012. checkAndDelete
  2013.  
  2014. waitsecond(2)
  2015. end
  2016.  
  2017. tcase << TestAction.new(:LogStop) do
  2018. $myTestResult = !checkLastExistResult
  2019.  
  2020. logStopTest("2_1_1_25_Picture_Auto")
  2021.  
  2022. waitsecond(2)
  2023. end
  2024.  
  2025. tcase.run(loopTime)
  2026.  
  2027. end
  2028.  
  2029. def self.PictureAuto_2_1_1_26_1(loopTime)
  2030.  
  2031. tcase = TestCase.new("PictureAuto_2_1_1_26_1")
  2032.  
  2033. tcase << TestAction.new(:LogStart) do
  2034. logStartTest("2_1_1_26_1_Picture_Auto")
  2035.  
  2036. waitsecond(2)
  2037. end
  2038.  
  2039. tcase << TestAction.new(:Zoom_In) do
  2040. zoomIn
  2041. zoomIn
  2042. zoomIn
  2043. zoomIn
  2044. zoomIn
  2045. zoomIn
  2046. zoomIn
  2047. zoomIn
  2048. zoomIn
  2049. zoomIn
  2050.  
  2051. waitsecond(2)
  2052. end
  2053.  
  2054. tcase << TestAction.new(:Shutter_Button) do
  2055. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  2056. .with('uitreeindex', 12)
  2057. .with('classname', 'ImageButton')
  2058. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  2059.  
  2060. $ruiObj.click
  2061.  
  2062. waitsecond(2)
  2063. end
  2064.  
  2065. tcase << TestAction.new(:checkAndDelete) do
  2066. checkAndDelete
  2067.  
  2068. waitsecond(2)
  2069. end
  2070.  
  2071. tcase << TestAction.new(:LogStop) do
  2072. $myTestResult = !checkLastExistResult
  2073.  
  2074. logStopTest("2_1_1_26_1_Picture_Auto")
  2075.  
  2076. waitsecond(2)
  2077. end
  2078.  
  2079. tcase.run(loopTime)
  2080.  
  2081. end
  2082.  
  2083. def self.PictureAuto_2_1_1_26_2(loopTime)
  2084.  
  2085. tcase = TestCase.new("PictureAuto_2_1_1_26_2")
  2086.  
  2087. tcase << TestAction.new(:LogStart) do
  2088. logStartTest("2_1_1_26_2_Picture_Auto")
  2089.  
  2090. waitsecond(2)
  2091. end
  2092.  
  2093. tcase << TestAction.new(:Zoom_Out) do
  2094. zoomOut
  2095. zoomOut
  2096. zoomOut
  2097. zoomOut
  2098. zoomOut
  2099. zoomOut
  2100. zoomOut
  2101. zoomOut
  2102. zoomOut
  2103. zoomOut
  2104.  
  2105. waitsecond(2)
  2106. end
  2107.  
  2108. tcase << TestAction.new(:Shutter_Button) do
  2109. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  2110. .with('uitreeindex', 11)
  2111. .with('classname', 'ImageButton')
  2112. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  2113.  
  2114. $ruiObj.click
  2115.  
  2116. waitsecond(2)
  2117. end
  2118.  
  2119. tcase << TestAction.new(:checkAndDelete) do
  2120. checkAndDelete
  2121.  
  2122. waitsecond(2)
  2123. end
  2124.  
  2125. tcase << TestAction.new(:LogStop) do
  2126. $myTestResult = !checkLastExistResult
  2127.  
  2128. logStopTest("2_1_1_26_2_Picture_Auto")
  2129.  
  2130. waitsecond(2)
  2131. end
  2132.  
  2133. tcase.run(loopTime)
  2134.  
  2135. end
  2136.  
  2137. def self.PictureAuto_2_1_1_27(loopTime)
  2138.  
  2139. tcase = TestCase.new("PictureAuto_2_1_1_27")
  2140.  
  2141. tcase << TestAction.new(:LogStart) do
  2142. logStartTest("2_1_1_27_Picture_Auto")
  2143.  
  2144. waitsecond(2)
  2145. end
  2146.  
  2147. tcase << TestAction.new(:Flash_On) do
  2148. $ruiObj = RUIObject.new.with('objectid', -1160005900).with('selfid', 183863686).with('textdescid', -1655596812).with('uniqueparentid', 0)
  2149. .with('uitreeindex', 7)
  2150. .with('classname', 'ImageButton')
  2151. .with('resource-id', 'com.lge.camera:id/quick_button_flash')
  2152. .with('content-desc', 'Switch to flash on')
  2153.  
  2154. $ruiObj.click
  2155.  
  2156. waitsecond(2)
  2157. end
  2158.  
  2159. tcase << TestAction.new(:Shutter_Button) do
  2160. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  2161. .with('uitreeindex', 11)
  2162. .with('classname', 'ImageButton')
  2163. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  2164.  
  2165. $ruiObj.click
  2166.  
  2167. waitsecond(7)
  2168. end
  2169.  
  2170. tcase << TestAction.new(:checkAndDelete) do
  2171. checkAndDelete
  2172.  
  2173. waitsecond(2)
  2174. end
  2175.  
  2176. tcase << TestAction.new(:LogStop) do
  2177. $myTestResult = !checkLastExistResult
  2178.  
  2179. logStopTest("2_1_1_27_Picture_Auto")
  2180.  
  2181. waitsecond(2)
  2182. end
  2183.  
  2184. tcase.run(loopTime)
  2185.  
  2186. end
  2187.  
  2188. def self.PictureAuto_2_1_1_28(loopTime)
  2189.  
  2190. tcase = TestCase.new("PictureAuto_2_1_1_28")
  2191.  
  2192. tcase << TestAction.new(:LogStart) do
  2193. logStartTest("2_1_1_28_Picture_Auto")
  2194.  
  2195. waitsecond(2)
  2196. end
  2197.  
  2198. tcase << TestAction.new(:Flash_Auto) do
  2199. $ruiObj = RUIObject.new.with('objectid', -1160005900).with('selfid', 183863686).with('textdescid', -1655596812).with('uniqueparentid', 0)
  2200. .with('uitreeindex', 6)
  2201. .with('classname', 'ImageButton')
  2202. .with('resource-id', 'com.lge.camera:id/quick_button_flash')
  2203. .with('content-desc', 'Switch to flash on')
  2204.  
  2205. $ruiObj.click
  2206.  
  2207. waitsecond(2)
  2208. end
  2209.  
  2210. tcase << TestAction.new(:Shutter_Button) do
  2211. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  2212. .with('uitreeindex', 13)
  2213. .with('classname', 'ImageButton')
  2214. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  2215.  
  2216. $ruiObj.click
  2217.  
  2218. waitsecond(7)
  2219. end
  2220.  
  2221. tcase << TestAction.new(:checkAndDelete) do
  2222. checkAndDelete
  2223.  
  2224. waitsecond(2)
  2225. end
  2226.  
  2227. tcase << TestAction.new(:LogStop) do
  2228. $myTestResult = !checkLastExistResult
  2229.  
  2230. logStopTest("2_1_1_28_Picture_Auto")
  2231.  
  2232. waitsecond(2)
  2233. end
  2234.  
  2235. tcase.run(loopTime)
  2236.  
  2237. end
  2238.  
  2239. def self.PictureAuto_2_1_1_29(loopTime)
  2240.  
  2241. tcase = TestCase.new("PictureAuto_2_1_1_29")
  2242.  
  2243. tcase << TestAction.new(:LogStart) do
  2244. logStartTest("2_1_1_29_Picture_Auto")
  2245.  
  2246. waitsecond(2)
  2247. end
  2248.  
  2249. tcase << TestAction.new(:Flash_Off) do
  2250. $ruiObj = RUIObject.new.with('objectid', -1160005900).with('selfid', 183863686).with('textdescid', -1655596812).with('uniqueparentid', 0)
  2251. .with('uitreeindex', 7)
  2252. .with('classname', 'ImageButton')
  2253. .with('resource-id', 'com.lge.camera:id/quick_button_flash')
  2254. .with('content-desc', 'Switch to flash on')
  2255.  
  2256. $ruiObj.click
  2257.  
  2258. waitsecond(2)
  2259. end
  2260.  
  2261. tcase << TestAction.new(:Shutter_Button) do
  2262. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  2263. .with('uitreeindex', 12)
  2264. .with('classname', 'ImageButton')
  2265. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  2266.  
  2267. $ruiObj.click
  2268.  
  2269. waitsecond(2)
  2270. end
  2271.  
  2272. tcase << TestAction.new(:checkAndDelete) do
  2273. checkAndDelete
  2274.  
  2275. waitsecond(2)
  2276. end
  2277.  
  2278. tcase << TestAction.new(:LogStop) do
  2279. $myTestResult = !checkLastExistResult
  2280.  
  2281. logStopTest("2_1_1_29_Picture_Auto")
  2282.  
  2283. waitsecond(2)
  2284. end
  2285.  
  2286. tcase.run(loopTime)
  2287.  
  2288. end
  2289.  
  2290. def self.PictureAuto_2_1_1_30(loopTime)
  2291.  
  2292. tcase = TestCase.new("PictureAuto_2_1_1_30")
  2293.  
  2294. tcase << TestAction.new(:LogStart) do
  2295. logStartTest("2_1_1_30_Picture_Auto")
  2296.  
  2297. waitsecond(2)
  2298. end
  2299.  
  2300. tcase << TestAction.new(:Change_Film) do
  2301. rng = Random.new()
  2302.  
  2303. waitsecond(2)
  2304.  
  2305. RUIObject.new.with('objectid', 1447192180).with('selfid', -170779466).with('textdescid', -373050940).with('uniqueparentid', 0)
  2306. .with('uitreeindex', 31)
  2307. .with('classname', 'ImageButton')
  2308. .with('resource-id', 'com.lge.camera:id/quick_button_film_emulator')
  2309. .with('content-desc', 'Filter').click
  2310.  
  2311. waitsecond(2)
  2312.  
  2313. index = rng.rand(db('FilmChange').length-1)
  2314.  
  2315. RUIObject.new.with('objectid', -1312790971).with('selfid', 479986141).with('textdescid', 1166933783).with('uniqueparentid', 0)
  2316. .with('uitreeindex', 30)
  2317. .with('classname', 'android.view.View')
  2318. .with('content-desc', db('FilmChange')[index]).click
  2319.  
  2320. waitsecond(2)
  2321. end
  2322.  
  2323. tcase << TestAction.new(:Shutter_Button) do
  2324. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  2325. .with('uitreeindex', 11)
  2326. .with('classname', 'ImageButton')
  2327. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  2328.  
  2329. $ruiObj.click
  2330.  
  2331. waitsecond(2)
  2332. end
  2333.  
  2334. tcase << TestAction.new(:Open_Film) do
  2335. $ruiObj = RUIObject.new.with('objectid', 1447192180).with('selfid', -170779466).with('textdescid', -373050940).with('uniqueparentid', 0)
  2336. .with('uitreeindex', 4)
  2337. .with('classname', 'ImageButton')
  2338. .with('resource-id', 'com.lge.camera:id/quick_button_film_emulator')
  2339. .with('content-desc', 'Filter')
  2340.  
  2341. $ruiObj.click
  2342.  
  2343. waitsecond(2)
  2344. end
  2345.  
  2346. tcase << TestAction.new(:Change_Film_None) do
  2347. $ruiObj = RUIObject.new.with('objectid', -1945005961).with('selfid', 748781049).with('textdescid', 166290721).with('uniqueparentid', 0)
  2348. .with('uitreeindex', 22)
  2349. .with('classname', 'android.view.View')
  2350. .with('content-desc', 'None')
  2351.  
  2352. $ruiObj.click
  2353.  
  2354. waitsecond(2)
  2355. end
  2356.  
  2357. tcase << TestAction.new(:checkAndDelete) do
  2358. checkAndDelete
  2359.  
  2360. waitsecond(2)
  2361. end
  2362.  
  2363. tcase << TestAction.new(:LogStop) do
  2364. $myTestResult = !checkLastExistResult
  2365.  
  2366. logStopTest("2_1_1_30_Picture_Auto")
  2367.  
  2368. waitsecond(2)
  2369. end
  2370.  
  2371. tcase.run(loopTime)
  2372.  
  2373. end
  2374.  
  2375. def self.PictureAuto_2_1_1_31_1(loopTime)
  2376.  
  2377. tcase = TestCase.new("PictureAuto_2_1_1_31_1")
  2378.  
  2379. tcase << TestAction.new(:LogStart) do
  2380. logStartTest("2_1_1_31_1_Picture_Auto")
  2381.  
  2382. waitsecond(2)
  2383. end
  2384.  
  2385. tcase << TestAction.new(:Open_Camera_Settings) do
  2386. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  2387. .with('uitreeindex', 2)
  2388. .with('classname', 'ImageButton')
  2389. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  2390. .with('content-desc', 'Open settings')
  2391.  
  2392. $ruiObj.click
  2393.  
  2394. waitsecond(2)
  2395. end
  2396.  
  2397. tcase << TestAction.new(:Camera_Roll_On) do
  2398. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', 257319662).with('textdescid', -1276262562).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  2399. .with('uitreeindex', 25)
  2400. .with('classname', 'TextView')
  2401. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  2402. .with('content-desc', 'Show your recent photos and videos on the camera preview Off switch')
  2403. .with('text', 'Show your recent photos and videos on the camera preview')
  2404.  
  2405. $ruiObj.click
  2406.  
  2407. waitsecond(2)
  2408. end
  2409.  
  2410. tcase << TestAction.new(:Shutter_Button) do
  2411. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  2412. .with('uitreeindex', 9)
  2413. .with('classname', 'ImageButton')
  2414. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  2415. .with('content-desc', 'Shutter')
  2416.  
  2417. $ruiObj.click
  2418.  
  2419. waitsecond(2)
  2420. end
  2421.  
  2422. tcase << TestAction.new(:checkAndDelete) do
  2423. checkAndDelete
  2424.  
  2425. waitsecond(2)
  2426. end
  2427.  
  2428. tcase << TestAction.new(:LogStop) do
  2429. $myTestResult = !checkLastExistResult
  2430.  
  2431. logStopTest("2_1_1_31_1_Picture_Auto")
  2432.  
  2433. waitsecond(2)
  2434. end
  2435.  
  2436. tcase.run(loopTime)
  2437.  
  2438. end
  2439.  
  2440. def self.PictureAuto_2_1_1_31_2(loopTime)
  2441.  
  2442. tcase = TestCase.new("PictureAuto_2_1_1_31_2")
  2443.  
  2444. tcase << TestAction.new(:LogStart) do
  2445. logStartTest("2_1_1_31_2_Picture_Auto")
  2446.  
  2447. waitsecond(2)
  2448. end
  2449.  
  2450. tcase << TestAction.new(:Open_Camera_Settings) do
  2451. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  2452. .with('uitreeindex', 24)
  2453. .with('classname', 'ImageButton')
  2454. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  2455. .with('content-desc', 'Open settings')
  2456.  
  2457. $ruiObj.click
  2458.  
  2459. waitsecond(2)
  2460. end
  2461.  
  2462. tcase << TestAction.new(:Camera_Roll_Off) do
  2463. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -1218314212).with('textdescid', -150235496).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  2464. .with('uitreeindex', 45)
  2465. .with('classname', 'TextView')
  2466. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  2467. .with('content-desc', 'Show your recent photos and videos on the camera preview On switch')
  2468. .with('text', 'Show your recent photos and videos on the camera preview')
  2469.  
  2470. $ruiObj.click
  2471.  
  2472. waitsecond(2)
  2473. end
  2474.  
  2475. tcase << TestAction.new(:Shutter_Button) do
  2476. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  2477. .with('uitreeindex', 30)
  2478. .with('classname', 'ImageButton')
  2479. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  2480. .with('content-desc', 'Shutter')
  2481.  
  2482. $ruiObj.click
  2483.  
  2484. waitsecond(2)
  2485. end
  2486.  
  2487. tcase << TestAction.new(:checkAndDelete) do
  2488. checkAndDelete
  2489.  
  2490. waitsecond(2)
  2491. end
  2492.  
  2493. tcase << TestAction.new(:LogStop) do
  2494. $myTestResult = !checkLastExistResult
  2495.  
  2496. logStopTest("2_1_1_31_2_Picture_Auto")
  2497.  
  2498. waitsecond(2)
  2499. end
  2500.  
  2501. tcase.run(loopTime)
  2502.  
  2503. end
  2504.  
  2505. def self.PictureAuto_2_1_1_32(loopTime)
  2506.  
  2507. tcase = TestCase.new("PictureAuto_2_1_1_32")
  2508.  
  2509. tcase << TestAction.new(:LogStart) do
  2510. logStartTest("2_1_1_32_Picture_Auto")
  2511.  
  2512. waitsecond(2)
  2513. end
  2514.  
  2515. tcase << TestAction.new(:Open_Camera_Settings) do
  2516. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  2517. .with('uitreeindex', 2)
  2518. .with('classname', 'ImageButton')
  2519. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  2520. .with('content-desc', 'Open settings')
  2521.  
  2522. $ruiObj.click
  2523.  
  2524. waitsecond(2)
  2525. end
  2526.  
  2527. tcase << TestAction.new(:HDR_Menu) do
  2528. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -801213611).with('textdescid', 73758911).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  2529. .with('uitreeindex', 27)
  2530. .with('classname', 'TextView')
  2531. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  2532. .with('text', 'High Dynamic Range HDR combines multiple photos taken at different exposures to create the best photo')
  2533.  
  2534. $ruiObj.click
  2535.  
  2536. waitsecond(2)
  2537. end
  2538.  
  2539. tcase << TestAction.new(:HDR_Auto) do
  2540. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 696310092).with('textdescid', -1563309164).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  2541. .with('uitreeindex', 16)
  2542. .with('classname', 'CheckedTextView')
  2543. .with('resource-id', 'android:id/text1')
  2544. .with('content-desc', 'Auto')
  2545. .with('text', 'Auto')
  2546.  
  2547. $ruiObj.click
  2548.  
  2549. waitsecond(2)
  2550. end
  2551.  
  2552. tcase << TestAction.new(:Shutter_Button) do
  2553. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  2554. .with('uitreeindex', 9)
  2555. .with('classname', 'ImageButton')
  2556. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  2557. .with('content-desc', 'Shutter')
  2558.  
  2559. $ruiObj.click
  2560.  
  2561. waitsecond(2)
  2562. end
  2563.  
  2564. tcase << TestAction.new(:checkAndDelete) do
  2565. checkAndDelete
  2566.  
  2567. waitsecond(2)
  2568. end
  2569.  
  2570. tcase << TestAction.new(:LogStop) do
  2571. $myTestResult = !checkLastExistResult
  2572.  
  2573. logStopTest("2_1_1_32_Picture_Auto")
  2574.  
  2575. waitsecond(2)
  2576. end
  2577.  
  2578. tcase.run(loopTime)
  2579.  
  2580. end
  2581.  
  2582. def self.PictureAuto_2_1_1_33(loopTime)
  2583.  
  2584. tcase = TestCase.new("PictureAuto_2_1_1_33")
  2585.  
  2586. tcase << TestAction.new(:LogStart) do
  2587. logStartTest("2_1_1_33_Picture_Auto")
  2588.  
  2589. waitsecond(2)
  2590. end
  2591.  
  2592. tcase << TestAction.new(:Open_Camera_Settings) do
  2593. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  2594. .with('uitreeindex', 2)
  2595. .with('classname', 'ImageButton')
  2596. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  2597. .with('content-desc', 'Open settings')
  2598.  
  2599. $ruiObj.click
  2600.  
  2601. waitsecond(2)
  2602. end
  2603.  
  2604. tcase << TestAction.new(:HDR_Menu) do
  2605. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -801213611).with('textdescid', 73758911).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  2606. .with('uitreeindex', 27)
  2607. .with('classname', 'TextView')
  2608. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  2609. .with('text', 'High Dynamic Range HDR combines multiple photos taken at different exposures to create the best photo')
  2610.  
  2611. $ruiObj.click
  2612.  
  2613. waitsecond(2)
  2614. end
  2615.  
  2616. tcase << TestAction.new(:HDR_On) do
  2617. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1200665996).with('textdescid', -406281388).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  2618. .with('uitreeindex', 17)
  2619. .with('classname', 'CheckedTextView')
  2620. .with('resource-id', 'android:id/text1')
  2621. .with('content-desc', 'On')
  2622. .with('text', 'On')
  2623.  
  2624. $ruiObj.click
  2625.  
  2626. waitsecond(2)
  2627. end
  2628.  
  2629. tcase << TestAction.new(:Shutter_Button) do
  2630. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  2631. .with('uitreeindex', 9)
  2632. .with('classname', 'ImageButton')
  2633. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  2634. .with('content-desc', 'Shutter')
  2635.  
  2636. $ruiObj.click
  2637.  
  2638. waitsecond(2)
  2639. end
  2640.  
  2641. tcase << TestAction.new(:checkAndDelete) do
  2642. checkAndDelete
  2643.  
  2644. waitsecond(2)
  2645. end
  2646.  
  2647. tcase << TestAction.new(:LogStop) do
  2648. $myTestResult = !checkLastExistResult
  2649.  
  2650. logStopTest("2_1_1_33_Picture_Auto")
  2651.  
  2652. waitsecond(2)
  2653. end
  2654.  
  2655. tcase.run(loopTime)
  2656.  
  2657. end
  2658.  
  2659. def self.PictureAuto_2_1_1_34(loopTime)
  2660.  
  2661. tcase = TestCase.new("PictureAuto_2_1_1_34")
  2662.  
  2663. tcase << TestAction.new(:LogStart) do
  2664. logStartTest("2_1_1_34_Picture_Auto")
  2665.  
  2666. waitsecond(2)
  2667. end
  2668.  
  2669. tcase << TestAction.new(:Open_Camera_Settings) do
  2670. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  2671. .with('uitreeindex', 2)
  2672. .with('classname', 'ImageButton')
  2673. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  2674. .with('content-desc', 'Open settings')
  2675.  
  2676. $ruiObj.click
  2677.  
  2678. waitsecond(2)
  2679. end
  2680.  
  2681. tcase << TestAction.new(:HDR_Menu) do
  2682. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -801213611).with('textdescid', 73758911).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  2683. .with('uitreeindex', 27)
  2684. .with('classname', 'TextView')
  2685. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  2686. .with('text', 'High Dynamic Range HDR combines multiple photos taken at different exposures to create the best photo')
  2687.  
  2688. $ruiObj.click
  2689.  
  2690. waitsecond(2)
  2691. end
  2692.  
  2693. tcase << TestAction.new(:HDR_Off) do
  2694. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -1313055798).with('textdescid', -439670058).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  2695. .with('uitreeindex', 18)
  2696. .with('classname', 'CheckedTextView')
  2697. .with('resource-id', 'android:id/text1')
  2698. .with('content-desc', 'Off')
  2699. .with('text', 'Off')
  2700.  
  2701. $ruiObj.click
  2702.  
  2703. waitsecond(2)
  2704. end
  2705.  
  2706. tcase << TestAction.new(:Shutter_Button) do
  2707. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  2708. .with('uitreeindex', 9)
  2709. .with('classname', 'ImageButton')
  2710. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  2711. .with('content-desc', 'Shutter')
  2712.  
  2713. $ruiObj.click
  2714.  
  2715. waitsecond(2)
  2716. end
  2717.  
  2718. tcase << TestAction.new(:checkAndDelete) do
  2719. checkAndDelete
  2720.  
  2721. waitsecond(2)
  2722. end
  2723.  
  2724. tcase << TestAction.new(:LogStop) do
  2725. $myTestResult = !checkLastExistResult
  2726.  
  2727. logStopTest("2_1_1_34_Picture_Auto")
  2728.  
  2729. waitsecond(2)
  2730. end
  2731.  
  2732. tcase.run(loopTime)
  2733.  
  2734. end
  2735.  
  2736. def self.PictureAuto_2_1_1_35(loopTime)
  2737.  
  2738. tcase = TestCase.new("PictureAuto_2_1_1_35")
  2739.  
  2740. tcase << TestAction.new(:LogStart) do
  2741. logStartTest("2_1_1_35_Picture_Auto")
  2742.  
  2743. waitsecond(2)
  2744. end
  2745.  
  2746. tcase << TestAction.new(:Open_Camera_Settings) do
  2747. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  2748. .with('uitreeindex', 2)
  2749. .with('classname', 'ImageButton')
  2750. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  2751. .with('content-desc', 'Open settings')
  2752.  
  2753. $ruiObj.click
  2754.  
  2755. waitsecond(2)
  2756. end
  2757.  
  2758. tcase << TestAction.new(:Time_Menu) do
  2759. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 1184885601).with('classresourceid', -1956269507)
  2760. .with('uitreeindex', 30)
  2761. .with('classname', 'TextView')
  2762. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  2763. .with('content-desc', 'Timer')
  2764. .with('text', 'Timer')
  2765.  
  2766. $ruiObj.click
  2767.  
  2768. waitsecond(2)
  2769. end
  2770.  
  2771. tcase << TestAction.new(:Timer_Off) do
  2772. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -1313055798).with('textdescid', -439670058).with('uniqueparentid', 1184885601).with('classresourceid', 2074814108)
  2773. .with('uitreeindex', 16)
  2774. .with('classname', 'CheckedTextView')
  2775. .with('resource-id', 'android:id/text1')
  2776. .with('content-desc', 'Off')
  2777. .with('text', 'Off')
  2778.  
  2779. $ruiObj.click
  2780.  
  2781. waitsecond(2)
  2782. end
  2783.  
  2784. tcase << TestAction.new(:Shutter_Button) do
  2785. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  2786. .with('uitreeindex', 9)
  2787. .with('classname', 'ImageButton')
  2788. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  2789. .with('content-desc', 'Shutter')
  2790.  
  2791. $ruiObj.click
  2792.  
  2793. waitsecond(2)
  2794. end
  2795.  
  2796. tcase << TestAction.new(:checkAndDelete) do
  2797. checkAndDelete
  2798.  
  2799. waitsecond(2)
  2800. end
  2801.  
  2802. tcase << TestAction.new(:LogStop) do
  2803. $myTestResult = !checkLastExistResult
  2804.  
  2805. logStopTest("2_1_1_35_Picture_Auto")
  2806.  
  2807. waitsecond(2)
  2808. end
  2809.  
  2810. tcase.run(loopTime)
  2811.  
  2812. end
  2813.  
  2814. def self.PictureAuto_2_1_1_36(loopTime)
  2815.  
  2816. tcase = TestCase.new("PictureAuto_2_1_1_36")
  2817.  
  2818. tcase << TestAction.new(:LogStart) do
  2819. logStartTest("2_1_1_36_Picture_Auto")
  2820.  
  2821. waitsecond(2)
  2822. end
  2823.  
  2824. tcase << TestAction.new(:Open_Camera_Settings) do
  2825. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  2826. .with('uitreeindex', 2)
  2827. .with('classname', 'ImageButton')
  2828. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  2829. .with('content-desc', 'Open settings')
  2830.  
  2831. $ruiObj.click
  2832.  
  2833. waitsecond(2)
  2834. end
  2835.  
  2836. tcase << TestAction.new(:Timer_Menu) do
  2837. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  2838. .with('uitreeindex', 30)
  2839. .with('classname', 'TextView')
  2840. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  2841. .with('content-desc', 'Timer')
  2842. .with('text', 'Timer')
  2843.  
  2844. $ruiObj.click
  2845.  
  2846. waitsecond(2)
  2847. end
  2848.  
  2849. tcase << TestAction.new(:Timer_3sec) do
  2850. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1159119924).with('textdescid', -2081065364).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  2851. .with('uitreeindex', 17)
  2852. .with('classname', 'CheckedTextView')
  2853. .with('resource-id', 'android:id/text1')
  2854. .with('content-desc', '3 sec')
  2855. .with('text', '3 sec')
  2856.  
  2857. $ruiObj.click
  2858.  
  2859. waitsecond(2)
  2860. end
  2861.  
  2862. tcase << TestAction.new(:Shutter_Button) do
  2863. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  2864. .with('uitreeindex', 9)
  2865. .with('classname', 'ImageButton')
  2866. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  2867. .with('content-desc', 'Shutter')
  2868.  
  2869. $ruiObj.click
  2870.  
  2871. waitsecond(5)
  2872. end
  2873.  
  2874. tcase << TestAction.new(:checkAndDelete) do
  2875. checkAndDelete
  2876.  
  2877. waitsecond(2)
  2878. end
  2879.  
  2880. tcase << TestAction.new(:LogStop) do
  2881. $myTestResult = !checkLastExistResult
  2882.  
  2883. logStopTest("2_1_1_36_Picture_Auto")
  2884.  
  2885. waitsecond(2)
  2886. end
  2887.  
  2888. tcase.run(loopTime)
  2889.  
  2890. end
  2891.  
  2892. def self.PictureAuto_2_1_1_37(loopTime)
  2893.  
  2894. tcase = TestCase.new("PictureAuto_2_1_1_37")
  2895.  
  2896. tcase << TestAction.new(:LogStart) do
  2897. logStartTest("2_1_1_37_Picture_Auto")
  2898.  
  2899. waitsecond(2)
  2900. end
  2901.  
  2902. tcase << TestAction.new(:Open_Camera_Settings) do
  2903. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  2904. .with('uitreeindex', 2)
  2905. .with('classname', 'ImageButton')
  2906. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  2907. .with('content-desc', 'Open settings')
  2908.  
  2909. $ruiObj.click
  2910.  
  2911. waitsecond(2)
  2912. end
  2913.  
  2914. tcase << TestAction.new(:Timer_Menu) do
  2915. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  2916. .with('uitreeindex', 30)
  2917. .with('classname', 'TextView')
  2918. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  2919. .with('content-desc', 'Timer')
  2920. .with('text', 'Timer')
  2921.  
  2922. $ruiObj.click
  2923.  
  2924. waitsecond(2)
  2925. end
  2926.  
  2927. tcase << TestAction.new(:Timer_10sec) do
  2928. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1902492716).with('textdescid', 885416180).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  2929. .with('uitreeindex', 18)
  2930. .with('classname', 'CheckedTextView')
  2931. .with('resource-id', 'android:id/text1')
  2932. .with('content-desc', '10 sec')
  2933. .with('text', '10 sec')
  2934.  
  2935. $ruiObj.click
  2936.  
  2937. waitsecond(2)
  2938. end
  2939.  
  2940. tcase << TestAction.new(:Shutter_Button) do
  2941. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  2942. .with('uitreeindex', 9)
  2943. .with('classname', 'ImageButton')
  2944. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  2945. .with('content-desc', 'Shutter')
  2946.  
  2947. $ruiObj.click
  2948.  
  2949. waitsecond(12)
  2950. end
  2951.  
  2952. tcase << TestAction.new(:Open_Camera_Settings_1) do
  2953. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  2954. .with('uitreeindex', 2)
  2955. .with('classname', 'ImageButton')
  2956. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  2957. .with('content-desc', 'Open settings')
  2958.  
  2959. $ruiObj.click
  2960.  
  2961. waitsecond(2)
  2962. end
  2963.  
  2964. tcase << TestAction.new(:Timer_Menu_1) do
  2965. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  2966. .with('uitreeindex', 30)
  2967. .with('classname', 'TextView')
  2968. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  2969. .with('content-desc', 'Timer')
  2970. .with('text', 'Timer')
  2971.  
  2972. $ruiObj.click
  2973.  
  2974. waitsecond(2)
  2975. end
  2976.  
  2977. tcase << TestAction.new(:Timer_Off) do
  2978. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -1313055798).with('textdescid', -439670058).with('uniqueparentid', 1310873078).with('classresourceid', 2074814108)
  2979. .with('uitreeindex', 16)
  2980. .with('classname', 'CheckedTextView')
  2981. .with('resource-id', 'android:id/text1')
  2982. .with('content-desc', 'Off')
  2983. .with('text', 'Off')
  2984.  
  2985. $ruiObj.click
  2986.  
  2987. waitsecond(2)
  2988. end
  2989.  
  2990. tcase << TestAction.new(:checkAndDelete) do
  2991. checkAndDelete
  2992.  
  2993. waitsecond(2)
  2994. end
  2995.  
  2996. tcase << TestAction.new(:LogStop) do
  2997. $myTestResult = !checkLastExistResult
  2998.  
  2999. logStopTest("2_1_1_37_Picture_Auto")
  3000.  
  3001. waitsecond(2)
  3002. end
  3003.  
  3004. tcase.run(loopTime)
  3005.  
  3006. end
  3007.  
  3008. def self.PictureAuto_2_1_1_38(loopTime)
  3009.  
  3010. tcase = TestCase.new("PictureAuto_2_1_1_38")
  3011.  
  3012. tcase << TestAction.new(:LogStart) do
  3013. logStartTest("2_1_1_38_Picture_Auto")
  3014.  
  3015. waitsecond(2)
  3016. end
  3017.  
  3018. tcase << TestAction.new(:Open_Camera_Settings) do
  3019. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  3020. .with('uitreeindex', 2)
  3021. .with('classname', 'ImageButton')
  3022. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  3023. .with('content-desc', 'Open settings')
  3024.  
  3025. $ruiObj.click
  3026.  
  3027. waitsecond(2)
  3028. end
  3029.  
  3030. tcase << TestAction.new(:Cheese_Shutter_On) do
  3031. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -805427468).with('textdescid', -450343400).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  3032. .with('uitreeindex', 34)
  3033. .with('classname', 'TextView')
  3034. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  3035. .with('content-desc', 'Take a photo by saying "Cheese," "Smile," "Whiskey," "Kimchi" or "LG". Off switch')
  3036. .with('text', 'Take a photo by saying Cheese Smile Whiskey Kimchi or LG')
  3037.  
  3038. $ruiObj.click
  3039.  
  3040. waitsecond(2)
  3041. end
  3042.  
  3043. tcase << TestAction.new(:Shutter_Button) do
  3044. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  3045. .with('uitreeindex', 9)
  3046. .with('classname', 'ImageButton')
  3047. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  3048. .with('content-desc', 'Shutter')
  3049.  
  3050. $ruiObj.click
  3051.  
  3052. waitsecond(2)
  3053. end
  3054.  
  3055. tcase << TestAction.new(:checkAndDelete) do
  3056. checkAndDelete
  3057.  
  3058. waitsecond(2)
  3059. end
  3060.  
  3061. tcase << TestAction.new(:LogStop) do
  3062. $myTestResult = !checkLastExistResult
  3063.  
  3064. logStopTest("2_1_1_38_Picture_Auto")
  3065.  
  3066. waitsecond(2)
  3067. end
  3068.  
  3069. tcase.run(loopTime)
  3070.  
  3071. end
  3072.  
  3073. def self.PictureAuto_2_1_1_39(loopTime)
  3074.  
  3075. tcase = TestCase.new("PictureAuto_2_1_1_39")
  3076.  
  3077. tcase << TestAction.new(:LogStart) do
  3078. logStartTest("2_1_1_39_Picture_Auto")
  3079.  
  3080. waitsecond(2)
  3081. end
  3082.  
  3083. tcase << TestAction.new(:Open_Camera_Settings) do
  3084. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  3085. .with('uitreeindex', 2)
  3086. .with('classname', 'ImageButton')
  3087. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  3088. .with('content-desc', 'Open settings')
  3089.  
  3090. $ruiObj.click
  3091.  
  3092. waitsecond(2)
  3093. end
  3094.  
  3095. tcase << TestAction.new(:Tracking_Focus_On) do
  3096. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', 540041269).with('textdescid', 1081855095).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  3097. .with('uitreeindex', 37)
  3098. .with('classname', 'TextView')
  3099. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  3100. .with('content-desc', 'Track and maintain focus on a moving object (FHD and HD only) Off switch')
  3101. .with('text', 'Track and maintain focus on a moving object FHD and HD only')
  3102.  
  3103. $ruiObj.click
  3104.  
  3105. waitsecond(2)
  3106. end
  3107.  
  3108. tcase << TestAction.new(:Shutter_Button) do
  3109. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  3110. .with('uitreeindex', 9)
  3111. .with('classname', 'ImageButton')
  3112. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  3113. .with('content-desc', 'Shutter')
  3114.  
  3115. $ruiObj.click
  3116.  
  3117. waitsecond(2)
  3118. end
  3119.  
  3120. tcase << TestAction.new(:checkAndDelete) do
  3121. checkAndDelete
  3122.  
  3123. waitsecond(2)
  3124. end
  3125.  
  3126. tcase << TestAction.new(:LogStop) do
  3127. $myTestResult = !checkLastExistResult
  3128.  
  3129. logStopTest("2_1_1_39_Picture_Auto")
  3130.  
  3131. waitsecond(2)
  3132. end
  3133.  
  3134. tcase.run(loopTime)
  3135.  
  3136. end
  3137.  
  3138. def self.PictureAuto_2_1_1_3_1(loopTime)
  3139.  
  3140. tcase = TestCase.new("PictureAuto_2_1_1_3_1")
  3141.  
  3142. tcase << TestAction.new(:LogStart) do
  3143. logStartTest("2_1_1_3_1_Picture_Auto")
  3144.  
  3145. waitsecond(2)
  3146. end
  3147.  
  3148. tcase << TestAction.new(:Zoom_In) do
  3149. zoomIn
  3150. zoomIn
  3151. zoomIn
  3152. zoomIn
  3153. zoomIn
  3154. zoomIn
  3155. zoomIn
  3156. zoomIn
  3157. zoomIn
  3158. zoomIn
  3159. zoomIn
  3160. zoomIn
  3161. zoomIn
  3162. zoomIn
  3163. zoomIn
  3164.  
  3165. waitsecond(2)
  3166. end
  3167.  
  3168. tcase << TestAction.new(:Shutter_Button) do
  3169. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  3170. .with('uitreeindex', 12)
  3171. .with('classname', 'ImageButton')
  3172. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  3173.  
  3174. $ruiObj.click
  3175.  
  3176. waitsecond(2)
  3177. end
  3178.  
  3179. tcase << TestAction.new(:checkeAndDelete) do
  3180. checkAndDelete
  3181.  
  3182. waitsecond(2)
  3183. end
  3184.  
  3185. tcase << TestAction.new(:LogStop) do
  3186. $myTestResult = !checkLastExistResult
  3187.  
  3188. logStopTest("2_1_1_3_1_Picture_Auto")
  3189.  
  3190. waitsecond(2)
  3191. end
  3192.  
  3193. tcase.run(loopTime)
  3194.  
  3195. end
  3196.  
  3197. def self.PictureAuto_2_1_1_3_2(loopTime)
  3198.  
  3199. tcase = TestCase.new("PictureAuto_2_1_1_3_2")
  3200.  
  3201. tcase << TestAction.new(:LogStart) do
  3202. logStartTest("2_1_1_3_2_Picture_Auto")
  3203.  
  3204. waitsecond(2)
  3205. end
  3206.  
  3207. tcase << TestAction.new(:Zoom_Out) do
  3208. zoomOut
  3209. zoomOut
  3210. zoomOut
  3211. zoomOut
  3212. zoomOut
  3213. zoomOut
  3214. zoomOut
  3215. zoomOut
  3216. zoomOut
  3217. zoomOut
  3218.  
  3219. waitsecond(2)
  3220. end
  3221.  
  3222. tcase << TestAction.new(:Shutter_Button) do
  3223. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  3224. .with('uitreeindex', 11)
  3225. .with('classname', 'ImageButton')
  3226. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  3227.  
  3228. $ruiObj.click
  3229.  
  3230. waitsecond(2)
  3231. end
  3232.  
  3233. tcase << TestAction.new(:checkAndDelete) do
  3234. checkAndDelete
  3235.  
  3236. waitsecond(2)
  3237. end
  3238.  
  3239. tcase << TestAction.new(:LogStop) do
  3240. $myTestResult = !checkLastExistResult
  3241.  
  3242. logStopTest("2_1_1_3_2_Picture_Auto")
  3243.  
  3244. waitsecond(2)
  3245. end
  3246.  
  3247. tcase.run(loopTime)
  3248.  
  3249. end
  3250.  
  3251. def self.PictureAuto_2_1_1_40(loopTime)
  3252.  
  3253. tcase = TestCase.new("PictureAuto_2_1_1_40")
  3254.  
  3255. tcase << TestAction.new(:LogStart) do
  3256. logStartTest("2_1_1_40_Picture_Auto")
  3257.  
  3258. waitsecond(2)
  3259. end
  3260.  
  3261. tcase << TestAction.new(:Open_Camera_Settings) do
  3262. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  3263. .with('uitreeindex', 3)
  3264. .with('classname', 'ImageButton')
  3265. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  3266. .with('content-desc', 'Open settings')
  3267.  
  3268. $ruiObj.click
  3269.  
  3270. waitsecond(2)
  3271. end
  3272.  
  3273. tcase << TestAction.new(:Swipe_Down) do
  3274. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  3275. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  3276.  
  3277. waitsecond(2)
  3278. end
  3279.  
  3280. tcase << TestAction.new(:Tag_Locations_On) do
  3281. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -550432648).with('textdescid', -1242618788).with('uniqueparentid', -1650613875).with('classresourceid', -1956269507)
  3282. .with('uitreeindex', 27)
  3283. .with('classname', 'TextView')
  3284. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  3285. .with('content-desc', 'Tag locations Off switch')
  3286. .with('text', 'Tag locations')
  3287.  
  3288. $ruiObj.click
  3289.  
  3290. waitsecond(2)
  3291. end
  3292.  
  3293. tcase << TestAction.new(:Shutter_Button) do
  3294. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', -1650613875)
  3295. .with('uitreeindex', 9)
  3296. .with('classname', 'ImageButton')
  3297. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  3298. .with('content-desc', 'Shutter')
  3299.  
  3300. $ruiObj.click
  3301.  
  3302. waitsecond(2)
  3303. end
  3304.  
  3305. tcase << TestAction.new(:checkAndDelete) do
  3306. checkAndDelete
  3307.  
  3308. waitsecond(2)
  3309. end
  3310.  
  3311. tcase << TestAction.new(:LogStop) do
  3312. $myTestResult = !checkLastExistResult
  3313.  
  3314. logStopTest("2_1_1_40_Picture_Auto")
  3315.  
  3316. waitsecond(2)
  3317. end
  3318.  
  3319. tcase.run(loopTime)
  3320.  
  3321. end
  3322.  
  3323. def self.PictureAuto_2_1_1_41(loopTime)
  3324.  
  3325. tcase = TestCase.new("PictureAuto_2_1_1_41")
  3326.  
  3327. tcase << TestAction.new(:LogStart) do
  3328. logStartTest("2_1_1_41_Picture_Auto")
  3329.  
  3330. waitsecond(2)
  3331. end
  3332.  
  3333. tcase << TestAction.new(:Open_Camera_Settings) do
  3334. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  3335. .with('uitreeindex', 2)
  3336. .with('classname', 'ImageButton')
  3337. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  3338. .with('content-desc', 'Open settings')
  3339.  
  3340. $ruiObj.click
  3341.  
  3342. waitsecond(2)
  3343. end
  3344.  
  3345. tcase << TestAction.new(:Swipe_Down) do
  3346. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  3347. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  3348.  
  3349. waitsecond(2)
  3350. end
  3351.  
  3352. tcase << TestAction.new(:Grid_On) do
  3353. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 2128769562).with('textdescid', -1368287878).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  3354. .with('uitreeindex', 29)
  3355. .with('classname', 'TextView')
  3356. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  3357. .with('content-desc', 'Grid Off switch')
  3358. .with('text', 'Grid')
  3359.  
  3360. $ruiObj.click
  3361.  
  3362. waitsecond(2)
  3363. end
  3364.  
  3365. tcase << TestAction.new(:Shutter_Button) do
  3366. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  3367. .with('uitreeindex', 9)
  3368. .with('classname', 'ImageButton')
  3369. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  3370. .with('content-desc', 'Shutter')
  3371.  
  3372. $ruiObj.click
  3373.  
  3374. waitsecond(2)
  3375. end
  3376.  
  3377. tcase << TestAction.new(:checkAndDelete) do
  3378. checkAndDelete
  3379.  
  3380. waitsecond(2)
  3381. end
  3382.  
  3383. tcase << TestAction.new(:LogStop) do
  3384. $myTestResult = !checkLastExistResult
  3385.  
  3386. logStopTest("2_1_1_41_Picture_Auto")
  3387.  
  3388. waitsecond(2)
  3389. end
  3390.  
  3391. tcase.run(loopTime)
  3392.  
  3393. end
  3394.  
  3395. def self.PictureAuto_2_1_1_42(loopTime)
  3396.  
  3397. tcase = TestCase.new("PictureAuto_2_1_1_42")
  3398.  
  3399. tcase << TestAction.new(:LogStart) do
  3400. logStartTest("2_1_1_42_Picture_Auto")
  3401.  
  3402. waitsecond(2)
  3403. end
  3404.  
  3405. tcase << TestAction.new(:Open_Camera_Settings) do
  3406. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  3407. .with('uitreeindex', 3)
  3408. .with('classname', 'ImageButton')
  3409. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  3410. .with('content-desc', 'Open settings')
  3411.  
  3412. $ruiObj.click
  3413.  
  3414. waitsecond(2)
  3415. end
  3416.  
  3417. tcase << TestAction.new(:Swipe_Down) do
  3418. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  3419. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  3420.  
  3421. waitsecond(2)
  3422. end
  3423.  
  3424. tcase << TestAction.new(:AddSignature_On) do
  3425. $ruiObj = RUIObject.new.with('objectid', -683742256).with('selfid', -1808037368).with('textdescid', 1731452673).with('uniqueparentid', 0).with('classresourceid', -1698211271)
  3426. .with('uitreeindex', 34)
  3427. .with('classname', 'Switch')
  3428. .with('resource-id', 'com.lge.camera:id/setting_switch')
  3429. .with('text', 'OFF')
  3430.  
  3431. $ruiObj.select('ItemLast').click
  3432.  
  3433. waitsecond(2)
  3434. end
  3435.  
  3436. tcase << TestAction.new(:Add_Signature) do
  3437. $ruiObj = RUIObject.new.with('objectid', -367317206).with('selfid', 120621811).with('textdescid', -1407762699).with('uniqueparentid', 0)
  3438. .with('uitreeindex', 10)
  3439. .with('classname', 'Button')
  3440. .with('resource-id', 'com.android.gallery3d:id/selection_ok')
  3441. .with('text', 'ADD')
  3442.  
  3443. $ruiObj.click
  3444.  
  3445. waitsecond(4)
  3446. end
  3447.  
  3448. tcase << TestAction.new(:Shutter_Button) do
  3449. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  3450. .with('uitreeindex', 9)
  3451. .with('classname', 'ImageButton')
  3452. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  3453. .with('content-desc', 'Shutter')
  3454.  
  3455. $ruiObj.click
  3456.  
  3457. waitsecond(2)
  3458. end
  3459.  
  3460. tcase << TestAction.new(:checkAndDelete) do
  3461. checkAndDelete
  3462.  
  3463. waitsecond(2)
  3464. end
  3465.  
  3466. tcase << TestAction.new(:LogStop) do
  3467. $myTestResult = !checkLastExistResult
  3468.  
  3469. logStopTest("2_1_1_42_Picture_Auto")
  3470.  
  3471. waitsecond(2)
  3472. end
  3473.  
  3474. tcase.run(loopTime)
  3475.  
  3476. end
  3477.  
  3478. def self.PictureAuto_2_1_1_43(loopTime)
  3479.  
  3480. tcase = TestCase.new("PictureAuto_2_1_1_43")
  3481.  
  3482. tcase << TestAction.new(:LogStart) do
  3483. logStartTest("2_1_1_43_Picture_Auto")
  3484.  
  3485. waitsecond(2)
  3486. end
  3487.  
  3488. tcase << TestAction.new(:Open_Camera_Settings) do
  3489. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  3490. .with('uitreeindex', 3)
  3491. .with('classname', 'ImageButton')
  3492. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  3493. .with('content-desc', 'Open settings')
  3494.  
  3495. $ruiObj.click
  3496.  
  3497. waitsecond(2)
  3498. end
  3499.  
  3500. tcase << TestAction.new(:Swipe_Down) do
  3501. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  3502. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  3503.  
  3504. waitsecond(2)
  3505. end
  3506.  
  3507. tcase << TestAction.new(:Simple_View_Enter) do
  3508. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -1638459757).with('textdescid', -1395718599).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  3509. .with('uitreeindex', 35)
  3510. .with('classname', 'TextView')
  3511. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  3512. .with('content-desc', 'Simple view')
  3513. .with('text', 'Simple view')
  3514.  
  3515. $ruiObj.click
  3516.  
  3517. waitsecond(2)
  3518. end
  3519.  
  3520. tcase << TestAction.new(:Simple_View_Picture) do
  3521. click(getDisplayWidth/2, getDisplayHeight/2)
  3522.  
  3523. waitsecond(3)
  3524. end
  3525.  
  3526. tcase << TestAction.new(:Simple_View_Exit) do
  3527. $ruiObj = RUIObject.new.with('objectid', 1601410951).with('selfid', 2479282).with('textdescid', -1209880514).with('uniqueparentid', 0)
  3528. .with('uitreeindex', 3)
  3529. .with('classname', 'ImageButton')
  3530. .with('resource-id', 'com.lge.camera:id/quick_button_clean_view_off')
  3531. .with('content-desc', 'View')
  3532.  
  3533. $ruiObj.click
  3534.  
  3535. waitsecond(2)
  3536. end
  3537.  
  3538. tcase << TestAction.new(:checkAndDelete) do
  3539. checkAndDelete
  3540.  
  3541. waitsecond(2)
  3542. end
  3543.  
  3544. tcase << TestAction.new(:LogStop) do
  3545. $myTestResult = !checkLastExistResult
  3546.  
  3547. logStopTest("2_1_1_43_Picture_Auto")
  3548.  
  3549. waitsecond(2)
  3550. end
  3551.  
  3552. tcase.run(loopTime)
  3553.  
  3554. end
  3555.  
  3556. def self.PictureAuto_2_1_1_44(loopTime)
  3557.  
  3558. tcase = TestCase.new("PictureAuto_2_1_1_44")
  3559.  
  3560. tcase << TestAction.new(:LogStart) do
  3561. logStartTest("2_1_1_44_Picture_Auto")
  3562.  
  3563. waitsecond(2)
  3564. end
  3565.  
  3566. tcase << TestAction.new(:Open_Camera_Settings) do
  3567. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  3568. .with('uitreeindex', 3)
  3569. .with('classname', 'ImageButton')
  3570. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  3571. .with('content-desc', 'Open settings')
  3572.  
  3573. $ruiObj.click
  3574.  
  3575. waitsecond(2)
  3576. end
  3577.  
  3578. tcase << TestAction.new(:Swipe_Down) do
  3579. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  3580. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  3581.  
  3582. waitsecond(2)
  3583. end
  3584.  
  3585. tcase << TestAction.new(:Simple_View_Enter) do
  3586. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -1638459757).with('textdescid', -1395718599).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  3587. .with('uitreeindex', 35)
  3588. .with('classname', 'TextView')
  3589. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  3590. .with('content-desc', 'Simple view')
  3591. .with('text', 'Simple view')
  3592.  
  3593. $ruiObj.click
  3594.  
  3595. waitsecond(2)
  3596. end
  3597.  
  3598. tcase << TestAction.new(:Simple_View_Volume_Key) do
  3599. pressVolumeKeyDown
  3600.  
  3601. waitsecond(3)
  3602. end
  3603.  
  3604. tcase << TestAction.new(:Simple_View_Exit) do
  3605. $ruiObj = RUIObject.new.with('objectid', 1601410951).with('selfid', 2479282).with('textdescid', -1209880514).with('uniqueparentid', 0)
  3606. .with('uitreeindex', 3)
  3607. .with('classname', 'ImageButton')
  3608. .with('resource-id', 'com.lge.camera:id/quick_button_clean_view_off')
  3609. .with('content-desc', 'View')
  3610.  
  3611. $ruiObj.click
  3612.  
  3613. waitsecond(2)
  3614. end
  3615.  
  3616. tcase << TestAction.new(:checkAndDelete) do
  3617. checkAndDelete
  3618.  
  3619. waitsecond(2)
  3620. end
  3621.  
  3622. tcase << TestAction.new(:LogStop) do
  3623. $myTestResult = !checkLastExistResult
  3624.  
  3625. logStopTest("2_1_1_44_Picture_Auto")
  3626.  
  3627. waitsecond(2)
  3628. end
  3629.  
  3630. tcase.run(loopTime)
  3631.  
  3632. end
  3633.  
  3634. def self.PictureAuto_2_1_1_45_1(loopTime)
  3635.  
  3636. tcase = TestCase.new("PictureAuto_2_1_1_45_1")
  3637.  
  3638. tcase << TestAction.new(:LogStart) do
  3639. logStartTest("2_1_1_45_1_Picture_Auto")
  3640.  
  3641. waitsecond(2)
  3642. end
  3643.  
  3644. tcase << TestAction.new(:Open_Camera_Settings) do
  3645. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  3646. .with('uitreeindex', 3)
  3647. .with('classname', 'ImageButton')
  3648. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  3649. .with('content-desc', 'Open settings')
  3650.  
  3651. $ruiObj.click
  3652.  
  3653. waitsecond(2)
  3654. end
  3655.  
  3656. tcase << TestAction.new(:Swipe_Down) do
  3657. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  3658. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  3659.  
  3660. waitsecond(2)
  3661. end
  3662.  
  3663. tcase << TestAction.new(:Simple_View_Enter) do
  3664. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -1638459757).with('textdescid', -1395718599).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  3665. .with('uitreeindex', 35)
  3666. .with('classname', 'TextView')
  3667. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  3668. .with('content-desc', 'Simple view')
  3669. .with('text', 'Simple view')
  3670.  
  3671. $ruiObj.click
  3672.  
  3673. waitsecond(2)
  3674. end
  3675.  
  3676. tcase << TestAction.new(:Zoom_In) do
  3677. zoomIn
  3678. zoomIn
  3679. zoomIn
  3680. zoomIn
  3681. zoomIn
  3682. zoomIn
  3683. zoomIn
  3684. zoomIn
  3685. zoomIn
  3686. zoomIn
  3687.  
  3688. waitsecond(2)
  3689. end
  3690.  
  3691. tcase << TestAction.new(:Simple_View_Picture) do
  3692. click(getDisplayWidth/2, getDisplayHeight/2)
  3693.  
  3694. waitsecond(3)
  3695. end
  3696.  
  3697. tcase << TestAction.new(:Simple_View_Exit) do
  3698. $ruiObj = RUIObject.new.with('objectid', 1601410951).with('selfid', 2479282).with('textdescid', -1209880514).with('uniqueparentid', 0)
  3699. .with('uitreeindex', 3)
  3700. .with('classname', 'ImageButton')
  3701. .with('resource-id', 'com.lge.camera:id/quick_button_clean_view_off')
  3702. .with('content-desc', 'View')
  3703.  
  3704. $ruiObj.click
  3705.  
  3706. waitsecond(2)
  3707. end
  3708.  
  3709. tcase << TestAction.new(:checkAndDelete) do
  3710. checkAndDelete
  3711.  
  3712. waitsecond(2)
  3713. end
  3714.  
  3715. tcase << TestAction.new(:LogStop) do
  3716. $myTestResult = !checkLastExistResult
  3717.  
  3718. logStopTest("2_1_1_45_1_Picture_Auto")
  3719.  
  3720. waitsecond(2)
  3721. end
  3722.  
  3723. tcase.run(loopTime)
  3724.  
  3725. end
  3726.  
  3727. def self.PictureAuto_2_1_1_45_2(loopTime)
  3728.  
  3729. tcase = TestCase.new("PictureAuto_2_1_1_45_2")
  3730.  
  3731. tcase << TestAction.new(:LogStart) do
  3732. logStartTest("2_1_1_45_2_Picture_Auto")
  3733.  
  3734. waitsecond(2)
  3735. end
  3736.  
  3737. tcase << TestAction.new(:Open_Camera_Settings) do
  3738. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  3739. .with('uitreeindex', 3)
  3740. .with('classname', 'ImageButton')
  3741. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  3742. .with('content-desc', 'Open settings')
  3743.  
  3744. $ruiObj.click
  3745.  
  3746. waitsecond(2)
  3747. end
  3748.  
  3749. tcase << TestAction.new(:Swipe_Down) do
  3750. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  3751. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  3752.  
  3753. waitsecond(2)
  3754. end
  3755.  
  3756. tcase << TestAction.new(:Simple_View_Enter) do
  3757. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -1638459757).with('textdescid', -1395718599).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  3758. .with('uitreeindex', 35)
  3759. .with('classname', 'TextView')
  3760. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  3761. .with('content-desc', 'Simple view')
  3762. .with('text', 'Simple view')
  3763.  
  3764. $ruiObj.click
  3765.  
  3766. waitsecond(2)
  3767. end
  3768.  
  3769. tcase << TestAction.new(:Zoom_Out) do
  3770. zoomOut
  3771. zoomOut
  3772. zoomOut
  3773. zoomOut
  3774. zoomOut
  3775. zoomOut
  3776. zoomOut
  3777. zoomOut
  3778. zoomOut
  3779. zoomOut
  3780.  
  3781. waitsecond(2)
  3782. end
  3783.  
  3784. tcase << TestAction.new(:Simple_View_Picture) do
  3785. click(getDisplayWidth/2, getDisplayHeight/2)
  3786.  
  3787. waitsecond(3)
  3788. end
  3789.  
  3790. tcase << TestAction.new(:Simple_View_Exit) do
  3791. $ruiObj = RUIObject.new.with('objectid', 1601410951).with('selfid', 2479282).with('textdescid', -1209880514).with('uniqueparentid', 0)
  3792. .with('uitreeindex', 3)
  3793. .with('classname', 'ImageButton')
  3794. .with('resource-id', 'com.lge.camera:id/quick_button_clean_view_off')
  3795. .with('content-desc', 'View')
  3796.  
  3797. $ruiObj.click
  3798.  
  3799. waitsecond(2)
  3800. end
  3801.  
  3802. tcase << TestAction.new(:checkAndDelete) do
  3803. checkAndDelete
  3804.  
  3805. waitsecond(2)
  3806. end
  3807.  
  3808. tcase << TestAction.new(:LogStop) do
  3809. $myTestResult = !checkLastExistResult
  3810.  
  3811. logStopTest("2_1_1_45_2_Picture_Auto")
  3812.  
  3813. waitsecond(2)
  3814. end
  3815.  
  3816. tcase.run(loopTime)
  3817.  
  3818. end
  3819.  
  3820. def self.PictureAuto_2_1_1_4_1(loopTime)
  3821.  
  3822. tcase = TestCase.new("PictureAuto_2_1_1_4_1")
  3823.  
  3824. tcase << TestAction.new(:LogStart) do
  3825. logStartTest("2_1_1_4_1_Picture_Auto")
  3826.  
  3827. waitsecond(2)
  3828. end
  3829.  
  3830. tcase << TestAction.new(:Switch_Wide_View) do
  3831. $ruiObj = RUIObject.new.with('objectid', -355772886).with('selfid', -1759883529).with('textdescid', -2115781374).with('uniqueparentid', 0)
  3832. .with('uitreeindex', 16)
  3833. .with('classname', 'ImageButton')
  3834. .with('resource-id', 'com.lge.camera:id/btn_dualview_wide_range')
  3835. .with('content-desc', 'Wide angle lens')
  3836.  
  3837. $ruiObj.click
  3838.  
  3839. waitsecond(2)
  3840. end
  3841.  
  3842. tcase << TestAction.new(:Shutter_Button) do
  3843. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  3844. .with('uitreeindex', 11)
  3845. .with('classname', 'ImageButton')
  3846. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  3847.  
  3848. $ruiObj.click
  3849.  
  3850. waitsecond(2)
  3851. end
  3852.  
  3853. tcase << TestAction.new(:checkAndDelete) do
  3854. checkAndDelete
  3855.  
  3856. waitsecond(2)
  3857. end
  3858.  
  3859. tcase << TestAction.new(:LogStop) do
  3860. $myTestResult = !checkLastExistResult
  3861.  
  3862. logStopTest("2_1_1_4_1_Picture_Auto")
  3863.  
  3864. waitsecond(2)
  3865. end
  3866.  
  3867. tcase.run(loopTime)
  3868.  
  3869. end
  3870.  
  3871. def self.PictureAuto_2_1_1_4_2(loopTime)
  3872.  
  3873. tcase = TestCase.new("PictureAuto_2_1_1_4_2")
  3874.  
  3875. tcase << TestAction.new(:LogStart) do
  3876. logStartTest("2_1_1_4_2_Picture_Auto")
  3877.  
  3878. waitsecond(2)
  3879. end
  3880.  
  3881. tcase << TestAction.new(:Switch_Normal_View) do
  3882. $ruiObj = RUIObject.new.with('objectid', 717001470).with('selfid', 814879967).with('textdescid', 946505666).with('uniqueparentid', 0)
  3883. .with('uitreeindex', 15)
  3884. .with('classname', 'ImageButton')
  3885. .with('resource-id', 'com.lge.camera:id/btn_dualview_normal_range')
  3886. .with('content-desc', 'Normal angle lens')
  3887.  
  3888. $ruiObj.click
  3889.  
  3890. waitsecond(2)
  3891. end
  3892.  
  3893. tcase << TestAction.new(:Shutter_Button) do
  3894. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  3895. .with('uitreeindex', 12)
  3896. .with('classname', 'ImageButton')
  3897. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  3898.  
  3899. $ruiObj.click
  3900.  
  3901. waitsecond(2)
  3902. end
  3903.  
  3904. tcase << TestAction.new(:checkAndDelete) do
  3905. checkAndDelete
  3906.  
  3907. waitsecond(2)
  3908. end
  3909.  
  3910. tcase << TestAction.new(:LogStop) do
  3911. $myTestResult = !checkLastExistResult
  3912.  
  3913. logStopTest("2_1_1_4_2_Picture_Auto")
  3914.  
  3915. waitsecond(2)
  3916. end
  3917.  
  3918. tcase.run(loopTime)
  3919.  
  3920. end
  3921.  
  3922. def self.PictureAuto_2_1_1_5(loopTime)
  3923.  
  3924. tcase = TestCase.new("PictureAuto_2_1_1_5")
  3925.  
  3926. tcase << TestAction.new(:LogStart) do
  3927. logStartTest("2_1_1_5_Picture_Auto")
  3928.  
  3929. waitsecond(2)
  3930. end
  3931.  
  3932. tcase << TestAction.new(:Flash_On) do
  3933. $ruiObj = RUIObject.new.with('objectid', -1160005900).with('selfid', 183863686).with('textdescid', -1655596812).with('uniqueparentid', 0)
  3934. .with('uitreeindex', 7)
  3935. .with('classname', 'ImageButton')
  3936. .with('resource-id', 'com.lge.camera:id/quick_button_flash')
  3937. .with('content-desc', 'Switch to flash on')
  3938.  
  3939. $ruiObj.click
  3940.  
  3941. waitsecond(2)
  3942. end
  3943.  
  3944. tcase << TestAction.new(:Shutter_Button) do
  3945. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  3946. .with('uitreeindex', 11)
  3947. .with('classname', 'ImageButton')
  3948. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  3949.  
  3950. $ruiObj.click
  3951.  
  3952. waitsecond(7)
  3953. end
  3954.  
  3955. tcase << TestAction.new(:checkAndDelete) do
  3956. checkAndDelete
  3957.  
  3958. waitsecond(2)
  3959. end
  3960.  
  3961. tcase << TestAction.new(:LogStop) do
  3962. $myTestResult = !checkLastExistResult
  3963.  
  3964. logStopTest("2_1_1_5_Picture_Auto")
  3965.  
  3966. waitsecond(2)
  3967. end
  3968.  
  3969. tcase.run(loopTime)
  3970.  
  3971. end
  3972.  
  3973. def self.PictureAuto_2_1_1_6(loopTime)
  3974.  
  3975. tcase = TestCase.new("PictureAuto_2_1_1_6")
  3976.  
  3977. tcase << TestAction.new(:LogStart) do
  3978. logStartTest("2_1_1_6_Picture_Auto")
  3979.  
  3980. waitsecond(2)
  3981. end
  3982.  
  3983. tcase << TestAction.new(:Flash_Auto) do
  3984. $ruiObj = RUIObject.new.with('objectid', -1160005900).with('selfid', 183863686).with('textdescid', -1655596812).with('uniqueparentid', 0)
  3985. .with('uitreeindex', 6)
  3986. .with('classname', 'ImageButton')
  3987. .with('resource-id', 'com.lge.camera:id/quick_button_flash')
  3988. .with('content-desc', 'Switch to flash on')
  3989.  
  3990. $ruiObj.click
  3991.  
  3992. waitsecond(2)
  3993. end
  3994.  
  3995. tcase << TestAction.new(:Shutter_Button) do
  3996. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  3997. .with('uitreeindex', 13)
  3998. .with('classname', 'ImageButton')
  3999. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  4000.  
  4001. $ruiObj.click
  4002.  
  4003. waitsecond(7)
  4004. end
  4005.  
  4006. tcase << TestAction.new(:checkAndDelete) do
  4007. checkAndDelete
  4008.  
  4009. waitsecond(2)
  4010. end
  4011.  
  4012. tcase << TestAction.new(:LogStop) do
  4013. $myTestResult = !checkLastExistResult
  4014.  
  4015. logStopTest("2_1_1_6_Picture_Auto")
  4016.  
  4017. waitsecond(2)
  4018. end
  4019.  
  4020. tcase.run(loopTime)
  4021.  
  4022. end
  4023.  
  4024. def self.PictureAuto_2_1_1_7(loopTime)
  4025.  
  4026. tcase = TestCase.new("PictureAuto_2_1_1_7")
  4027.  
  4028. tcase << TestAction.new(:LogStart) do
  4029. logStartTest("2_1_1_7_Picture_Auto")
  4030.  
  4031. waitsecond(2)
  4032. end
  4033.  
  4034. tcase << TestAction.new(:Flash_Off) do
  4035. $ruiObj = RUIObject.new.with('objectid', -1160005900).with('selfid', 183863686).with('textdescid', -1655596812).with('uniqueparentid', 0)
  4036. .with('uitreeindex', 7)
  4037. .with('classname', 'ImageButton')
  4038. .with('resource-id', 'com.lge.camera:id/quick_button_flash')
  4039. .with('content-desc', 'Switch to flash on')
  4040.  
  4041. $ruiObj.click
  4042.  
  4043. waitsecond(2)
  4044. end
  4045.  
  4046. tcase << TestAction.new(:Shutter_Button) do
  4047. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  4048. .with('uitreeindex', 12)
  4049. .with('classname', 'ImageButton')
  4050. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  4051.  
  4052. $ruiObj.click
  4053.  
  4054. waitsecond(2)
  4055. end
  4056.  
  4057. tcase << TestAction.new(:checkAndDelete) do
  4058. checkAndDelete
  4059.  
  4060. waitsecond(2)
  4061. end
  4062.  
  4063. tcase << TestAction.new(:LogStop) do
  4064. $myTestResult = !checkLastExistResult
  4065.  
  4066. logStopTest("2_1_1_7_Picture_Auto")
  4067.  
  4068. waitsecond(2)
  4069. end
  4070.  
  4071. tcase.run(loopTime)
  4072.  
  4073. end
  4074.  
  4075. def self.PictureAuto_2_1_1_8(loopTime)
  4076.  
  4077. tcase = TestCase.new("PictureAuto_2_1_1_8")
  4078.  
  4079. tcase << TestAction.new(:LogStart) do
  4080. logStartTest("2_1_1_8_Picture_Auto")
  4081.  
  4082. waitsecond(2)
  4083. end
  4084.  
  4085. tcase << TestAction.new(:Change_Film) do
  4086. rng = Random.new()
  4087.  
  4088. waitsecond(2)
  4089.  
  4090. RUIObject.new.with('objectid', 1447192180).with('selfid', -170779466).with('textdescid', -373050940).with('uniqueparentid', 0)
  4091. .with('uitreeindex', 31)
  4092. .with('classname', 'ImageButton')
  4093. .with('resource-id', 'com.lge.camera:id/quick_button_film_emulator')
  4094. .with('content-desc', 'Filter').click
  4095.  
  4096. waitsecond(2)
  4097.  
  4098. index = rng.rand(db('FilmChange').length-1)
  4099.  
  4100. RUIObject.new.with('objectid', -1312790971).with('selfid', 479986141).with('textdescid', 1166933783).with('uniqueparentid', 0)
  4101. .with('uitreeindex', 30)
  4102. .with('classname', 'android.view.View')
  4103. .with('content-desc', db('FilmChange')[index]).click
  4104.  
  4105. waitsecond(2)
  4106. end
  4107.  
  4108. tcase << TestAction.new(:Shutter_Button) do
  4109. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  4110. .with('uitreeindex', 11)
  4111. .with('classname', 'ImageButton')
  4112. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  4113.  
  4114. $ruiObj.click
  4115.  
  4116. waitsecond(2)
  4117. end
  4118.  
  4119. tcase << TestAction.new(:Open_Film) do
  4120. $ruiObj = RUIObject.new.with('objectid', 1447192180).with('selfid', -170779466).with('textdescid', -373050940).with('uniqueparentid', 0)
  4121. .with('uitreeindex', 4)
  4122. .with('classname', 'ImageButton')
  4123. .with('resource-id', 'com.lge.camera:id/quick_button_film_emulator')
  4124. .with('content-desc', 'Filter')
  4125.  
  4126. $ruiObj.click
  4127.  
  4128. waitsecond(2)
  4129. end
  4130.  
  4131. tcase << TestAction.new(:Change_Film_None) do
  4132. $ruiObj = RUIObject.new.with('objectid', -1945005961).with('selfid', 748781049).with('textdescid', 166290721).with('uniqueparentid', 0)
  4133. .with('uitreeindex', 22)
  4134. .with('classname', 'android.view.View')
  4135. .with('content-desc', 'None')
  4136.  
  4137. $ruiObj.click
  4138.  
  4139. waitsecond(2)
  4140. end
  4141.  
  4142. tcase << TestAction.new(:checkAndDelete) do
  4143. checkAndDelete
  4144.  
  4145. waitsecond(2)
  4146. end
  4147.  
  4148. tcase << TestAction.new(:LogStop) do
  4149. $myTestResult = !checkLastExistResult
  4150.  
  4151. logStopTest("2_1_1_8_Picture_Auto")
  4152.  
  4153. waitsecond(2)
  4154. end
  4155.  
  4156. tcase.run(loopTime)
  4157.  
  4158. end
  4159.  
  4160. def self.PictureAuto_2_1_1_9_1(loopTime)
  4161.  
  4162. tcase = TestCase.new("PictureAuto_2_1_1_9_1")
  4163.  
  4164. tcase << TestAction.new(:LogStart) do
  4165. logStartTest("2_1_1_9_1_Picture_Auto")
  4166.  
  4167. waitsecond(2)
  4168. end
  4169.  
  4170. tcase << TestAction.new(:Open_Camera_Settings) do
  4171. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  4172. .with('uitreeindex', 2)
  4173. .with('classname', 'ImageButton')
  4174. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  4175. .with('content-desc', 'Open settings')
  4176.  
  4177. $ruiObj.click
  4178.  
  4179. waitsecond(2)
  4180. end
  4181.  
  4182. tcase << TestAction.new(:Camera_Roll_On) do
  4183. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', 257319662).with('textdescid', -1276262562).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  4184. .with('uitreeindex', 25)
  4185. .with('classname', 'TextView')
  4186. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  4187. .with('content-desc', 'Show your recent photos and videos on the camera preview Off switch')
  4188. .with('text', 'Show your recent photos and videos on the camera preview')
  4189.  
  4190. $ruiObj.click
  4191.  
  4192. waitsecond(2)
  4193. end
  4194.  
  4195. tcase << TestAction.new(:Shutter_Button) do
  4196. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  4197. .with('uitreeindex', 9)
  4198. .with('classname', 'ImageButton')
  4199. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  4200. .with('content-desc', 'Shutter')
  4201.  
  4202. $ruiObj.click
  4203.  
  4204. waitsecond(2)
  4205. end
  4206.  
  4207. tcase << TestAction.new(:checkAndDelete) do
  4208. checkAndDelete
  4209.  
  4210. waitsecond(2)
  4211. end
  4212.  
  4213. tcase << TestAction.new(:LogStop) do
  4214. $myTestResult = !checkLastExistResult
  4215.  
  4216. logStopTest("2_1_1_9_1_Picture_Auto")
  4217.  
  4218. waitsecond(2)
  4219. end
  4220.  
  4221. tcase.run(loopTime)
  4222.  
  4223. end
  4224.  
  4225. def self.PictureAuto_2_1_1_9_2(loopTime)
  4226.  
  4227. tcase = TestCase.new("PictureAuto_2_1_1_9_2")
  4228.  
  4229. tcase << TestAction.new(:LogStart) do
  4230. logStartTest("2_1_1_9_2_Picture_Auto")
  4231.  
  4232. waitsecond(2)
  4233. end
  4234.  
  4235. tcase << TestAction.new(:Open_Camera_Settings) do
  4236. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  4237. .with('uitreeindex', 24)
  4238. .with('classname', 'ImageButton')
  4239. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  4240. .with('content-desc', 'Open settings')
  4241.  
  4242. $ruiObj.click
  4243.  
  4244. waitsecond(2)
  4245. end
  4246.  
  4247. tcase << TestAction.new(:Camera_Roll_Off) do
  4248. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -1218314212).with('textdescid', -150235496).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  4249. .with('uitreeindex', 45)
  4250. .with('classname', 'TextView')
  4251. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  4252. .with('content-desc', 'Show your recent photos and videos on the camera preview On switch')
  4253. .with('text', 'Show your recent photos and videos on the camera preview')
  4254.  
  4255. $ruiObj.click
  4256.  
  4257. waitsecond(2)
  4258. end
  4259.  
  4260. tcase << TestAction.new(:Shutter_Button) do
  4261. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  4262. .with('uitreeindex', 30)
  4263. .with('classname', 'ImageButton')
  4264. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  4265. .with('content-desc', 'Shutter')
  4266.  
  4267. $ruiObj.click
  4268.  
  4269. waitsecond(2)
  4270. end
  4271.  
  4272. tcase << TestAction.new(:checkAndDelete) do
  4273. checkAndDelete
  4274.  
  4275. waitsecond(2)
  4276. end
  4277.  
  4278. tcase << TestAction.new(:LogStop) do
  4279. $myTestResult = !checkLastExistResult
  4280.  
  4281. logStopTest("2_1_1_9_2_Picture_Auto")
  4282.  
  4283. waitsecond(2)
  4284. end
  4285.  
  4286. tcase.run(loopTime)
  4287.  
  4288. end
  4289.  
  4290. def self.PictureAuto_2_1_2_1(loopTime)
  4291.  
  4292. tcase = TestCase.new("PictureAuto_2_1_2_1")
  4293.  
  4294. tcase << TestAction.new(:LogStart) do
  4295. logStartTest("2_1_2_1_Picture_Auto")
  4296.  
  4297. waitsecond(2)
  4298. end
  4299.  
  4300. tcase << TestAction.new(:Shutter_Button) do
  4301. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  4302. .with('uitreeindex', 11)
  4303. .with('classname', 'ImageButton')
  4304. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  4305.  
  4306. $ruiObj.click
  4307.  
  4308. waitsecond(2)
  4309. end
  4310.  
  4311. tcase << TestAction.new(:checkAndDelete) do
  4312. checkAndDelete
  4313.  
  4314. waitsecond(2)
  4315. end
  4316.  
  4317. tcase << TestAction.new(:LogStop) do
  4318. $myTestResult = !checkLastExistResult
  4319.  
  4320. logStopTest("2_1_2_1_Picture_Auto")
  4321.  
  4322. waitsecond(2)
  4323. end
  4324.  
  4325. tcase.run(loopTime)
  4326.  
  4327. end
  4328.  
  4329. def self.PictureAuto_2_1_2_10_1(loopTime)
  4330.  
  4331. tcase = TestCase.new("PictureAuto_2_1_2_10_1")
  4332.  
  4333. tcase << TestAction.new(:LogStart) do
  4334. logStartTest("2_1_2_10_1_Picture_Auto")
  4335.  
  4336. waitsecond(2)
  4337. end
  4338.  
  4339. tcase << TestAction.new(:Open_Camera_Settings) do
  4340. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  4341. .with('uitreeindex', 2)
  4342. .with('classname', 'ImageButton')
  4343. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  4344. .with('content-desc', 'Open settings')
  4345.  
  4346. $ruiObj.click
  4347.  
  4348. waitsecond(2)
  4349. end
  4350.  
  4351. tcase << TestAction.new(:Camera_Roll_On) do
  4352. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', 257319662).with('textdescid', -1276262562).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  4353. .with('uitreeindex', 25)
  4354. .with('classname', 'TextView')
  4355. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  4356. .with('content-desc', 'Show your recent photos and videos on the camera preview Off switch')
  4357. .with('text', 'Show your recent photos and videos on the camera preview')
  4358.  
  4359. $ruiObj.click
  4360.  
  4361. waitsecond(2)
  4362. end
  4363.  
  4364. tcase << TestAction.new(:Shutter_Button) do
  4365. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  4366. .with('uitreeindex', 9)
  4367. .with('classname', 'ImageButton')
  4368. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  4369. .with('content-desc', 'Shutter')
  4370.  
  4371. $ruiObj.click
  4372.  
  4373. waitsecond(2)
  4374. end
  4375.  
  4376. tcase << TestAction.new(:checkAndDelete) do
  4377. checkAndDelete
  4378.  
  4379. waitsecond(2)
  4380. end
  4381.  
  4382. tcase << TestAction.new(:LogStop) do
  4383. $myTestResult = !checkLastExistResult
  4384.  
  4385. logStopTest("2_1_2_10_1_Picture_Auto")
  4386.  
  4387. waitsecond(2)
  4388. end
  4389.  
  4390. tcase.run(loopTime)
  4391.  
  4392. end
  4393.  
  4394. def self.PictureAuto_2_1_2_10_2(loopTime)
  4395.  
  4396. tcase = TestCase.new("PictureAuto_2_1_2_10_2")
  4397.  
  4398. tcase << TestAction.new(:LogStart) do
  4399. logStartTest("2_1_2_10_2_Picture_Auto")
  4400.  
  4401. waitsecond(2)
  4402. end
  4403.  
  4404. tcase << TestAction.new(:Open_Camera_Settings) do
  4405. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  4406. .with('uitreeindex', 24)
  4407. .with('classname', 'ImageButton')
  4408. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  4409. .with('content-desc', 'Open settings')
  4410.  
  4411. $ruiObj.click
  4412.  
  4413. waitsecond(2)
  4414. end
  4415.  
  4416. tcase << TestAction.new(:Camera_Roll_Off) do
  4417. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -1218314212).with('textdescid', -150235496).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  4418. .with('uitreeindex', 45)
  4419. .with('classname', 'TextView')
  4420. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  4421. .with('content-desc', 'Show your recent photos and videos on the camera preview On switch')
  4422. .with('text', 'Show your recent photos and videos on the camera preview')
  4423.  
  4424. $ruiObj.click
  4425.  
  4426. waitsecond(2)
  4427. end
  4428.  
  4429. tcase << TestAction.new(:Shutter_Button) do
  4430. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  4431. .with('uitreeindex', 30)
  4432. .with('classname', 'ImageButton')
  4433. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  4434. .with('content-desc', 'Shutter')
  4435.  
  4436. $ruiObj.click
  4437.  
  4438. waitsecond(2)
  4439. end
  4440.  
  4441. tcase << TestAction.new(:checkAndDelete) do
  4442. checkAndDelete
  4443.  
  4444. waitsecond(2)
  4445. end
  4446.  
  4447. tcase << TestAction.new(:LogStop) do
  4448. $myTestResult = !checkLastExistResult
  4449.  
  4450. logStopTest("2_1_2_10_2_Picture_Auto")
  4451.  
  4452. waitsecond(2)
  4453. end
  4454.  
  4455. tcase.run(loopTime)
  4456.  
  4457. end
  4458.  
  4459. def self.PictureAuto_2_1_2_11(loopTime)
  4460.  
  4461. tcase = TestCase.new("PictureAuto_2_1_2_11")
  4462.  
  4463. tcase << TestAction.new(:LogStart) do
  4464. logStartTest("2_1_2_11_Picture_Auto")
  4465.  
  4466. waitsecond(2)
  4467. end
  4468.  
  4469. tcase << TestAction.new(:Open_Camera_Settings) do
  4470. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  4471. .with('uitreeindex', 2)
  4472. .with('classname', 'ImageButton')
  4473. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  4474. .with('content-desc', 'Open settings')
  4475.  
  4476. $ruiObj.click
  4477.  
  4478. waitsecond(2)
  4479. end
  4480.  
  4481. tcase << TestAction.new(:HDR_Menu) do
  4482. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -801213611).with('textdescid', 73758911).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  4483. .with('uitreeindex', 27)
  4484. .with('classname', 'TextView')
  4485. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  4486. .with('text', 'High Dynamic Range HDR combines multiple photos taken at different exposures to create the best photo')
  4487.  
  4488. $ruiObj.click
  4489.  
  4490. waitsecond(2)
  4491. end
  4492.  
  4493. tcase << TestAction.new(:HDR_Auto) do
  4494. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 696310092).with('textdescid', -1563309164).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  4495. .with('uitreeindex', 16)
  4496. .with('classname', 'CheckedTextView')
  4497. .with('resource-id', 'android:id/text1')
  4498. .with('content-desc', 'Auto')
  4499. .with('text', 'Auto')
  4500.  
  4501. $ruiObj.click
  4502.  
  4503. waitsecond(2)
  4504. end
  4505.  
  4506. tcase << TestAction.new(:Shutter_Button) do
  4507. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  4508. .with('uitreeindex', 9)
  4509. .with('classname', 'ImageButton')
  4510. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  4511. .with('content-desc', 'Shutter')
  4512.  
  4513. $ruiObj.click
  4514.  
  4515. waitsecond(2)
  4516. end
  4517.  
  4518. tcase << TestAction.new(:checkAndDelete) do
  4519. checkAndDelete
  4520.  
  4521. waitsecond(2)
  4522. end
  4523.  
  4524. tcase << TestAction.new(:LogStop) do
  4525. $myTestResult = !checkLastExistResult
  4526.  
  4527. logStopTest("2_1_2_11_Picture_Auto")
  4528.  
  4529. waitsecond(2)
  4530. end
  4531.  
  4532. tcase.run(loopTime)
  4533.  
  4534. end
  4535.  
  4536. def self.PictureAuto_2_1_2_12(loopTime)
  4537.  
  4538. tcase = TestCase.new("PictureAuto_2_1_2_12")
  4539.  
  4540. tcase << TestAction.new(:LogStart) do
  4541. logStartTest("2_1_2_12_Picture_Auto")
  4542.  
  4543. waitsecond(2)
  4544. end
  4545.  
  4546. tcase << TestAction.new(:Open_Camera_Settings) do
  4547. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  4548. .with('uitreeindex', 2)
  4549. .with('classname', 'ImageButton')
  4550. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  4551. .with('content-desc', 'Open settings')
  4552.  
  4553. $ruiObj.click
  4554.  
  4555. waitsecond(2)
  4556. end
  4557.  
  4558. tcase << TestAction.new(:HDR_Menu) do
  4559. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -801213611).with('textdescid', 73758911).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  4560. .with('uitreeindex', 27)
  4561. .with('classname', 'TextView')
  4562. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  4563. .with('text', 'High Dynamic Range HDR combines multiple photos taken at different exposures to create the best photo')
  4564.  
  4565. $ruiObj.click
  4566.  
  4567. waitsecond(2)
  4568. end
  4569.  
  4570. tcase << TestAction.new(:HDR_On) do
  4571. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1200665996).with('textdescid', -406281388).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  4572. .with('uitreeindex', 17)
  4573. .with('classname', 'CheckedTextView')
  4574. .with('resource-id', 'android:id/text1')
  4575. .with('content-desc', 'On')
  4576. .with('text', 'On')
  4577.  
  4578. $ruiObj.click
  4579.  
  4580. waitsecond(2)
  4581. end
  4582.  
  4583. tcase << TestAction.new(:Shutter_Button) do
  4584. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  4585. .with('uitreeindex', 9)
  4586. .with('classname', 'ImageButton')
  4587. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  4588. .with('content-desc', 'Shutter')
  4589.  
  4590. $ruiObj.click
  4591.  
  4592. waitsecond(2)
  4593. end
  4594.  
  4595. tcase << TestAction.new(:checkAndDelete) do
  4596. checkAndDelete
  4597.  
  4598. waitsecond(2)
  4599. end
  4600.  
  4601. tcase << TestAction.new(:LogStop) do
  4602. $myTestResult = !checkLastExistResult
  4603.  
  4604. logStopTest("2_1_2_12_Picture_Auto")
  4605.  
  4606. waitsecond(2)
  4607. end
  4608.  
  4609. tcase.run(loopTime)
  4610.  
  4611. end
  4612.  
  4613. def self.PictureAuto_2_1_2_13(loopTime)
  4614.  
  4615. tcase = TestCase.new("PictureAuto_2_1_2_13")
  4616.  
  4617. tcase << TestAction.new(:LogStart) do
  4618. logStartTest("2_1_2_13_Picture_Auto")
  4619.  
  4620. waitsecond(2)
  4621. end
  4622.  
  4623. tcase << TestAction.new(:Open_Camera_Settings) do
  4624. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  4625. .with('uitreeindex', 2)
  4626. .with('classname', 'ImageButton')
  4627. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  4628. .with('content-desc', 'Open settings')
  4629.  
  4630. $ruiObj.click
  4631.  
  4632. waitsecond(2)
  4633. end
  4634.  
  4635. tcase << TestAction.new(:HDR_Menu) do
  4636. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -801213611).with('textdescid', 73758911).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  4637. .with('uitreeindex', 27)
  4638. .with('classname', 'TextView')
  4639. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  4640. .with('text', 'High Dynamic Range HDR combines multiple photos taken at different exposures to create the best photo')
  4641.  
  4642. $ruiObj.click
  4643.  
  4644. waitsecond(2)
  4645. end
  4646.  
  4647. tcase << TestAction.new(:HDR_Off) do
  4648. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -1313055798).with('textdescid', -439670058).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  4649. .with('uitreeindex', 18)
  4650. .with('classname', 'CheckedTextView')
  4651. .with('resource-id', 'android:id/text1')
  4652. .with('content-desc', 'Off')
  4653. .with('text', 'Off')
  4654.  
  4655. $ruiObj.click
  4656.  
  4657. waitsecond(2)
  4658. end
  4659.  
  4660. tcase << TestAction.new(:Shutter_Button) do
  4661. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  4662. .with('uitreeindex', 9)
  4663. .with('classname', 'ImageButton')
  4664. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  4665. .with('content-desc', 'Shutter')
  4666.  
  4667. $ruiObj.click
  4668.  
  4669. waitsecond(2)
  4670. end
  4671.  
  4672. tcase << TestAction.new(:checkAndDelete) do
  4673. checkAndDelete
  4674.  
  4675. waitsecond(2)
  4676. end
  4677.  
  4678. tcase << TestAction.new(:LogStop) do
  4679. $myTestResult = !checkLastExistResult
  4680.  
  4681. logStopTest("2_1_2_13_Picture_Auto")
  4682.  
  4683. waitsecond(2)
  4684. end
  4685.  
  4686. tcase.run(loopTime)
  4687.  
  4688. end
  4689.  
  4690. def self.PictureAuto_2_1_2_14(loopTime)
  4691.  
  4692. tcase = TestCase.new("PictureAuto_2_1_2_14")
  4693.  
  4694. tcase << TestAction.new(:LogStart) do
  4695. logStartTest("2_1_2_14_Picture_Auto")
  4696.  
  4697. waitsecond(2)
  4698. end
  4699.  
  4700. tcase << TestAction.new(:Open_Camera_Settings) do
  4701. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  4702. .with('uitreeindex', 2)
  4703. .with('classname', 'ImageButton')
  4704. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  4705. .with('content-desc', 'Open settings')
  4706.  
  4707. $ruiObj.click
  4708.  
  4709. waitsecond(2)
  4710. end
  4711.  
  4712. tcase << TestAction.new(:Time_Menu) do
  4713. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 1184885601).with('classresourceid', -1956269507)
  4714. .with('uitreeindex', 30)
  4715. .with('classname', 'TextView')
  4716. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  4717. .with('content-desc', 'Timer')
  4718. .with('text', 'Timer')
  4719.  
  4720. $ruiObj.click
  4721.  
  4722. waitsecond(2)
  4723. end
  4724.  
  4725. tcase << TestAction.new(:Timer_Off) do
  4726. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -1313055798).with('textdescid', -439670058).with('uniqueparentid', 1184885601).with('classresourceid', 2074814108)
  4727. .with('uitreeindex', 16)
  4728. .with('classname', 'CheckedTextView')
  4729. .with('resource-id', 'android:id/text1')
  4730. .with('content-desc', 'Off')
  4731. .with('text', 'Off')
  4732.  
  4733. $ruiObj.click
  4734.  
  4735. waitsecond(2)
  4736. end
  4737.  
  4738. tcase << TestAction.new(:Shutter_Button) do
  4739. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  4740. .with('uitreeindex', 9)
  4741. .with('classname', 'ImageButton')
  4742. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  4743. .with('content-desc', 'Shutter')
  4744.  
  4745. $ruiObj.click
  4746.  
  4747. waitsecond(2)
  4748. end
  4749.  
  4750. tcase << TestAction.new(:checkAndDelete) do
  4751. checkAndDelete
  4752.  
  4753. waitsecond(2)
  4754. end
  4755.  
  4756. tcase << TestAction.new(:LogStop) do
  4757. $myTestResult = !checkLastExistResult
  4758.  
  4759. logStopTest("2_1_2_14_Picture_Auto")
  4760.  
  4761. waitsecond(2)
  4762. end
  4763.  
  4764. tcase.run(loopTime)
  4765.  
  4766. end
  4767.  
  4768. def self.PictureAuto_2_1_2_15(loopTime)
  4769.  
  4770. tcase = TestCase.new("PictureAuto_2_1_2_15")
  4771.  
  4772. tcase << TestAction.new(:LogStart) do
  4773. logStartTest("2_1_2_15_Picture_Auto")
  4774.  
  4775. waitsecond(2)
  4776. end
  4777.  
  4778. tcase << TestAction.new(:Open_Camera_Settings) do
  4779. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  4780. .with('uitreeindex', 2)
  4781. .with('classname', 'ImageButton')
  4782. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  4783. .with('content-desc', 'Open settings')
  4784.  
  4785. $ruiObj.click
  4786.  
  4787. waitsecond(2)
  4788. end
  4789.  
  4790. tcase << TestAction.new(:Timer_Menu) do
  4791. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  4792. .with('uitreeindex', 30)
  4793. .with('classname', 'TextView')
  4794. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  4795. .with('content-desc', 'Timer')
  4796. .with('text', 'Timer')
  4797.  
  4798. $ruiObj.click
  4799.  
  4800. waitsecond(2)
  4801. end
  4802.  
  4803. tcase << TestAction.new(:Timer_3sec) do
  4804. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1159119924).with('textdescid', -2081065364).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  4805. .with('uitreeindex', 17)
  4806. .with('classname', 'CheckedTextView')
  4807. .with('resource-id', 'android:id/text1')
  4808. .with('content-desc', '3 sec')
  4809. .with('text', '3 sec')
  4810.  
  4811. $ruiObj.click
  4812.  
  4813. waitsecond(2)
  4814. end
  4815.  
  4816. tcase << TestAction.new(:Shutter_Button) do
  4817. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  4818. .with('uitreeindex', 9)
  4819. .with('classname', 'ImageButton')
  4820. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  4821. .with('content-desc', 'Shutter')
  4822.  
  4823. $ruiObj.click
  4824.  
  4825. waitsecond(5)
  4826. end
  4827.  
  4828. tcase << TestAction.new(:checkAndDelete) do
  4829. checkAndDelete
  4830.  
  4831. waitsecond(2)
  4832. end
  4833.  
  4834. tcase << TestAction.new(:LogStop) do
  4835. $myTestResult = !checkLastExistResult
  4836.  
  4837. logStopTest("2_1_2_15_Picture_Auto")
  4838.  
  4839. waitsecond(2)
  4840. end
  4841.  
  4842. tcase.run(loopTime)
  4843.  
  4844. end
  4845.  
  4846. def self.PictureAuto_2_1_2_16(loopTime)
  4847.  
  4848. tcase = TestCase.new("PictureAuto_2_1_2_16")
  4849.  
  4850. tcase << TestAction.new(:LogStart) do
  4851. logStartTest("2_1_2_16_Picture_Auto")
  4852.  
  4853. waitsecond(2)
  4854. end
  4855.  
  4856. tcase << TestAction.new(:Open_Camera_Settings) do
  4857. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  4858. .with('uitreeindex', 2)
  4859. .with('classname', 'ImageButton')
  4860. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  4861. .with('content-desc', 'Open settings')
  4862.  
  4863. $ruiObj.click
  4864.  
  4865. waitsecond(2)
  4866. end
  4867.  
  4868. tcase << TestAction.new(:Timer_Menu) do
  4869. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  4870. .with('uitreeindex', 30)
  4871. .with('classname', 'TextView')
  4872. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  4873. .with('content-desc', 'Timer')
  4874. .with('text', 'Timer')
  4875.  
  4876. $ruiObj.click
  4877.  
  4878. waitsecond(2)
  4879. end
  4880.  
  4881. tcase << TestAction.new(:Timer_10sec) do
  4882. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1902492716).with('textdescid', 885416180).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  4883. .with('uitreeindex', 18)
  4884. .with('classname', 'CheckedTextView')
  4885. .with('resource-id', 'android:id/text1')
  4886. .with('content-desc', '10 sec')
  4887. .with('text', '10 sec')
  4888.  
  4889. $ruiObj.click
  4890.  
  4891. waitsecond(2)
  4892. end
  4893.  
  4894. tcase << TestAction.new(:Shutter_Button) do
  4895. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  4896. .with('uitreeindex', 9)
  4897. .with('classname', 'ImageButton')
  4898. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  4899. .with('content-desc', 'Shutter')
  4900.  
  4901. $ruiObj.click
  4902.  
  4903. waitsecond(12)
  4904. end
  4905.  
  4906. tcase << TestAction.new(:Open_Camera_Settings_1) do
  4907. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  4908. .with('uitreeindex', 2)
  4909. .with('classname', 'ImageButton')
  4910. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  4911. .with('content-desc', 'Open settings')
  4912.  
  4913. $ruiObj.click
  4914.  
  4915. waitsecond(2)
  4916. end
  4917.  
  4918. tcase << TestAction.new(:Timer_Menu_1) do
  4919. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  4920. .with('uitreeindex', 30)
  4921. .with('classname', 'TextView')
  4922. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  4923. .with('content-desc', 'Timer')
  4924. .with('text', 'Timer')
  4925.  
  4926. $ruiObj.click
  4927.  
  4928. waitsecond(2)
  4929. end
  4930.  
  4931. tcase << TestAction.new(:Timer_Off) do
  4932. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -1313055798).with('textdescid', -439670058).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  4933. .with('uitreeindex', 16)
  4934. .with('classname', 'CheckedTextView')
  4935. .with('resource-id', 'android:id/text1')
  4936. .with('content-desc', 'Off')
  4937. .with('text', 'Off')
  4938.  
  4939. $ruiObj.click
  4940.  
  4941. waitsecond(2)
  4942. end
  4943.  
  4944. tcase << TestAction.new(:checkAndDelete) do
  4945. checkAndDelete
  4946.  
  4947. waitsecond(2)
  4948. end
  4949.  
  4950. tcase << TestAction.new(:LogStop) do
  4951. $myTestResult = !checkLastExistResult
  4952.  
  4953. logStopTest("2_1_2_16_Picture_Auto")
  4954.  
  4955. waitsecond(2)
  4956. end
  4957.  
  4958. tcase.run(loopTime)
  4959.  
  4960. end
  4961.  
  4962. def self.PictureAuto_2_1_2_17(loopTime)
  4963.  
  4964. tcase = TestCase.new("PictureAuto_2_1_2_17")
  4965.  
  4966. tcase << TestAction.new(:LogStart) do
  4967. logStartTest("2_1_2_17_Picture_Auto")
  4968.  
  4969. waitsecond(2)
  4970. end
  4971.  
  4972. tcase << TestAction.new(:Open_Camera_Settings) do
  4973. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  4974. .with('uitreeindex', 2)
  4975. .with('classname', 'ImageButton')
  4976. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  4977. .with('content-desc', 'Open settings')
  4978.  
  4979. $ruiObj.click
  4980.  
  4981. waitsecond(2)
  4982. end
  4983.  
  4984. tcase << TestAction.new(:Cheese_Shutter_On) do
  4985. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -805427468).with('textdescid', -450343400).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  4986. .with('uitreeindex', 34)
  4987. .with('classname', 'TextView')
  4988. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  4989. .with('content-desc', 'Take a photo by saying "Cheese," "Smile," "Whiskey," "Kimchi" or "LG". Off switch')
  4990. .with('text', 'Take a photo by saying Cheese Smile Whiskey Kimchi or LG')
  4991.  
  4992. $ruiObj.click
  4993.  
  4994. waitsecond(2)
  4995. end
  4996.  
  4997. tcase << TestAction.new(:Shutter_Button) do
  4998. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  4999. .with('uitreeindex', 9)
  5000. .with('classname', 'ImageButton')
  5001. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  5002. .with('content-desc', 'Shutter')
  5003.  
  5004. $ruiObj.click
  5005.  
  5006. waitsecond(2)
  5007. end
  5008.  
  5009. tcase << TestAction.new(:checkAndDelete) do
  5010. checkAndDelete
  5011.  
  5012. waitsecond(2)
  5013. end
  5014.  
  5015. tcase << TestAction.new(:LogStop) do
  5016. $myTestResult = !checkLastExistResult
  5017.  
  5018. logStopTest("2_1_2_17_Picture_Auto")
  5019.  
  5020. waitsecond(2)
  5021. end
  5022.  
  5023. tcase.run(loopTime)
  5024.  
  5025. end
  5026.  
  5027. def self.PictureAuto_2_1_2_18(loopTime)
  5028.  
  5029. tcase = TestCase.new("PictureAuto_2_1_2_18")
  5030.  
  5031. tcase << TestAction.new(:LogStart) do
  5032. logStartTest("2_1_2_18_Picture_Auto")
  5033.  
  5034. waitsecond(2)
  5035. end
  5036.  
  5037. tcase << TestAction.new(:Open_Camera_Settings) do
  5038. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  5039. .with('uitreeindex', 2)
  5040. .with('classname', 'ImageButton')
  5041. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  5042. .with('content-desc', 'Open settings')
  5043.  
  5044. $ruiObj.click
  5045.  
  5046. waitsecond(2)
  5047. end
  5048.  
  5049. tcase << TestAction.new(:SelfieShot_Menu) do
  5050. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -918458438).with('textdescid', -1072017926).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  5051. .with('uitreeindex', 36)
  5052. .with('classname', 'TextView')
  5053. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  5054. .with('text', 'Take a selfie with a raised hand made into a fist Gesture shot or with your face detected Auto shot')
  5055.  
  5056. $ruiObj.click
  5057.  
  5058. waitsecond(2)
  5059. end
  5060.  
  5061. tcase << TestAction.new(:Selfie_Gesture) do
  5062. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1700660236).with('textdescid', -81264300).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  5063. .with('uitreeindex', 15)
  5064. .with('classname', 'CheckedTextView')
  5065. .with('resource-id', 'android:id/text1')
  5066. .with('content-desc', 'Gesture shot')
  5067. .with('text', 'Gesture shot')
  5068.  
  5069. $ruiObj.click
  5070.  
  5071. waitsecond(2)
  5072. end
  5073.  
  5074. tcase << TestAction.new(:Shutter_Button) do
  5075. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  5076. .with('uitreeindex', 9)
  5077. .with('classname', 'ImageButton')
  5078. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  5079. .with('content-desc', 'Shutter')
  5080.  
  5081. $ruiObj.click
  5082.  
  5083. waitsecond(2)
  5084. end
  5085.  
  5086. tcase << TestAction.new(:checkAndDelete) do
  5087. checkAndDelete
  5088.  
  5089. waitsecond(2)
  5090. end
  5091.  
  5092. tcase << TestAction.new(:LogStop) do
  5093. $myTestResult = !checkLastExistResult
  5094.  
  5095. logStopTest("2_1_2_18_Picture_Auto")
  5096.  
  5097. waitsecond(2)
  5098. end
  5099.  
  5100. tcase.run(loopTime)
  5101.  
  5102. end
  5103.  
  5104. def self.PictureAuto_2_1_2_19(loopTime)
  5105.  
  5106. tcase = TestCase.new("PictureAuto_2_1_2_19")
  5107.  
  5108. tcase << TestAction.new(:LogStart) do
  5109. logStartTest("2_1_2_19_Picture_Auto")
  5110.  
  5111. waitsecond(2)
  5112. end
  5113.  
  5114. tcase << TestAction.new(:Open_Camera_Settings) do
  5115. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  5116. .with('uitreeindex', 2)
  5117. .with('classname', 'ImageButton')
  5118. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  5119. .with('content-desc', 'Open settings')
  5120.  
  5121. $ruiObj.click
  5122.  
  5123. waitsecond(2)
  5124. end
  5125.  
  5126. tcase << TestAction.new(:SelfieShot_Menu) do
  5127. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -918458438).with('textdescid', -1072017926).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  5128. .with('uitreeindex', 36)
  5129. .with('classname', 'TextView')
  5130. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  5131. .with('text', 'Take a selfie with a raised hand made into a fist Gesture shot or with your face detected Auto shot')
  5132.  
  5133. $ruiObj.click
  5134.  
  5135. waitsecond(2)
  5136. end
  5137.  
  5138. tcase << TestAction.new(:Selfie_Gesture) do
  5139. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1700660236).with('textdescid', -81264300).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  5140. .with('uitreeindex', 15)
  5141. .with('classname', 'CheckedTextView')
  5142. .with('resource-id', 'android:id/text1')
  5143. .with('content-desc', 'Gesture shot')
  5144. .with('text', 'Gesture shot')
  5145.  
  5146. $ruiObj.click
  5147.  
  5148. waitsecond(2)
  5149. end
  5150.  
  5151. tcase << TestAction.new(:Shutter_Button) do
  5152. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  5153. .with('uitreeindex', 9)
  5154. .with('classname', 'ImageButton')
  5155. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  5156. .with('content-desc', 'Shutter')
  5157.  
  5158. $ruiObj.click
  5159.  
  5160. waitsecond(2)
  5161. end
  5162.  
  5163. tcase << TestAction.new(:checkAndDelete) do
  5164. checkAndDelete
  5165.  
  5166. waitsecond(2)
  5167. end
  5168.  
  5169. tcase << TestAction.new(:LogStop) do
  5170. $myTestResult = !checkLastExistResult
  5171.  
  5172. logStopTest("2_1_2_19_Picture_Auto")
  5173.  
  5174. waitsecond(2)
  5175. end
  5176.  
  5177. tcase.run(loopTime)
  5178.  
  5179. end
  5180.  
  5181. def self.PictureAuto_2_1_2_2(loopTime)
  5182.  
  5183. tcase = TestCase.new("PictureAuto_2_1_2_2")
  5184.  
  5185. tcase << TestAction.new(:LogStart) do
  5186. logStartTest("2_1_2_2_Picture_Auto")
  5187.  
  5188. waitsecond(2)
  5189. end
  5190.  
  5191. tcase << TestAction.new(:Volume_Key_Button) do
  5192. pressVolumeKeyDown
  5193.  
  5194. waitsecond(2)
  5195. end
  5196.  
  5197. tcase << TestAction.new(:checkAndDelete) do
  5198. checkAndDelete
  5199.  
  5200. waitsecond(2)
  5201. end
  5202.  
  5203. tcase << TestAction.new(:LogStop) do
  5204. $myTestResult = !checkLastExistResult
  5205.  
  5206. logStopTest("2_1_2_2_Picture_Auto")
  5207.  
  5208. waitsecond(2)
  5209. end
  5210.  
  5211. tcase.run(loopTime)
  5212.  
  5213. end
  5214.  
  5215. def self.PictureAuto_2_1_2_20(loopTime)
  5216.  
  5217. tcase = TestCase.new("PictureAuto_2_1_2_20")
  5218.  
  5219. tcase << TestAction.new(:LogStart) do
  5220. logStartTest("2_1_2_20_Picture_Auto")
  5221.  
  5222. waitsecond(2)
  5223. end
  5224.  
  5225. tcase << TestAction.new(:Open_Camera_Settings) do
  5226. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  5227. .with('uitreeindex', 2)
  5228. .with('classname', 'ImageButton')
  5229. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  5230. .with('content-desc', 'Open settings')
  5231.  
  5232. $ruiObj.click
  5233.  
  5234. waitsecond(2)
  5235. end
  5236.  
  5237. tcase << TestAction.new(:SelfieShot_Menu) do
  5238. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -918458438).with('textdescid', -1072017926).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  5239. .with('uitreeindex', 36)
  5240. .with('classname', 'TextView')
  5241. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  5242. .with('text', 'Take a selfie with a raised hand made into a fist Gesture shot or with your face detected Auto shot')
  5243.  
  5244. $ruiObj.click
  5245.  
  5246. waitsecond(2)
  5247. end
  5248.  
  5249. tcase << TestAction.new(:Gesture_Auto) do
  5250. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 891878210).with('textdescid', 452006750).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  5251. .with('uitreeindex', 16)
  5252. .with('classname', 'CheckedTextView')
  5253. .with('resource-id', 'android:id/text1')
  5254. .with('content-desc', 'Auto shot')
  5255. .with('text', 'Auto shot')
  5256.  
  5257. $ruiObj.click
  5258.  
  5259. waitsecond(2)
  5260. end
  5261.  
  5262. tcase << TestAction.new(:Shutter_Button) do
  5263. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  5264. .with('uitreeindex', 9)
  5265. .with('classname', 'ImageButton')
  5266. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  5267. .with('content-desc', 'Shutter')
  5268.  
  5269. $ruiObj.click
  5270.  
  5271. waitsecond(2)
  5272. end
  5273.  
  5274. tcase << TestAction.new(:checkAndDelete) do
  5275. checkAndDelete
  5276.  
  5277. waitsecond(2)
  5278. end
  5279.  
  5280. tcase << TestAction.new(:LogStop) do
  5281. $myTestResult = !checkLastExistResult
  5282.  
  5283. logStopTest("2_1_2_20_Picture_Auto")
  5284.  
  5285. waitsecond(2)
  5286. end
  5287.  
  5288. tcase.run(loopTime)
  5289.  
  5290. end
  5291.  
  5292. def self.PictureAuto_2_1_2_21(loopTime)
  5293.  
  5294. tcase = TestCase.new("PictureAuto_2_1_2_21")
  5295.  
  5296. tcase << TestAction.new(:LogStart) do
  5297. logStartTest("2_1_2_21_Picture_Auto")
  5298.  
  5299. waitsecond(2)
  5300. end
  5301.  
  5302. tcase << TestAction.new(:Open_Camera_Settings) do
  5303. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  5304. .with('uitreeindex', 3)
  5305. .with('classname', 'ImageButton')
  5306. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  5307. .with('content-desc', 'Open settings')
  5308.  
  5309. $ruiObj.click
  5310.  
  5311. waitsecond(2)
  5312. end
  5313.  
  5314. tcase << TestAction.new(:Swipe_Down) do
  5315. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  5316. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  5317.  
  5318. waitsecond(2)
  5319. end
  5320.  
  5321. tcase << TestAction.new(:Tag_Locations_On) do
  5322. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -550432648).with('textdescid', -1242618788).with('uniqueparentid', -1650613875).with('classresourceid', -1956269507)
  5323. .with('uitreeindex', 27)
  5324. .with('classname', 'TextView')
  5325. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  5326. .with('content-desc', 'Tag locations Off switch')
  5327. .with('text', 'Tag locations')
  5328.  
  5329. $ruiObj.click
  5330.  
  5331. waitsecond(2)
  5332. end
  5333.  
  5334. tcase << TestAction.new(:Shutter_Button) do
  5335. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', -1650613875)
  5336. .with('uitreeindex', 9)
  5337. .with('classname', 'ImageButton')
  5338. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  5339. .with('content-desc', 'Shutter')
  5340.  
  5341. $ruiObj.click
  5342.  
  5343. waitsecond(2)
  5344. end
  5345.  
  5346. tcase << TestAction.new(:checkAndDelete) do
  5347. checkAndDelete
  5348.  
  5349. waitsecond(2)
  5350. end
  5351.  
  5352. tcase << TestAction.new(:LogStop) do
  5353. $myTestResult = !checkLastExistResult
  5354.  
  5355. logStopTest("2_1_2_21_Picture_Auto")
  5356.  
  5357. waitsecond(2)
  5358. end
  5359.  
  5360. tcase.run(loopTime)
  5361.  
  5362. end
  5363.  
  5364. def self.PictureAuto_2_1_2_22(loopTime)
  5365.  
  5366. tcase = TestCase.new("PictureAuto_2_1_2_22")
  5367.  
  5368. tcase << TestAction.new(:LogStart) do
  5369. logStartTest("2_1_2_22_Picture_Auto")
  5370.  
  5371. waitsecond(2)
  5372. end
  5373.  
  5374. tcase << TestAction.new(:Open_Camera_Settings) do
  5375. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  5376. .with('uitreeindex', 2)
  5377. .with('classname', 'ImageButton')
  5378. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  5379. .with('content-desc', 'Open settings')
  5380.  
  5381. $ruiObj.click
  5382.  
  5383. waitsecond(2)
  5384. end
  5385.  
  5386. tcase << TestAction.new(:Swipe_Down) do
  5387. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  5388. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  5389.  
  5390. waitsecond(2)
  5391. end
  5392.  
  5393. tcase << TestAction.new(:Flipped_On) do
  5394. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -1630731240).with('textdescid', 197516924).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  5395. .with('uitreeindex', 26)
  5396. .with('classname', 'TextView')
  5397. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  5398. .with('content-desc', 'Save as flipped Off switch')
  5399. .with('text', 'Save as flipped')
  5400.  
  5401. $ruiObj.click
  5402.  
  5403. waitsecond(2)
  5404. end
  5405.  
  5406. tcase << TestAction.new(:Shutter_Button) do
  5407. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  5408. .with('uitreeindex', 9)
  5409. .with('classname', 'ImageButton')
  5410. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  5411. .with('content-desc', 'Shutter')
  5412.  
  5413. $ruiObj.click
  5414.  
  5415. waitsecond(2)
  5416. end
  5417.  
  5418. tcase << TestAction.new(:checkAndDelete) do
  5419. checkAndDelete
  5420.  
  5421. waitsecond(2)
  5422. end
  5423.  
  5424. tcase << TestAction.new(:LogStop) do
  5425. $myTestResult = !checkLastExistResult
  5426.  
  5427. logStopTest("2_1_2_22_Picture_Auto")
  5428.  
  5429. waitsecond(2)
  5430. end
  5431.  
  5432. tcase.run(loopTime)
  5433.  
  5434. end
  5435.  
  5436. def self.PictureAuto_2_1_2_23(loopTime)
  5437.  
  5438. tcase = TestCase.new("PictureAuto_2_1_2_23")
  5439.  
  5440. tcase << TestAction.new(:LogStart) do
  5441. logStartTest("2_1_2_23_Picture_Auto")
  5442.  
  5443. waitsecond(2)
  5444. end
  5445.  
  5446. tcase << TestAction.new(:Open_Camera_Settings) do
  5447. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  5448. .with('uitreeindex', 3)
  5449. .with('classname', 'ImageButton')
  5450. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  5451. .with('content-desc', 'Open settings')
  5452.  
  5453. $ruiObj.click
  5454.  
  5455. waitsecond(2)
  5456. end
  5457.  
  5458. tcase << TestAction.new(:Swipe_Down) do
  5459. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  5460. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  5461.  
  5462. waitsecond(2)
  5463. end
  5464.  
  5465. tcase << TestAction.new(:AddSignature_On) do
  5466. $ruiObj = RUIObject.new.with('objectid', -683742256).with('selfid', -1808037368).with('textdescid', 1731452673).with('uniqueparentid', 0).with('classresourceid', -1698211271)
  5467. .with('uitreeindex', 35)
  5468. .with('classname', 'Switch')
  5469. .with('resource-id', 'com.lge.camera:id/setting_switch')
  5470. .with('text', 'OFF')
  5471.  
  5472. $ruiObj.select('ItemLast').click
  5473.  
  5474. waitsecond(2)
  5475. end
  5476.  
  5477. tcase << TestAction.new(:Shutter_Button) do
  5478. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  5479. .with('uitreeindex', 9)
  5480. .with('classname', 'ImageButton')
  5481. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  5482. .with('content-desc', 'Shutter')
  5483.  
  5484. $ruiObj.click
  5485.  
  5486. waitsecond(2)
  5487. end
  5488.  
  5489. tcase << TestAction.new(:checkAndDelete) do
  5490. checkAndDelete
  5491.  
  5492. waitsecond(2)
  5493. end
  5494.  
  5495. tcase << TestAction.new(:LogStop) do
  5496. $myTestResult = !checkLastExistResult
  5497.  
  5498. logStopTest("2_1_2_23_Picture_Auto")
  5499.  
  5500. waitsecond(2)
  5501. end
  5502.  
  5503. tcase.run(loopTime)
  5504.  
  5505. end
  5506.  
  5507. def self.PictureAuto_2_1_2_24(loopTime)
  5508.  
  5509. tcase = TestCase.new("PictureAuto_2_1_2_24")
  5510.  
  5511. tcase << TestAction.new(:LogStart) do
  5512. logStartTest("2_1_2_24_Picture_Auto")
  5513.  
  5514. waitsecond(2)
  5515. end
  5516.  
  5517. tcase << TestAction.new(:Open_Camera_Settings) do
  5518. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  5519. .with('uitreeindex', 3)
  5520. .with('classname', 'ImageButton')
  5521. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  5522. .with('content-desc', 'Open settings')
  5523.  
  5524. $ruiObj.click
  5525.  
  5526. waitsecond(2)
  5527. end
  5528.  
  5529. tcase << TestAction.new(:Swipe_Down) do
  5530. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  5531. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  5532.  
  5533. waitsecond(2)
  5534. end
  5535.  
  5536. tcase << TestAction.new(:Simple_View_Enter) do
  5537. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -1638459757).with('textdescid', -1395718599).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  5538. .with('uitreeindex', 35)
  5539. .with('classname', 'TextView')
  5540. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  5541. .with('content-desc', 'Simple view')
  5542. .with('text', 'Simple view')
  5543.  
  5544. $ruiObj.click
  5545.  
  5546. waitsecond(2)
  5547. end
  5548.  
  5549. tcase << TestAction.new(:Simple_View_Picture) do
  5550. click(getDisplayWidth/2, getDisplayHeight/2)
  5551.  
  5552. waitsecond(3)
  5553. end
  5554.  
  5555. tcase << TestAction.new(:Simple_View_Exit) do
  5556. $ruiObj = RUIObject.new.with('objectid', 1601410951).with('selfid', 2479282).with('textdescid', -1209880514).with('uniqueparentid', 0)
  5557. .with('uitreeindex', 3)
  5558. .with('classname', 'ImageButton')
  5559. .with('resource-id', 'com.lge.camera:id/quick_button_clean_view_off')
  5560. .with('content-desc', 'View')
  5561.  
  5562. $ruiObj.click
  5563.  
  5564. waitsecond(2)
  5565. end
  5566.  
  5567. tcase << TestAction.new(:checkAndDelete) do
  5568. checkAndDelete
  5569.  
  5570. waitsecond(2)
  5571. end
  5572.  
  5573. tcase << TestAction.new(:LogStop) do
  5574. $myTestResult = !checkLastExistResult
  5575.  
  5576. logStopTest("2_1_2_24_Picture_Auto")
  5577.  
  5578. waitsecond(2)
  5579. end
  5580.  
  5581. tcase.run(loopTime)
  5582.  
  5583. end
  5584.  
  5585. def self.PictureAuto_2_1_2_25(loopTime)
  5586.  
  5587. tcase = TestCase.new("PictureAuto_2_1_2_25")
  5588.  
  5589. tcase << TestAction.new(:LogStart) do
  5590. logStartTest("2_1_2_25_Picture_Auto")
  5591.  
  5592. waitsecond(2)
  5593. end
  5594.  
  5595. tcase << TestAction.new(:Open_Camera_Settings) do
  5596. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  5597. .with('uitreeindex', 3)
  5598. .with('classname', 'ImageButton')
  5599. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  5600. .with('content-desc', 'Open settings')
  5601.  
  5602. $ruiObj.click
  5603.  
  5604. waitsecond(2)
  5605. end
  5606.  
  5607. tcase << TestAction.new(:Swipe_Down) do
  5608. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  5609. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  5610.  
  5611. waitsecond(2)
  5612. end
  5613.  
  5614. tcase << TestAction.new(:Simple_View_Enter) do
  5615. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -1638459757).with('textdescid', -1395718599).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  5616. .with('uitreeindex', 35)
  5617. .with('classname', 'TextView')
  5618. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  5619. .with('content-desc', 'Simple view')
  5620. .with('text', 'Simple view')
  5621.  
  5622. $ruiObj.click
  5623.  
  5624. waitsecond(2)
  5625. end
  5626.  
  5627. tcase << TestAction.new(:Simple_View_Volume_Key) do
  5628. pressVolumeKeyDown
  5629.  
  5630. waitsecond(3)
  5631. end
  5632.  
  5633. tcase << TestAction.new(:Simple_View_Exit) do
  5634. $ruiObj = RUIObject.new.with('objectid', 1601410951).with('selfid', 2479282).with('textdescid', -1209880514).with('uniqueparentid', 0)
  5635. .with('uitreeindex', 3)
  5636. .with('classname', 'ImageButton')
  5637. .with('resource-id', 'com.lge.camera:id/quick_button_clean_view_off')
  5638. .with('content-desc', 'View')
  5639.  
  5640. $ruiObj.click
  5641.  
  5642. waitsecond(2)
  5643. end
  5644.  
  5645. tcase << TestAction.new(:checkAndDelete) do
  5646. checkAndDelete
  5647.  
  5648. waitsecond(2)
  5649. end
  5650.  
  5651. tcase << TestAction.new(:LogStop) do
  5652. $myTestResult = !checkLastExistResult
  5653.  
  5654. logStopTest("2_1_2_25_Picture_Auto")
  5655.  
  5656. waitsecond(2)
  5657. end
  5658.  
  5659. tcase.run(loopTime)
  5660.  
  5661. end
  5662.  
  5663. def self.PictureAuto_2_1_2_26(loopTime)
  5664.  
  5665. tcase = TestCase.new("PictureAuto_2_1_2_26")
  5666.  
  5667. tcase << TestAction.new(:LogStart) do
  5668. logStartTest("2_1_2_26_Picture_Auto")
  5669.  
  5670. waitsecond(2)
  5671. end
  5672.  
  5673. tcase << TestAction.new(:Open_Camera_Settings) do
  5674. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  5675. .with('uitreeindex', 3)
  5676. .with('classname', 'ImageButton')
  5677. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  5678. .with('content-desc', 'Open settings')
  5679.  
  5680. $ruiObj.click
  5681.  
  5682. waitsecond(2)
  5683. end
  5684.  
  5685. tcase << TestAction.new(:Swipe_Down) do
  5686. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  5687. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  5688.  
  5689. waitsecond(2)
  5690. end
  5691.  
  5692. tcase << TestAction.new(:Simple_View_Enter) do
  5693. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -1638459757).with('textdescid', -1395718599).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  5694. .with('uitreeindex', 35)
  5695. .with('classname', 'TextView')
  5696. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  5697. .with('content-desc', 'Simple view')
  5698. .with('text', 'Simple view')
  5699.  
  5700. $ruiObj.click
  5701.  
  5702. waitsecond(2)
  5703. end
  5704.  
  5705. tcase << TestAction.new(:Simple_View_Picture) do
  5706. click(getDisplayWidth/2, getDisplayHeight/2)
  5707.  
  5708. waitsecond(3)
  5709. end
  5710.  
  5711. tcase << TestAction.new(:Simple_View_Exit) do
  5712. $ruiObj = RUIObject.new.with('objectid', 1601410951).with('selfid', 2479282).with('textdescid', -1209880514).with('uniqueparentid', 0)
  5713. .with('uitreeindex', 3)
  5714. .with('classname', 'ImageButton')
  5715. .with('resource-id', 'com.lge.camera:id/quick_button_clean_view_off')
  5716. .with('content-desc', 'View')
  5717.  
  5718. $ruiObj.click
  5719.  
  5720. waitsecond(2)
  5721. end
  5722.  
  5723. tcase << TestAction.new(:checkAndDelete) do
  5724. checkAndDelete
  5725.  
  5726. waitsecond(2)
  5727. end
  5728.  
  5729. tcase << TestAction.new(:LogStop) do
  5730. $myTestResult = !checkLastExistResult
  5731.  
  5732. logStopTest("2_1_2_26_Picture_Auto")
  5733.  
  5734. waitsecond(2)
  5735. end
  5736.  
  5737. tcase.run(loopTime)
  5738.  
  5739. end
  5740.  
  5741. def self.PictureAuto_2_1_2_27(loopTime)
  5742.  
  5743. tcase = TestCase.new("PictureAuto_2_1_2_27")
  5744.  
  5745. tcase << TestAction.new(:LogStart) do
  5746. logStartTest("2_1_2_27_Picture_Auto")
  5747.  
  5748. waitsecond(2)
  5749. end
  5750.  
  5751. tcase << TestAction.new(:Open_Camera_Settings) do
  5752. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  5753. .with('uitreeindex', 3)
  5754. .with('classname', 'ImageButton')
  5755. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  5756. .with('content-desc', 'Open settings')
  5757.  
  5758. $ruiObj.click
  5759.  
  5760. waitsecond(2)
  5761. end
  5762.  
  5763. tcase << TestAction.new(:Swipe_Down) do
  5764. swipe(getDisplayHeight/2, getDisplayWidth/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  5765.  
  5766. waitsecond(2)
  5767. end
  5768.  
  5769. tcase << TestAction.new(:Simple_View_Enter) do
  5770. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -1638459757).with('textdescid', -1395718599).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  5771. .with('uitreeindex', 35)
  5772. .with('classname', 'TextView')
  5773. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  5774. .with('content-desc', 'Simple view')
  5775. .with('text', 'Simple view')
  5776.  
  5777. $ruiObj.click
  5778.  
  5779. waitsecond(2)
  5780. end
  5781.  
  5782. tcase << TestAction.new(:Simple_View_Picture) do
  5783. click(getDisplayWidth/2, getDisplayHeight/2)
  5784.  
  5785. waitsecond(3)
  5786. end
  5787.  
  5788. tcase << TestAction.new(:Simple_View_Exit) do
  5789. $ruiObj = RUIObject.new.with('objectid', 1601410951).with('selfid', 2479282).with('textdescid', -1209880514).with('uniqueparentid', 0)
  5790. .with('uitreeindex', 3)
  5791. .with('classname', 'ImageButton')
  5792. .with('resource-id', 'com.lge.camera:id/quick_button_clean_view_off')
  5793. .with('content-desc', 'View')
  5794.  
  5795. $ruiObj.click
  5796.  
  5797. waitsecond(2)
  5798. end
  5799.  
  5800. tcase << TestAction.new(:checkAndDelete) do
  5801. checkAndDelete
  5802.  
  5803. waitsecond(2)
  5804. end
  5805.  
  5806. tcase << TestAction.new(:LogStop) do
  5807. $myTestResult = !checkLastExistResult
  5808.  
  5809. logStopTest("2_1_2_27_Picture_Auto")
  5810.  
  5811. waitsecond(2)
  5812. end
  5813.  
  5814. tcase.run(loopTime)
  5815.  
  5816. end
  5817.  
  5818. def self.PictureAuto_2_1_2_28(loopTime)
  5819.  
  5820. tcase = TestCase.new("PictureAuto_2_1_2_28")
  5821.  
  5822. tcase << TestAction.new(:LogStart) do
  5823. logStartTest("2_1_2_28_Picture_Auto")
  5824.  
  5825. waitsecond(2)
  5826. end
  5827.  
  5828. tcase << TestAction.new(:Open_Camera_Settings) do
  5829. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  5830. .with('uitreeindex', 3)
  5831. .with('classname', 'ImageButton')
  5832. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  5833. .with('content-desc', 'Open settings')
  5834.  
  5835. $ruiObj.click
  5836.  
  5837. waitsecond(2)
  5838. end
  5839.  
  5840. tcase << TestAction.new(:Swipe_Down) do
  5841. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  5842. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  5843.  
  5844. waitsecond(2)
  5845. end
  5846.  
  5847. tcase << TestAction.new(:Simple_View_Enter) do
  5848. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -1638459757).with('textdescid', -1395718599).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  5849. .with('uitreeindex', 35)
  5850. .with('classname', 'TextView')
  5851. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  5852. .with('content-desc', 'Simple view')
  5853. .with('text', 'Simple view')
  5854.  
  5855. $ruiObj.click
  5856.  
  5857. waitsecond(2)
  5858. end
  5859.  
  5860. tcase << TestAction.new(:Simple_View_Picture) do
  5861. click(getDisplayWidth/2, getDisplayHeight/2)
  5862.  
  5863. waitsecond(3)
  5864. end
  5865.  
  5866. tcase << TestAction.new(:Simple_View_Exit) do
  5867. $ruiObj = RUIObject.new.with('objectid', 1601410951).with('selfid', 2479282).with('textdescid', -1209880514).with('uniqueparentid', 0)
  5868. .with('uitreeindex', 3)
  5869. .with('classname', 'ImageButton')
  5870. .with('resource-id', 'com.lge.camera:id/quick_button_clean_view_off')
  5871. .with('content-desc', 'View')
  5872.  
  5873. $ruiObj.click
  5874.  
  5875. waitsecond(2)
  5876. end
  5877.  
  5878. tcase << TestAction.new(:checkAndDelete) do
  5879. checkAndDelete
  5880.  
  5881. waitsecond(2)
  5882. end
  5883.  
  5884. tcase << TestAction.new(:LogStop) do
  5885. $myTestResult = !checkLastExistResult
  5886.  
  5887. logStopTest("2_1_2_28_Picture_Auto")
  5888.  
  5889. waitsecond(2)
  5890. end
  5891.  
  5892. tcase.run(loopTime)
  5893.  
  5894. end
  5895.  
  5896. def self.PictureAuto_2_1_2_29(loopTime)
  5897.  
  5898. tcase = TestCase.new("PictureAuto_2_1_2_29")
  5899.  
  5900. tcase << TestAction.new(:LogStart) do
  5901. logStartTest("2_1_2_29_Picture_Auto")
  5902.  
  5903. waitsecond(2)
  5904. end
  5905.  
  5906. tcase << TestAction.new(:Shutter_Button) do
  5907. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  5908. .with('uitreeindex', 11)
  5909. .with('classname', 'ImageButton')
  5910. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  5911.  
  5912. $ruiObj.click
  5913.  
  5914. waitsecond(2)
  5915. end
  5916.  
  5917. tcase << TestAction.new(:checkAndDelete) do
  5918. checkAndDelete
  5919.  
  5920. waitsecond(2)
  5921. end
  5922.  
  5923. tcase << TestAction.new(:LogStop) do
  5924. $myTestResult = !checkLastExistResult
  5925.  
  5926. logStopTest("2_1_2_29_Picture_Auto")
  5927.  
  5928. waitsecond(2)
  5929. end
  5930.  
  5931. tcase.run(loopTime)
  5932.  
  5933. end
  5934.  
  5935. def self.PictureAuto_2_1_2_3(loopTime)
  5936.  
  5937. tcase = TestCase.new("PictureAuto_2_1_2_3")
  5938.  
  5939. tcase << TestAction.new(:LogStart) do
  5940. logStartTest("2_1_2_3_Picture_Auto")
  5941.  
  5942. waitsecond(2)
  5943. end
  5944.  
  5945. tcase << TestAction.new(:Show_Brightness) do
  5946. click(getDisplayWidth/2, getDisplayHeight/2)
  5947.  
  5948. waitsecond(1)
  5949. end
  5950.  
  5951. tcase << TestAction.new(:Lower_Brightness) do
  5952. swipe(725,2160, 475, 2160, 10)
  5953.  
  5954. waitsecond(2)
  5955. end
  5956.  
  5957. tcase << TestAction.new(:Shutter_Button) do
  5958. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  5959. .with('uitreeindex', 11)
  5960. .with('classname', 'ImageButton')
  5961. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  5962.  
  5963. $ruiObj.click
  5964.  
  5965. waitsecond(2)
  5966. end
  5967.  
  5968. tcase << TestAction.new(:checkAndDelete) do
  5969. checkAndDelete
  5970.  
  5971. waitsecond(2)
  5972. end
  5973.  
  5974. tcase << TestAction.new(:LogStop) do
  5975. $myTestResult = !checkLastExistResult
  5976.  
  5977. logStopTest("2_1_2_3_Picture_Auto")
  5978.  
  5979. waitsecond(2)
  5980. end
  5981.  
  5982. tcase.run(loopTime)
  5983.  
  5984. end
  5985.  
  5986. def self.PictureAuto_2_1_2_30(loopTime)
  5987.  
  5988. tcase = TestCase.new("PictureAuto_2_1_2_30")
  5989.  
  5990. tcase << TestAction.new(:LogStart) do
  5991. logStartTest("2_1_2_30_Picture_Auto")
  5992.  
  5993. waitsecond(2)
  5994. end
  5995.  
  5996. tcase << TestAction.new(:Volume_Key_Button) do
  5997. pressVolumeKeyDown
  5998.  
  5999. waitsecond(2)
  6000. end
  6001.  
  6002. tcase << TestAction.new(:checkAndDelete) do
  6003. checkAndDelete
  6004.  
  6005. waitsecond(2)
  6006. end
  6007.  
  6008. tcase << TestAction.new(:LogStop) do
  6009. $myTestResult = !checkLastExistResult
  6010.  
  6011. logStopTest("2_1_2_30_Picture_Auto")
  6012.  
  6013. waitsecond(2)
  6014. end
  6015.  
  6016. tcase.run(loopTime)
  6017.  
  6018. end
  6019.  
  6020. def self.PictureAuto_2_1_2_31(loopTime)
  6021.  
  6022. tcase = TestCase.new("PictureAuto_2_1_2_31")
  6023.  
  6024. tcase << TestAction.new(:LogStart) do
  6025. logStartTest("2_1_2_31_Picture_Auto")
  6026.  
  6027. waitsecond(2)
  6028. end
  6029.  
  6030. tcase << TestAction.new(:Show_Brightness) do
  6031. click(getDisplayWidth/2, getDisplayHeight/2)
  6032.  
  6033. waitsecond(1)
  6034. end
  6035.  
  6036. tcase << TestAction.new(:Lower_Brightness) do
  6037. swipe(725,2160, 475, 2160, 10)
  6038.  
  6039. waitsecond(2)
  6040. end
  6041.  
  6042. tcase << TestAction.new(:checkAndDelete) do
  6043. checkAndDelete
  6044.  
  6045. waitsecond(2)
  6046. end
  6047.  
  6048. tcase << TestAction.new(:Shutter_Button) do
  6049. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  6050. .with('uitreeindex', 11)
  6051. .with('classname', 'ImageButton')
  6052. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  6053.  
  6054. $ruiObj.click
  6055.  
  6056. waitsecond(2)
  6057. end
  6058.  
  6059. tcase << TestAction.new(:LogStop) do
  6060. $myTestResult = !checkLastExistResult
  6061.  
  6062. logStopTest("2_1_2_31_Picture_Auto")
  6063.  
  6064. waitsecond(2)
  6065. end
  6066.  
  6067. tcase.run(loopTime)
  6068.  
  6069. end
  6070.  
  6071. def self.PictureAuto_2_1_2_32(loopTime)
  6072.  
  6073. tcase = TestCase.new("PictureAuto_2_1_2_32")
  6074.  
  6075. tcase << TestAction.new(:LogStart) do
  6076. logStartTest("2_1_2_32_Picture_Auto")
  6077.  
  6078. waitsecond(2)
  6079. end
  6080.  
  6081. tcase << TestAction.new(:Open_SkinTone) do
  6082. $ruiObj = RUIObject.new.with('objectid', 956894591).with('selfid', 1291525422).with('textdescid', 549896116).with('uniqueparentid', 0)
  6083. .with('uitreeindex', 8)
  6084. .with('classname', 'ImageButton')
  6085. .with('resource-id', 'com.lge.camera:id/beauty_skin_tone_button')
  6086. .with('content-desc', 'Skin tone')
  6087.  
  6088. $ruiObj.click
  6089.  
  6090. waitsecond(2)
  6091. end
  6092.  
  6093. tcase << TestAction.new(:Increase_SkinTone) do
  6094. click(1147.5,2187)
  6095.  
  6096. waitsecond(2)
  6097. end
  6098.  
  6099. tcase << TestAction.new(:Shutter_Button) do
  6100. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  6101. .with('uitreeindex', 11)
  6102. .with('classname', 'ImageButton')
  6103. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  6104.  
  6105. $ruiObj.click
  6106.  
  6107. waitsecond(2)
  6108. end
  6109.  
  6110. tcase << TestAction.new(:checkAndDelete) do
  6111. checkAndDelete
  6112.  
  6113. waitsecond(2)
  6114. end
  6115.  
  6116. tcase << TestAction.new(:LogStop) do
  6117. $myTestResult = !checkLastExistResult
  6118.  
  6119. logStopTest("2_1_2_32_Picture_Auto")
  6120.  
  6121. waitsecond(2)
  6122. end
  6123.  
  6124. tcase.run(loopTime)
  6125.  
  6126. end
  6127.  
  6128. def self.PictureAuto_2_1_2_33(loopTime)
  6129.  
  6130. tcase = TestCase.new("PictureAuto_2_1_2_33")
  6131.  
  6132. tcase << TestAction.new(:LogStart) do
  6133. logStartTest("2_1_2_33_Picture_Auto")
  6134.  
  6135. waitsecond(2)
  6136. end
  6137.  
  6138. tcase << TestAction.new(:Open_Lighting) do
  6139. $ruiObj = RUIObject.new.with('objectid', -479310128).with('selfid', -2038283096).with('textdescid', -1274071172).with('uniqueparentid', 0)
  6140. .with('uitreeindex', 13)
  6141. .with('classname', 'ImageButton')
  6142. .with('resource-id', 'com.lge.camera:id/beauty_relighting_button')
  6143. .with('content-desc', 'Lighting')
  6144.  
  6145. $ruiObj.click
  6146.  
  6147. waitsecond(2)
  6148. end
  6149.  
  6150. tcase << TestAction.new(:Change_Lighting) do
  6151. click(720,2173.5)
  6152.  
  6153. waitsecond(2)
  6154. end
  6155.  
  6156. tcase << TestAction.new(:Shutter_Button) do
  6157. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  6158. .with('uitreeindex', 11)
  6159. .with('classname', 'ImageButton')
  6160. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  6161.  
  6162. $ruiObj.click
  6163.  
  6164. waitsecond(2)
  6165. end
  6166.  
  6167. tcase << TestAction.new(:checkAndDelete) do
  6168. checkAndDelete
  6169.  
  6170. waitsecond(2)
  6171. end
  6172.  
  6173. tcase << TestAction.new(:LogStop) do
  6174. $myTestResult = !checkLastExistResult
  6175.  
  6176. logStopTest("2_1_2_33_Picture_Auto")
  6177.  
  6178. waitsecond(2)
  6179. end
  6180.  
  6181. tcase.run(loopTime)
  6182.  
  6183. end
  6184.  
  6185. def self.PictureAuto_2_1_2_34(loopTime)
  6186.  
  6187. tcase = TestCase.new("PictureAuto_2_1_2_34")
  6188.  
  6189. tcase << TestAction.new(:LogStart) do
  6190. logStartTest("2_1_2_34_Picture_Auto")
  6191.  
  6192. waitsecond(2)
  6193. end
  6194.  
  6195. tcase << TestAction.new(:Flash_On) do
  6196. $ruiObj = RUIObject.new.with('objectid', -900526840).with('selfid', 1439491693).with('textdescid', 726990625).with('uniqueparentid', 0)
  6197. .with('uitreeindex', 5)
  6198. .with('classname', 'ImageButton')
  6199. .with('resource-id', 'com.lge.camera:id/quick_button_light_frame')
  6200. .with('content-desc', 'Switch to flash off, on')
  6201.  
  6202. $ruiObj.click
  6203.  
  6204. waitsecond(2)
  6205. end
  6206.  
  6207. tcase << TestAction.new(:Shutter_Button) do
  6208. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  6209. .with('uitreeindex', 11)
  6210. .with('classname', 'ImageButton')
  6211. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  6212.  
  6213. $ruiObj.click
  6214.  
  6215. waitsecond(2)
  6216. end
  6217.  
  6218. tcase << TestAction.new(:checkAndDelete) do
  6219. checkAndDelete
  6220.  
  6221. waitsecond(2)
  6222. end
  6223.  
  6224. tcase << TestAction.new(:LogStop) do
  6225. $myTestResult = !checkLastExistResult
  6226.  
  6227. logStopTest("2_1_2_34_Picture_Auto")
  6228.  
  6229. waitsecond(2)
  6230. end
  6231.  
  6232. tcase.run(loopTime)
  6233.  
  6234. end
  6235.  
  6236. def self.PictureAuto_2_1_2_35(loopTime)
  6237.  
  6238. tcase = TestCase.new("PictureAuto_2_1_2_35")
  6239.  
  6240. tcase << TestAction.new(:LogStart) do
  6241. logStartTest("2_1_2_35_Picture_Auto")
  6242.  
  6243. waitsecond(2)
  6244. end
  6245.  
  6246. tcase << TestAction.new(:Flash_Off) do
  6247. $ruiObj = RUIObject.new.with('objectid', -900526840).with('selfid', 1439491693).with('textdescid', 726990625).with('uniqueparentid', 0)
  6248. .with('uitreeindex', 5)
  6249. .with('classname', 'ImageButton')
  6250. .with('resource-id', 'com.lge.camera:id/quick_button_light_frame')
  6251. .with('content-desc', 'Switch to flash off, on')
  6252.  
  6253. $ruiObj.click
  6254.  
  6255. waitsecond(2)
  6256. end
  6257.  
  6258. tcase << TestAction.new(:Shutter_Button) do
  6259. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  6260. .with('uitreeindex', 13)
  6261. .with('classname', 'ImageButton')
  6262. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  6263.  
  6264. $ruiObj.click
  6265.  
  6266. waitsecond(2)
  6267. end
  6268.  
  6269. tcase << TestAction.new(:checkAndDelete) do
  6270. checkAndDelete
  6271.  
  6272. waitsecond(2)
  6273. end
  6274.  
  6275. tcase << TestAction.new(:LogStop) do
  6276. $myTestResult = !checkLastExistResult
  6277.  
  6278. logStopTest("2_1_2_35_Picture_Auto")
  6279.  
  6280. waitsecond(2)
  6281. end
  6282.  
  6283. tcase.run(loopTime)
  6284.  
  6285. end
  6286.  
  6287. def self.PictureAuto_2_1_2_36(loopTime)
  6288.  
  6289. tcase = TestCase.new("PictureAuto_2_1_2_36")
  6290.  
  6291. tcase << TestAction.new(:LogStart) do
  6292. logStartTest("2_1_2_36_Picture_Auto")
  6293.  
  6294. waitsecond(2)
  6295. end
  6296.  
  6297. tcase << TestAction.new(:Open_Film_1) do
  6298. $ruiObj = RUIObject.new.with('objectid', 725470839).with('selfid', 489925877).with('textdescid', 838442273).with('uniqueparentid', 0)
  6299. .with('uitreeindex', 10)
  6300. .with('classname', 'ImageButton')
  6301. .with('resource-id', 'com.lge.camera:id/beauty_filter_button')
  6302. .with('content-desc', 'Filter')
  6303.  
  6304. $ruiObj.click
  6305.  
  6306. waitsecond(2)
  6307. end
  6308.  
  6309. tcase << TestAction.new(:Film_Bright) do
  6310. $ruiObj = RUIObject.new.with('objectid', 1938036272).with('selfid', 2090593688).with('textdescid', -156958582).with('uniqueparentid', 0).with('classresourceid', -2059470738)
  6311. .with('uitreeindex', 2)
  6312. .with('classname', 'ImageButton')
  6313. .with('resource-id', 'com.lge.camera:id/imageView1')
  6314. .with('content-desc', 'Bright')
  6315.  
  6316. $ruiObj.click
  6317.  
  6318. waitsecond(2)
  6319. end
  6320.  
  6321. tcase << TestAction.new(:Shutter_Button) do
  6322. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  6323. .with('uitreeindex', 11)
  6324. .with('classname', 'ImageButton')
  6325. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  6326.  
  6327. $ruiObj.click
  6328.  
  6329. waitsecond(2)
  6330. end
  6331.  
  6332. tcase << TestAction.new(:Open_Film_2) do
  6333. $ruiObj = RUIObject.new.with('objectid', 725470839).with('selfid', 489925877).with('textdescid', 838442273).with('uniqueparentid', 0)
  6334. .with('uitreeindex', 11)
  6335. .with('classname', 'ImageButton')
  6336. .with('resource-id', 'com.lge.camera:id/beauty_filter_button')
  6337. .with('content-desc', 'Filter')
  6338.  
  6339. $ruiObj.click
  6340.  
  6341. waitsecond(2)
  6342. end
  6343.  
  6344. tcase << TestAction.new(:Film_Default) do
  6345. $ruiObj = RUIObject.new.with('objectid', 1938036272).with('selfid', -1823696486).with('textdescid', 1279307080).with('uniqueparentid', 0).with('classresourceid', -2059470738)
  6346. .with('uitreeindex', 8)
  6347. .with('classname', 'ImageButton')
  6348. .with('resource-id', 'com.lge.camera:id/imageView1')
  6349. .with('content-desc', 'None')
  6350.  
  6351. $ruiObj.click
  6352.  
  6353. waitsecond(2)
  6354. end
  6355.  
  6356. tcase << TestAction.new(:checkAndDelete) do
  6357. checkAndDelete
  6358.  
  6359. waitsecond(2)
  6360. end
  6361.  
  6362. tcase << TestAction.new(:LogStop) do
  6363. $myTestResult = !checkLastExistResult
  6364.  
  6365. logStopTest("2_1_2_36_Picture_Auto")
  6366.  
  6367. waitsecond(2)
  6368. end
  6369.  
  6370. tcase.run(loopTime)
  6371.  
  6372. end
  6373.  
  6374. def self.PictureAuto_2_1_2_37_1(loopTime)
  6375.  
  6376. tcase = TestCase.new("PictureAuto_2_1_2_37_1")
  6377.  
  6378. tcase << TestAction.new(:LogStart) do
  6379. logStartTest("2_1_2_37_1_Picture_Auto")
  6380.  
  6381. waitsecond(2)
  6382. end
  6383.  
  6384. tcase << TestAction.new(:Open_Camera_Settings) do
  6385. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  6386. .with('uitreeindex', 2)
  6387. .with('classname', 'ImageButton')
  6388. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  6389. .with('content-desc', 'Open settings')
  6390.  
  6391. $ruiObj.click
  6392.  
  6393. waitsecond(2)
  6394. end
  6395.  
  6396. tcase << TestAction.new(:Camera_Roll_On) do
  6397. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', 257319662).with('textdescid', -1276262562).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  6398. .with('uitreeindex', 25)
  6399. .with('classname', 'TextView')
  6400. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  6401. .with('content-desc', 'Show your recent photos and videos on the camera preview Off switch')
  6402. .with('text', 'Show your recent photos and videos on the camera preview')
  6403.  
  6404. $ruiObj.click
  6405.  
  6406. waitsecond(2)
  6407. end
  6408.  
  6409. tcase << TestAction.new(:Shutter_Button) do
  6410. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  6411. .with('uitreeindex', 9)
  6412. .with('classname', 'ImageButton')
  6413. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  6414. .with('content-desc', 'Shutter')
  6415.  
  6416. $ruiObj.click
  6417.  
  6418. waitsecond(2)
  6419. end
  6420.  
  6421. tcase << TestAction.new(:checkAndDelete) do
  6422. checkAndDelete
  6423.  
  6424. waitsecond(2)
  6425. end
  6426.  
  6427. tcase << TestAction.new(:LogStop) do
  6428. $myTestResult = !checkLastExistResult
  6429.  
  6430. logStopTest("2_1_2_37_1_Picture_Auto")
  6431.  
  6432. waitsecond(2)
  6433. end
  6434.  
  6435. tcase.run(loopTime)
  6436.  
  6437. end
  6438.  
  6439. def self.PictureAuto_2_1_2_37_2(loopTime)
  6440.  
  6441. tcase = TestCase.new("PictureAuto_2_1_2_37_2")
  6442.  
  6443. tcase << TestAction.new(:LogStart) do
  6444. logStartTest("2_1_2_37_2_Picture_Auto")
  6445.  
  6446. waitsecond(2)
  6447. end
  6448.  
  6449. tcase << TestAction.new(:Open_Camera_Settings) do
  6450. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  6451. .with('uitreeindex', 24)
  6452. .with('classname', 'ImageButton')
  6453. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  6454. .with('content-desc', 'Open settings')
  6455.  
  6456. $ruiObj.click
  6457.  
  6458. waitsecond(2)
  6459. end
  6460.  
  6461. tcase << TestAction.new(:Camera_Roll_Off) do
  6462. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -1218314212).with('textdescid', -150235496).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  6463. .with('uitreeindex', 45)
  6464. .with('classname', 'TextView')
  6465. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  6466. .with('content-desc', 'Show your recent photos and videos on the camera preview On switch')
  6467. .with('text', 'Show your recent photos and videos on the camera preview')
  6468.  
  6469. $ruiObj.click
  6470.  
  6471. waitsecond(2)
  6472. end
  6473.  
  6474. tcase << TestAction.new(:Shutter_Button) do
  6475. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  6476. .with('uitreeindex', 30)
  6477. .with('classname', 'ImageButton')
  6478. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  6479. .with('content-desc', 'Shutter')
  6480.  
  6481. $ruiObj.click
  6482.  
  6483. waitsecond(2)
  6484. end
  6485.  
  6486. tcase << TestAction.new(:checkAndDelete) do
  6487. checkAndDelete
  6488.  
  6489. waitsecond(2)
  6490. end
  6491.  
  6492. tcase << TestAction.new(:LogStop) do
  6493. $myTestResult = !checkLastExistResult
  6494.  
  6495. logStopTest("2_1_2_37_2_Picture_Auto")
  6496.  
  6497. waitsecond(2)
  6498. end
  6499.  
  6500. tcase.run(loopTime)
  6501.  
  6502. end
  6503.  
  6504. def self.PictureAuto_2_1_2_38(loopTime)
  6505.  
  6506. tcase = TestCase.new("PictureAuto_2_1_2_38")
  6507.  
  6508. tcase << TestAction.new(:LogStart) do
  6509. logStartTest("2_1_2_38_Picture_Auto")
  6510.  
  6511. waitsecond(2)
  6512. end
  6513.  
  6514. tcase << TestAction.new(:Open_Camera_Settings) do
  6515. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  6516. .with('uitreeindex', 2)
  6517. .with('classname', 'ImageButton')
  6518. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  6519. .with('content-desc', 'Open settings')
  6520.  
  6521. $ruiObj.click
  6522.  
  6523. waitsecond(2)
  6524. end
  6525.  
  6526. tcase << TestAction.new(:HDR_Menu) do
  6527. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -801213611).with('textdescid', 73758911).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  6528. .with('uitreeindex', 27)
  6529. .with('classname', 'TextView')
  6530. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  6531. .with('text', 'High Dynamic Range HDR combines multiple photos taken at different exposures to create the best photo')
  6532.  
  6533. $ruiObj.click
  6534.  
  6535. waitsecond(2)
  6536. end
  6537.  
  6538. tcase << TestAction.new(:HDR_Auto) do
  6539. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 696310092).with('textdescid', -1563309164).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  6540. .with('uitreeindex', 16)
  6541. .with('classname', 'CheckedTextView')
  6542. .with('resource-id', 'android:id/text1')
  6543. .with('content-desc', 'Auto')
  6544. .with('text', 'Auto')
  6545.  
  6546. $ruiObj.click
  6547.  
  6548. waitsecond(2)
  6549. end
  6550.  
  6551. tcase << TestAction.new(:Shutter_Button) do
  6552. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  6553. .with('uitreeindex', 9)
  6554. .with('classname', 'ImageButton')
  6555. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  6556. .with('content-desc', 'Shutter')
  6557.  
  6558. $ruiObj.click
  6559.  
  6560. waitsecond(2)
  6561. end
  6562.  
  6563. tcase << TestAction.new(:checkAndDelete) do
  6564. checkAndDelete
  6565.  
  6566. waitsecond(2)
  6567. end
  6568.  
  6569. tcase << TestAction.new(:LogStop) do
  6570. $myTestResult = !checkLastExistResult
  6571.  
  6572. logStopTest("2_1_2_38_Picture_Auto")
  6573.  
  6574. waitsecond(2)
  6575. end
  6576.  
  6577. tcase.run(loopTime)
  6578.  
  6579. end
  6580.  
  6581. def self.PictureAuto_2_1_2_39(loopTime)
  6582.  
  6583. tcase = TestCase.new("PictureAuto_2_1_2_39")
  6584.  
  6585. tcase << TestAction.new(:LogStart) do
  6586. logStartTest("2_1_2_39_Picture_Auto")
  6587.  
  6588. waitsecond(2)
  6589. end
  6590.  
  6591. tcase << TestAction.new(:Open_Camera_Settings) do
  6592. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  6593. .with('uitreeindex', 2)
  6594. .with('classname', 'ImageButton')
  6595. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  6596. .with('content-desc', 'Open settings')
  6597.  
  6598. $ruiObj.click
  6599.  
  6600. waitsecond(2)
  6601. end
  6602.  
  6603. tcase << TestAction.new(:HDR_Menu) do
  6604. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -801213611).with('textdescid', 73758911).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  6605. .with('uitreeindex', 27)
  6606. .with('classname', 'TextView')
  6607. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  6608. .with('text', 'High Dynamic Range HDR combines multiple photos taken at different exposures to create the best photo')
  6609.  
  6610. $ruiObj.click
  6611.  
  6612. waitsecond(2)
  6613. end
  6614.  
  6615. tcase << TestAction.new(:HDR_On) do
  6616. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1200665996).with('textdescid', -406281388).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  6617. .with('uitreeindex', 17)
  6618. .with('classname', 'CheckedTextView')
  6619. .with('resource-id', 'android:id/text1')
  6620. .with('content-desc', 'On')
  6621. .with('text', 'On')
  6622.  
  6623. $ruiObj.click
  6624.  
  6625. waitsecond(2)
  6626. end
  6627.  
  6628. tcase << TestAction.new(:Shutter_Button) do
  6629. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  6630. .with('uitreeindex', 9)
  6631. .with('classname', 'ImageButton')
  6632. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  6633. .with('content-desc', 'Shutter')
  6634.  
  6635. $ruiObj.click
  6636.  
  6637. waitsecond(2)
  6638. end
  6639.  
  6640. tcase << TestAction.new(:checkAndDelete) do
  6641. checkAndDelete
  6642.  
  6643. waitsecond(2)
  6644. end
  6645.  
  6646. tcase << TestAction.new(:LogStop) do
  6647. $myTestResult = !checkLastExistResult
  6648.  
  6649. logStopTest("2_1_2_39_Picture_Auto")
  6650.  
  6651. waitsecond(2)
  6652. end
  6653.  
  6654. tcase.run(loopTime)
  6655.  
  6656. end
  6657.  
  6658. def self.PictureAuto_2_1_2_4(loopTime)
  6659.  
  6660. tcase = TestCase.new("PictureAuto_2_1_2_4")
  6661.  
  6662. tcase << TestAction.new(:LogStart) do
  6663. logStartTest("2_1_2_4_Picture_Auto")
  6664.  
  6665. waitsecond(2)
  6666. end
  6667.  
  6668. tcase << TestAction.new(:Open_SkinTone) do
  6669. $ruiObj = RUIObject.new.with('objectid', 956894591).with('selfid', 1291525422).with('textdescid', 549896116).with('uniqueparentid', 0)
  6670. .with('uitreeindex', 8)
  6671. .with('classname', 'ImageButton')
  6672. .with('resource-id', 'com.lge.camera:id/beauty_skin_tone_button')
  6673. .with('content-desc', 'Skin tone')
  6674.  
  6675. $ruiObj.click
  6676.  
  6677. waitsecond(2)
  6678. end
  6679.  
  6680. tcase << TestAction.new(:Increase_SkinTone) do
  6681. click(1147.5,2187)
  6682.  
  6683. waitsecond(2)
  6684. end
  6685.  
  6686. tcase << TestAction.new(:Shutter_Button) do
  6687. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  6688. .with('uitreeindex', 11)
  6689. .with('classname', 'ImageButton')
  6690. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  6691.  
  6692. $ruiObj.click
  6693.  
  6694. waitsecond(2)
  6695. end
  6696.  
  6697. tcase << TestAction.new(:checkAndDelete) do
  6698. checkAndDelete
  6699.  
  6700. waitsecond(2)
  6701. end
  6702.  
  6703. tcase << TestAction.new(:LogStop) do
  6704. $myTestResult = !checkLastExistResult
  6705.  
  6706. logStopTest("2_1_2_4_Picture_Auto")
  6707.  
  6708. waitsecond(2)
  6709. end
  6710.  
  6711. tcase.run(loopTime)
  6712.  
  6713. end
  6714.  
  6715. def self.PictureAuto_2_1_2_40(loopTime)
  6716.  
  6717. tcase = TestCase.new("PictureAuto_2_1_2_40")
  6718.  
  6719. tcase << TestAction.new(:LogStart) do
  6720. logStartTest("2_1_2_40_Picture_Auto")
  6721.  
  6722. waitsecond(2)
  6723. end
  6724.  
  6725. tcase << TestAction.new(:Open_Camera_Settings) do
  6726. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  6727. .with('uitreeindex', 2)
  6728. .with('classname', 'ImageButton')
  6729. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  6730. .with('content-desc', 'Open settings')
  6731.  
  6732. $ruiObj.click
  6733.  
  6734. waitsecond(2)
  6735. end
  6736.  
  6737. tcase << TestAction.new(:HDR_Menu) do
  6738. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -801213611).with('textdescid', 73758911).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  6739. .with('uitreeindex', 27)
  6740. .with('classname', 'TextView')
  6741. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  6742. .with('text', 'High Dynamic Range HDR combines multiple photos taken at different exposures to create the best photo')
  6743.  
  6744. $ruiObj.click
  6745.  
  6746. waitsecond(2)
  6747. end
  6748.  
  6749. tcase << TestAction.new(:HDR_Off) do
  6750. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -1313055798).with('textdescid', -439670058).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  6751. .with('uitreeindex', 18)
  6752. .with('classname', 'CheckedTextView')
  6753. .with('resource-id', 'android:id/text1')
  6754. .with('content-desc', 'Off')
  6755. .with('text', 'Off')
  6756.  
  6757. $ruiObj.click
  6758.  
  6759. waitsecond(2)
  6760. end
  6761.  
  6762. tcase << TestAction.new(:Shutter_Button) do
  6763. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  6764. .with('uitreeindex', 9)
  6765. .with('classname', 'ImageButton')
  6766. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  6767. .with('content-desc', 'Shutter')
  6768.  
  6769. $ruiObj.click
  6770.  
  6771. waitsecond(2)
  6772. end
  6773.  
  6774. tcase << TestAction.new(:checkAndDelete) do
  6775. checkAndDelete
  6776.  
  6777. waitsecond(2)
  6778. end
  6779.  
  6780. tcase << TestAction.new(:LogStop) do
  6781. $myTestResult = !checkLastExistResult
  6782.  
  6783. logStopTest("2_1_2_40_Picture_Auto")
  6784.  
  6785. waitsecond(2)
  6786. end
  6787.  
  6788. tcase.run(loopTime)
  6789.  
  6790. end
  6791.  
  6792. def self.PictureAuto_2_1_2_41(loopTime)
  6793.  
  6794. tcase = TestCase.new("PictureAuto_2_1_2_41")
  6795.  
  6796. tcase << TestAction.new(:LogStart) do
  6797. logStartTest("2_1_2_41_Picture_Auto")
  6798.  
  6799. waitsecond(2)
  6800. end
  6801.  
  6802. tcase << TestAction.new(:Open_Camera_Settings) do
  6803. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  6804. .with('uitreeindex', 2)
  6805. .with('classname', 'ImageButton')
  6806. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  6807. .with('content-desc', 'Open settings')
  6808.  
  6809. $ruiObj.click
  6810.  
  6811. waitsecond(2)
  6812. end
  6813.  
  6814. tcase << TestAction.new(:Time_Menu) do
  6815. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 1184885601).with('classresourceid', -1956269507)
  6816. .with('uitreeindex', 30)
  6817. .with('classname', 'TextView')
  6818. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  6819. .with('content-desc', 'Timer')
  6820. .with('text', 'Timer')
  6821.  
  6822. $ruiObj.click
  6823.  
  6824. waitsecond(2)
  6825. end
  6826.  
  6827. tcase << TestAction.new(:Timer_Off) do
  6828. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -1313055798).with('textdescid', -439670058).with('uniqueparentid', 1184885601).with('classresourceid', 2074814108)
  6829. .with('uitreeindex', 16)
  6830. .with('classname', 'CheckedTextView')
  6831. .with('resource-id', 'android:id/text1')
  6832. .with('content-desc', 'Off')
  6833. .with('text', 'Off')
  6834.  
  6835. $ruiObj.click
  6836.  
  6837. waitsecond(2)
  6838. end
  6839.  
  6840. tcase << TestAction.new(:Shutter_Button) do
  6841. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  6842. .with('uitreeindex', 9)
  6843. .with('classname', 'ImageButton')
  6844. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  6845. .with('content-desc', 'Shutter')
  6846.  
  6847. $ruiObj.click
  6848.  
  6849. waitsecond(2)
  6850. end
  6851.  
  6852. tcase << TestAction.new(:checkAndDelete) do
  6853. checkAndDelete
  6854.  
  6855. waitsecond(2)
  6856. end
  6857.  
  6858. tcase << TestAction.new(:LogStop) do
  6859. $myTestResult = !checkLastExistResult
  6860.  
  6861. logStopTest("2_1_2_41_Picture_Auto")
  6862.  
  6863. waitsecond(2)
  6864. end
  6865.  
  6866. tcase.run(loopTime)
  6867.  
  6868. end
  6869.  
  6870. def self.PictureAuto_2_1_2_42(loopTime)
  6871.  
  6872. tcase = TestCase.new("PictureAuto_2_1_2_42")
  6873.  
  6874. tcase << TestAction.new(:LogStart) do
  6875. logStartTest("2_1_2_42_Picture_Auto")
  6876.  
  6877. waitsecond(2)
  6878. end
  6879.  
  6880. tcase << TestAction.new(:Open_Camera_Settings) do
  6881. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  6882. .with('uitreeindex', 2)
  6883. .with('classname', 'ImageButton')
  6884. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  6885. .with('content-desc', 'Open settings')
  6886.  
  6887. $ruiObj.click
  6888.  
  6889. waitsecond(2)
  6890. end
  6891.  
  6892. tcase << TestAction.new(:Timer_Menu) do
  6893. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  6894. .with('uitreeindex', 30)
  6895. .with('classname', 'TextView')
  6896. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  6897. .with('content-desc', 'Timer')
  6898. .with('text', 'Timer')
  6899.  
  6900. $ruiObj.click
  6901.  
  6902. waitsecond(2)
  6903. end
  6904.  
  6905. tcase << TestAction.new(:Timer_3sec) do
  6906. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1159119924).with('textdescid', -2081065364).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  6907. .with('uitreeindex', 17)
  6908. .with('classname', 'CheckedTextView')
  6909. .with('resource-id', 'android:id/text1')
  6910. .with('content-desc', '3 sec')
  6911. .with('text', '3 sec')
  6912.  
  6913. $ruiObj.click
  6914.  
  6915. waitsecond(2)
  6916. end
  6917.  
  6918. tcase << TestAction.new(:Shutter_Button) do
  6919. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  6920. .with('uitreeindex', 9)
  6921. .with('classname', 'ImageButton')
  6922. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  6923. .with('content-desc', 'Shutter')
  6924.  
  6925. $ruiObj.click
  6926.  
  6927. waitsecond(5)
  6928. end
  6929.  
  6930. tcase << TestAction.new(:checkAndDelete) do
  6931. checkAndDelete
  6932.  
  6933. waitsecond(2)
  6934. end
  6935.  
  6936. tcase << TestAction.new(:LogStop) do
  6937. $myTestResult = !checkLastExistResult
  6938.  
  6939. logStopTest("2_1_2_42_Picture_Auto")
  6940.  
  6941. waitsecond(2)
  6942. end
  6943.  
  6944. tcase.run(loopTime)
  6945.  
  6946. end
  6947.  
  6948. def self.PictureAuto_2_1_2_43(loopTime)
  6949.  
  6950. tcase = TestCase.new("PictureAuto_2_1_2_43")
  6951.  
  6952. tcase << TestAction.new(:LogStart) do
  6953. logStartTest("2_1_2_43_Picture_Auto")
  6954.  
  6955. waitsecond(2)
  6956. end
  6957.  
  6958. tcase << TestAction.new(:Open_Camera_Settings) do
  6959. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  6960. .with('uitreeindex', 2)
  6961. .with('classname', 'ImageButton')
  6962. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  6963. .with('content-desc', 'Open settings')
  6964.  
  6965. $ruiObj.click
  6966.  
  6967. waitsecond(2)
  6968. end
  6969.  
  6970. tcase << TestAction.new(:Timer_Menu) do
  6971. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  6972. .with('uitreeindex', 30)
  6973. .with('classname', 'TextView')
  6974. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  6975. .with('content-desc', 'Timer')
  6976. .with('text', 'Timer')
  6977.  
  6978. $ruiObj.click
  6979.  
  6980. waitsecond(2)
  6981. end
  6982.  
  6983. tcase << TestAction.new(:Timer_10sec) do
  6984. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1902492716).with('textdescid', 885416180).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  6985. .with('uitreeindex', 18)
  6986. .with('classname', 'CheckedTextView')
  6987. .with('resource-id', 'android:id/text1')
  6988. .with('content-desc', '10 sec')
  6989. .with('text', '10 sec')
  6990.  
  6991. $ruiObj.click
  6992.  
  6993. waitsecond(2)
  6994. end
  6995.  
  6996. tcase << TestAction.new(:Shutter_Button) do
  6997. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  6998. .with('uitreeindex', 9)
  6999. .with('classname', 'ImageButton')
  7000. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  7001. .with('content-desc', 'Shutter')
  7002.  
  7003. $ruiObj.click
  7004.  
  7005. waitsecond(12)
  7006. end
  7007.  
  7008. tcase << TestAction.new(:Open_Camera_Settings_1) do
  7009. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  7010. .with('uitreeindex', 2)
  7011. .with('classname', 'ImageButton')
  7012. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  7013. .with('content-desc', 'Open settings')
  7014.  
  7015. $ruiObj.click
  7016.  
  7017. waitsecond(2)
  7018. end
  7019.  
  7020. tcase << TestAction.new(:Timer_Menu_1) do
  7021. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  7022. .with('uitreeindex', 30)
  7023. .with('classname', 'TextView')
  7024. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  7025. .with('content-desc', 'Timer')
  7026. .with('text', 'Timer')
  7027.  
  7028. $ruiObj.click
  7029.  
  7030. waitsecond(2)
  7031. end
  7032.  
  7033. tcase << TestAction.new(:Timer_Off) do
  7034. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -1313055798).with('textdescid', -439670058).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  7035. .with('uitreeindex', 16)
  7036. .with('classname', 'CheckedTextView')
  7037. .with('resource-id', 'android:id/text1')
  7038. .with('content-desc', 'Off')
  7039. .with('text', 'Off')
  7040.  
  7041. $ruiObj.click
  7042.  
  7043. waitsecond(2)
  7044. end
  7045.  
  7046. tcase << TestAction.new(:checkAndDelete) do
  7047. checkAndDelete
  7048.  
  7049. waitsecond(2)
  7050. end
  7051.  
  7052. tcase << TestAction.new(:LogStop) do
  7053. $myTestResult = !checkLastExistResult
  7054.  
  7055. logStopTest("2_1_2_43_Picture_Auto")
  7056.  
  7057. waitsecond(2)
  7058. end
  7059.  
  7060. tcase.run(loopTime)
  7061.  
  7062. end
  7063.  
  7064. def self.PictureAuto_2_1_2_44(loopTime)
  7065.  
  7066. tcase = TestCase.new("PictureAuto_2_1_2_44")
  7067.  
  7068. tcase << TestAction.new(:LogStart) do
  7069. logStartTest("2_1_2_44_Picture_Auto")
  7070.  
  7071. waitsecond(2)
  7072. end
  7073.  
  7074. tcase << TestAction.new(:Open_Camera_Settings) do
  7075. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  7076. .with('uitreeindex', 2)
  7077. .with('classname', 'ImageButton')
  7078. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  7079. .with('content-desc', 'Open settings')
  7080.  
  7081. $ruiObj.click
  7082.  
  7083. waitsecond(2)
  7084. end
  7085.  
  7086. tcase << TestAction.new(:Cheese_Shutter_On) do
  7087. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -805427468).with('textdescid', -450343400).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  7088. .with('uitreeindex', 34)
  7089. .with('classname', 'TextView')
  7090. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  7091. .with('content-desc', 'Take a photo by saying "Cheese," "Smile," "Whiskey," "Kimchi" or "LG". Off switch')
  7092. .with('text', 'Take a photo by saying Cheese Smile Whiskey Kimchi or LG')
  7093.  
  7094. $ruiObj.click
  7095.  
  7096. waitsecond(2)
  7097. end
  7098.  
  7099. tcase << TestAction.new(:Shutter_Button) do
  7100. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  7101. .with('uitreeindex', 9)
  7102. .with('classname', 'ImageButton')
  7103. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  7104. .with('content-desc', 'Shutter')
  7105.  
  7106. $ruiObj.click
  7107.  
  7108. waitsecond(2)
  7109. end
  7110.  
  7111. tcase << TestAction.new(:checkAndDelete) do
  7112. checkAndDelete
  7113.  
  7114. waitsecond(2)
  7115. end
  7116.  
  7117. tcase << TestAction.new(:LogStop) do
  7118. $myTestResult = !checkLastExistResult
  7119.  
  7120. logStopTest("2_1_2_44_Picture_Auto")
  7121.  
  7122. waitsecond(2)
  7123. end
  7124.  
  7125. tcase.run(loopTime)
  7126.  
  7127. end
  7128.  
  7129. def self.PictureAuto_2_1_2_45(loopTime)
  7130.  
  7131. tcase = TestCase.new("PictureAuto_2_1_2_45")
  7132.  
  7133. tcase << TestAction.new(:LogStart) do
  7134. logStartTest("2_1_2_45_Picture_Auto")
  7135.  
  7136. waitsecond(2)
  7137. end
  7138.  
  7139. tcase << TestAction.new(:Open_Camera_Settings) do
  7140. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  7141. .with('uitreeindex', 2)
  7142. .with('classname', 'ImageButton')
  7143. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  7144. .with('content-desc', 'Open settings')
  7145.  
  7146. $ruiObj.click
  7147.  
  7148. waitsecond(2)
  7149. end
  7150.  
  7151. tcase << TestAction.new(:SelfieShot_Menu) do
  7152. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -918458438).with('textdescid', -1072017926).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  7153. .with('uitreeindex', 36)
  7154. .with('classname', 'TextView')
  7155. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  7156. .with('text', 'Take a selfie with a raised hand made into a fist Gesture shot or with your face detected Auto shot')
  7157.  
  7158. $ruiObj.click
  7159.  
  7160. waitsecond(2)
  7161. end
  7162.  
  7163. tcase << TestAction.new(:Selfie_Gesture) do
  7164. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1700660236).with('textdescid', -81264300).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  7165. .with('uitreeindex', 15)
  7166. .with('classname', 'CheckedTextView')
  7167. .with('resource-id', 'android:id/text1')
  7168. .with('content-desc', 'Gesture shot')
  7169. .with('text', 'Gesture shot')
  7170.  
  7171. $ruiObj.click
  7172.  
  7173. waitsecond(2)
  7174. end
  7175.  
  7176. tcase << TestAction.new(:Shutter_Button) do
  7177. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  7178. .with('uitreeindex', 9)
  7179. .with('classname', 'ImageButton')
  7180. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  7181. .with('content-desc', 'Shutter')
  7182.  
  7183. $ruiObj.click
  7184.  
  7185. waitsecond(2)
  7186. end
  7187.  
  7188. tcase << TestAction.new(:checkAndDelete) do
  7189. checkAndDelete
  7190.  
  7191. waitsecond(2)
  7192. end
  7193.  
  7194. tcase << TestAction.new(:LogStop) do
  7195. $myTestResult = !checkLastExistResult
  7196.  
  7197. logStopTest("2_1_2_45_Picture_Auto")
  7198.  
  7199. waitsecond(2)
  7200. end
  7201.  
  7202. tcase.run(loopTime)
  7203.  
  7204. end
  7205.  
  7206. def self.PictureAuto_2_1_2_46(loopTime)
  7207.  
  7208. tcase = TestCase.new("PictureAuto_2_1_2_46")
  7209.  
  7210. tcase << TestAction.new(:LogStart) do
  7211. logStartTest("2_1_2_46_Picture_Auto")
  7212.  
  7213. waitsecond(2)
  7214. end
  7215.  
  7216. tcase << TestAction.new(:Open_Camera_Settings) do
  7217. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  7218. .with('uitreeindex', 2)
  7219. .with('classname', 'ImageButton')
  7220. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  7221. .with('content-desc', 'Open settings')
  7222.  
  7223. $ruiObj.click
  7224.  
  7225. waitsecond(2)
  7226. end
  7227.  
  7228. tcase << TestAction.new(:SelfieShot_Menu) do
  7229. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -918458438).with('textdescid', -1072017926).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  7230. .with('uitreeindex', 36)
  7231. .with('classname', 'TextView')
  7232. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  7233. .with('text', 'Take a selfie with a raised hand made into a fist Gesture shot or with your face detected Auto shot')
  7234.  
  7235. $ruiObj.click
  7236.  
  7237. waitsecond(2)
  7238. end
  7239.  
  7240. tcase << TestAction.new(:Selfie_Gesture) do
  7241. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1700660236).with('textdescid', -81264300).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  7242. .with('uitreeindex', 15)
  7243. .with('classname', 'CheckedTextView')
  7244. .with('resource-id', 'android:id/text1')
  7245. .with('content-desc', 'Gesture shot')
  7246. .with('text', 'Gesture shot')
  7247.  
  7248. $ruiObj.click
  7249.  
  7250. waitsecond(2)
  7251. end
  7252.  
  7253. tcase << TestAction.new(:Shutter_Button) do
  7254. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  7255. .with('uitreeindex', 9)
  7256. .with('classname', 'ImageButton')
  7257. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  7258. .with('content-desc', 'Shutter')
  7259.  
  7260. $ruiObj.click
  7261.  
  7262. waitsecond(2)
  7263. end
  7264.  
  7265. tcase << TestAction.new(:checkAndDelete) do
  7266. checkAndDelete
  7267.  
  7268. waitsecond(2)
  7269. end
  7270.  
  7271. tcase << TestAction.new(:LogStop) do
  7272. $myTestResult = !checkLastExistResult
  7273.  
  7274. logStopTest("2_1_2_46_Picture_Auto")
  7275.  
  7276. waitsecond(2)
  7277. end
  7278.  
  7279. tcase.run(loopTime)
  7280.  
  7281. end
  7282.  
  7283. def self.PictureAuto_2_1_2_47(loopTime)
  7284.  
  7285. tcase = TestCase.new("PictureAuto_2_1_2_47")
  7286.  
  7287. tcase << TestAction.new(:LogStart) do
  7288. logStartTest("2_1_2_47_Picture_Auto")
  7289.  
  7290. waitsecond(2)
  7291. end
  7292.  
  7293. tcase << TestAction.new(:Open_Camera_Settings) do
  7294. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  7295. .with('uitreeindex', 2)
  7296. .with('classname', 'ImageButton')
  7297. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  7298. .with('content-desc', 'Open settings')
  7299.  
  7300. $ruiObj.click
  7301.  
  7302. waitsecond(2)
  7303. end
  7304.  
  7305. tcase << TestAction.new(:SelfieShot_Menu) do
  7306. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -918458438).with('textdescid', -1072017926).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  7307. .with('uitreeindex', 36)
  7308. .with('classname', 'TextView')
  7309. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  7310. .with('text', 'Take a selfie with a raised hand made into a fist Gesture shot or with your face detected Auto shot')
  7311.  
  7312. $ruiObj.click
  7313.  
  7314. waitsecond(2)
  7315. end
  7316.  
  7317. tcase << TestAction.new(:Gesture_Auto) do
  7318. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 891878210).with('textdescid', 452006750).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  7319. .with('uitreeindex', 16)
  7320. .with('classname', 'CheckedTextView')
  7321. .with('resource-id', 'android:id/text1')
  7322. .with('content-desc', 'Auto shot')
  7323. .with('text', 'Auto shot')
  7324.  
  7325. $ruiObj.click
  7326.  
  7327. waitsecond(2)
  7328. end
  7329.  
  7330. tcase << TestAction.new(:Shutter_Button) do
  7331. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  7332. .with('uitreeindex', 9)
  7333. .with('classname', 'ImageButton')
  7334. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  7335. .with('content-desc', 'Shutter')
  7336.  
  7337. $ruiObj.click
  7338.  
  7339. waitsecond(2)
  7340. end
  7341.  
  7342. tcase << TestAction.new(:checkAndDelete) do
  7343. checkAndDelete
  7344.  
  7345. waitsecond(2)
  7346. end
  7347.  
  7348. tcase << TestAction.new(:LogStop) do
  7349. $myTestResult = !checkLastExistResult
  7350.  
  7351. logStopTest("2_1_2_47_Picture_Auto")
  7352.  
  7353. waitsecond(2)
  7354. end
  7355.  
  7356. tcase.run(loopTime)
  7357.  
  7358. end
  7359.  
  7360. def self.PictureAuto_2_1_2_48(loopTime)
  7361.  
  7362. tcase = TestCase.new("PictureAuto_2_1_2_48")
  7363.  
  7364. tcase << TestAction.new(:LogStart) do
  7365. logStartTest("2_1_2_48_Picture_Auto")
  7366.  
  7367. waitsecond(2)
  7368. end
  7369.  
  7370. tcase << TestAction.new(:Open_Camera_Settings) do
  7371. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  7372. .with('uitreeindex', 3)
  7373. .with('classname', 'ImageButton')
  7374. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  7375. .with('content-desc', 'Open settings')
  7376.  
  7377. $ruiObj.click
  7378.  
  7379. waitsecond(2)
  7380. end
  7381.  
  7382. tcase << TestAction.new(:Swipe_Down) do
  7383. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  7384. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  7385.  
  7386. waitsecond(2)
  7387. end
  7388.  
  7389. tcase << TestAction.new(:Tag_Locations_On) do
  7390. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -550432648).with('textdescid', -1242618788).with('uniqueparentid', -1650613875).with('classresourceid', -1956269507)
  7391. .with('uitreeindex', 27)
  7392. .with('classname', 'TextView')
  7393. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  7394. .with('content-desc', 'Tag locations Off switch')
  7395. .with('text', 'Tag locations')
  7396.  
  7397. $ruiObj.click
  7398.  
  7399. waitsecond(2)
  7400. end
  7401.  
  7402. tcase << TestAction.new(:Shutter_Button) do
  7403. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', -1650613875)
  7404. .with('uitreeindex', 9)
  7405. .with('classname', 'ImageButton')
  7406. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  7407. .with('content-desc', 'Shutter')
  7408.  
  7409. $ruiObj.click
  7410.  
  7411. waitsecond(2)
  7412. end
  7413.  
  7414. tcase << TestAction.new(:checkAndDelete) do
  7415. checkAndDelete
  7416.  
  7417. waitsecond(2)
  7418. end
  7419.  
  7420. tcase << TestAction.new(:LogStop) do
  7421. $myTestResult = !checkLastExistResult
  7422.  
  7423. logStopTest("2_1_2_48_Picture_Auto")
  7424.  
  7425. waitsecond(2)
  7426. end
  7427.  
  7428. tcase.run(loopTime)
  7429.  
  7430. end
  7431.  
  7432. def self.PictureAuto_2_1_2_49(loopTime)
  7433.  
  7434. tcase = TestCase.new("PictureAuto_2_1_2_49")
  7435.  
  7436. tcase << TestAction.new(:LogStart) do
  7437. logStartTest("2_1_2_49_Picture_Auto")
  7438.  
  7439. waitsecond(2)
  7440. end
  7441.  
  7442. tcase << TestAction.new(:Open_Camera_Settings) do
  7443. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  7444. .with('uitreeindex', 2)
  7445. .with('classname', 'ImageButton')
  7446. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  7447. .with('content-desc', 'Open settings')
  7448.  
  7449. $ruiObj.click
  7450.  
  7451. waitsecond(2)
  7452. end
  7453.  
  7454. tcase << TestAction.new(:Swipe_Down) do
  7455. swipe(getDisplayHeight/2, getDisplayWidth/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  7456.  
  7457. waitsecond(2)
  7458. end
  7459.  
  7460. tcase << TestAction.new(:Flipped_On) do
  7461. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -1630731240).with('textdescid', 197516924).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  7462. .with('uitreeindex', 26)
  7463. .with('classname', 'TextView')
  7464. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  7465. .with('content-desc', 'Save as flipped Off switch')
  7466. .with('text', 'Save as flipped')
  7467.  
  7468. $ruiObj.click
  7469.  
  7470. waitsecond(2)
  7471. end
  7472.  
  7473. tcase << TestAction.new(:Shutter_Button) do
  7474. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  7475. .with('uitreeindex', 9)
  7476. .with('classname', 'ImageButton')
  7477. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  7478. .with('content-desc', 'Shutter')
  7479.  
  7480. $ruiObj.click
  7481.  
  7482. waitsecond(2)
  7483. end
  7484.  
  7485. tcase << TestAction.new(:checkAndDelete) do
  7486. checkAndDelete
  7487.  
  7488. waitsecond(2)
  7489. end
  7490.  
  7491. tcase << TestAction.new(:LogStop) do
  7492. $myTestResult = !checkLastExistResult
  7493.  
  7494. logStopTest("2_1_2_49_Picture_Auto")
  7495.  
  7496. waitsecond(2)
  7497. end
  7498.  
  7499. tcase.run(loopTime)
  7500.  
  7501. end
  7502.  
  7503. def self.PictureAuto_2_1_2_5(loopTime)
  7504.  
  7505. tcase = TestCase.new("PictureAuto_2_1_2_5")
  7506.  
  7507. tcase << TestAction.new(:LogStart) do
  7508. logStartTest("2_1_2_5_Picture_Auto")
  7509.  
  7510. waitsecond(2)
  7511. end
  7512.  
  7513. tcase << TestAction.new(:Open_Lighting) do
  7514. $ruiObj = RUIObject.new.with('objectid', -479310128).with('selfid', -2038283096).with('textdescid', -1274071172).with('uniqueparentid', 0)
  7515. .with('uitreeindex', 13)
  7516. .with('classname', 'ImageButton')
  7517. .with('resource-id', 'com.lge.camera:id/beauty_relighting_button')
  7518. .with('content-desc', 'Lighting')
  7519.  
  7520. $ruiObj.click
  7521.  
  7522. waitsecond(2)
  7523. end
  7524.  
  7525. tcase << TestAction.new(:Change_Lighting) do
  7526. click(720,2173.5)
  7527.  
  7528. waitsecond(2)
  7529. end
  7530.  
  7531. tcase << TestAction.new(:Shutter_Button) do
  7532. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  7533. .with('uitreeindex', 11)
  7534. .with('classname', 'ImageButton')
  7535. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  7536.  
  7537. $ruiObj.click
  7538.  
  7539. waitsecond(2)
  7540. end
  7541.  
  7542. tcase << TestAction.new(:checkAndDelete) do
  7543. checkAndDelete
  7544.  
  7545. waitsecond(2)
  7546. end
  7547.  
  7548. tcase << TestAction.new(:LogStop) do
  7549. $myTestResult = !checkLastExistResult
  7550.  
  7551. logStopTest("2_1_2_5_Picture_Auto")
  7552.  
  7553. waitsecond(2)
  7554. end
  7555.  
  7556. tcase.run(loopTime)
  7557.  
  7558. end
  7559.  
  7560. def self.PictureAuto_2_1_2_50(loopTime)
  7561.  
  7562. tcase = TestCase.new("PictureAuto_2_1_2_50")
  7563.  
  7564. tcase << TestAction.new(:LogStart) do
  7565. logStartTest("2_1_2_50_Picture_Auto")
  7566.  
  7567. waitsecond(2)
  7568. end
  7569.  
  7570. tcase << TestAction.new(:Open_Camera_Settings) do
  7571. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  7572. .with('uitreeindex', 3)
  7573. .with('classname', 'ImageButton')
  7574. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  7575. .with('content-desc', 'Open settings')
  7576.  
  7577. $ruiObj.click
  7578.  
  7579. waitsecond(2)
  7580. end
  7581.  
  7582. tcase << TestAction.new(:Swipe_Down) do
  7583. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  7584. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  7585.  
  7586. waitsecond(2)
  7587. end
  7588.  
  7589. tcase << TestAction.new(:AddSignature_On) do
  7590. $ruiObj = RUIObject.new.with('objectid', -683742256).with('selfid', -1808037368).with('textdescid', 1731452673).with('uniqueparentid', 0).with('classresourceid', -1698211271)
  7591. .with('uitreeindex', 35)
  7592. .with('classname', 'Switch')
  7593. .with('resource-id', 'com.lge.camera:id/setting_switch')
  7594. .with('text', 'OFF')
  7595.  
  7596. $ruiObj.select('ItemLast').click
  7597.  
  7598. waitsecond(2)
  7599. end
  7600.  
  7601. tcase << TestAction.new(:Shutter_Button) do
  7602. $ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
  7603. .with('uitreeindex', 9)
  7604. .with('classname', 'ImageButton')
  7605. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
  7606. .with('content-desc', 'Shutter')
  7607.  
  7608. $ruiObj.click
  7609.  
  7610. waitsecond(2)
  7611. end
  7612.  
  7613. tcase << TestAction.new(:checkAndDelete) do
  7614. checkAndDelete
  7615.  
  7616. waitsecond(2)
  7617. end
  7618.  
  7619. tcase << TestAction.new(:LogStop) do
  7620. $myTestResult = !checkLastExistResult
  7621.  
  7622. logStopTest("2_1_2_50_Picture_Auto")
  7623.  
  7624. waitsecond(2)
  7625. end
  7626.  
  7627. tcase.run(loopTime)
  7628.  
  7629. end
  7630.  
  7631. def self.PictureAuto_2_1_2_51(loopTime)
  7632.  
  7633. tcase = TestCase.new("PictureAuto_2_1_2_51")
  7634.  
  7635. tcase << TestAction.new(:LogStart) do
  7636. logStartTest("2_1_2_51_Picture_Auto")
  7637.  
  7638. waitsecond(2)
  7639. end
  7640.  
  7641. tcase << TestAction.new(:Open_Camera_Settings) do
  7642. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  7643. .with('uitreeindex', 3)
  7644. .with('classname', 'ImageButton')
  7645. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  7646. .with('content-desc', 'Open settings')
  7647.  
  7648. $ruiObj.click
  7649.  
  7650. waitsecond(2)
  7651. end
  7652.  
  7653. tcase << TestAction.new(:Swipe_Down) do
  7654. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  7655. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  7656.  
  7657. waitsecond(2)
  7658. end
  7659.  
  7660. tcase << TestAction.new(:Simple_View_Enter) do
  7661. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -1638459757).with('textdescid', -1395718599).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  7662. .with('uitreeindex', 35)
  7663. .with('classname', 'TextView')
  7664. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  7665. .with('content-desc', 'Simple view')
  7666. .with('text', 'Simple view')
  7667.  
  7668. $ruiObj.click
  7669.  
  7670. waitsecond(2)
  7671. end
  7672.  
  7673. tcase << TestAction.new(:Simple_View_Picture) do
  7674. click(getDisplayWidth/2, getDisplayHeight/2)
  7675.  
  7676. waitsecond(3)
  7677. end
  7678.  
  7679. tcase << TestAction.new(:Simple_View_Exit) do
  7680. $ruiObj = RUIObject.new.with('objectid', 1601410951).with('selfid', 2479282).with('textdescid', -1209880514).with('uniqueparentid', 0)
  7681. .with('uitreeindex', 3)
  7682. .with('classname', 'ImageButton')
  7683. .with('resource-id', 'com.lge.camera:id/quick_button_clean_view_off')
  7684. .with('content-desc', 'View')
  7685.  
  7686. $ruiObj.click
  7687.  
  7688. waitsecond(2)
  7689. end
  7690.  
  7691. tcase << TestAction.new(:checkAndDelete) do
  7692. checkAndDelete
  7693.  
  7694. waitsecond(2)
  7695. end
  7696.  
  7697. tcase << TestAction.new(:LogStop) do
  7698. $myTestResult = !checkLastExistResult
  7699.  
  7700. logStopTest("2_1_2_51_Picture_Auto")
  7701.  
  7702. waitsecond(2)
  7703. end
  7704.  
  7705. tcase.run(loopTime)
  7706.  
  7707. end
  7708.  
  7709. def self.PictureAuto_2_1_2_52(loopTime)
  7710.  
  7711. tcase = TestCase.new("PictureAuto_2_1_2_52")
  7712.  
  7713. tcase << TestAction.new(:LogStart) do
  7714. logStartTest("2_1_2_52_Picture_Auto")
  7715.  
  7716. waitsecond(2)
  7717. end
  7718.  
  7719. tcase << TestAction.new(:Open_Camera_Settings) do
  7720. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  7721. .with('uitreeindex', 3)
  7722. .with('classname', 'ImageButton')
  7723. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  7724. .with('content-desc', 'Open settings')
  7725.  
  7726. $ruiObj.click
  7727.  
  7728. waitsecond(2)
  7729. end
  7730.  
  7731. tcase << TestAction.new(:Swipe_Down) do
  7732. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  7733. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  7734.  
  7735. waitsecond(2)
  7736. end
  7737.  
  7738. tcase << TestAction.new(:Simple_View_Enter) do
  7739. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -1638459757).with('textdescid', -1395718599).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  7740. .with('uitreeindex', 35)
  7741. .with('classname', 'TextView')
  7742. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  7743. .with('content-desc', 'Simple view')
  7744. .with('text', 'Simple view')
  7745.  
  7746. $ruiObj.click
  7747.  
  7748. waitsecond(2)
  7749. end
  7750.  
  7751. tcase << TestAction.new(:Simple_View_Volume_Key) do
  7752. pressVolumeKeyDown
  7753.  
  7754. waitsecond(3)
  7755. end
  7756.  
  7757. tcase << TestAction.new(:Simple_View_Exit) do
  7758. $ruiObj = RUIObject.new.with('objectid', 1601410951).with('selfid', 2479282).with('textdescid', -1209880514).with('uniqueparentid', 0)
  7759. .with('uitreeindex', 3)
  7760. .with('classname', 'ImageButton')
  7761. .with('resource-id', 'com.lge.camera:id/quick_button_clean_view_off')
  7762. .with('content-desc', 'View')
  7763.  
  7764. $ruiObj.click
  7765.  
  7766. waitsecond(2)
  7767. end
  7768.  
  7769. tcase << TestAction.new(:checkAndDelete) do
  7770. checkAndDelete
  7771.  
  7772. waitsecond(2)
  7773. end
  7774.  
  7775. tcase << TestAction.new(:LogStop) do
  7776. $myTestResult = !checkLastExistResult
  7777.  
  7778. logStopTest("2_1_2_52_Picture_Auto")
  7779.  
  7780. waitsecond(2)
  7781. end
  7782.  
  7783. tcase.run(loopTime)
  7784.  
  7785. end
  7786.  
  7787. def self.PictureAuto_2_1_2_53(loopTime)
  7788.  
  7789. tcase = TestCase.new("PictureAuto_2_1_2_53")
  7790.  
  7791. tcase << TestAction.new(:LogStart) do
  7792. logStartTest("2_1_2_53_Picture_Auto")
  7793.  
  7794. waitsecond(2)
  7795. end
  7796.  
  7797. tcase << TestAction.new(:Open_Camera_Settings) do
  7798. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  7799. .with('uitreeindex', 3)
  7800. .with('classname', 'ImageButton')
  7801. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  7802. .with('content-desc', 'Open settings')
  7803.  
  7804. $ruiObj.click
  7805.  
  7806. waitsecond(2)
  7807. end
  7808.  
  7809. tcase << TestAction.new(:Swipe_Down) do
  7810. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  7811. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  7812.  
  7813. waitsecond(2)
  7814. end
  7815.  
  7816. tcase << TestAction.new(:Simple_View_Enter) do
  7817. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -1638459757).with('textdescid', -1395718599).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  7818. .with('uitreeindex', 35)
  7819. .with('classname', 'TextView')
  7820. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  7821. .with('content-desc', 'Simple view')
  7822. .with('text', 'Simple view')
  7823.  
  7824. $ruiObj.click
  7825.  
  7826. waitsecond(2)
  7827. end
  7828.  
  7829. tcase << TestAction.new(:Simple_View_Picture) do
  7830. click(getDisplayWidth/2, getDisplayHeight/2)
  7831.  
  7832. waitsecond(3)
  7833. end
  7834.  
  7835. tcase << TestAction.new(:Simple_View_Exit) do
  7836. $ruiObj = RUIObject.new.with('objectid', 1601410951).with('selfid', 2479282).with('textdescid', -1209880514).with('uniqueparentid', 0)
  7837. .with('uitreeindex', 3)
  7838. .with('classname', 'ImageButton')
  7839. .with('resource-id', 'com.lge.camera:id/quick_button_clean_view_off')
  7840. .with('content-desc', 'View')
  7841.  
  7842. $ruiObj.click
  7843.  
  7844. waitsecond(2)
  7845. end
  7846.  
  7847. tcase << TestAction.new(:checkAndDelete) do
  7848. checkAndDelete
  7849.  
  7850. waitsecond(2)
  7851. end
  7852.  
  7853. tcase << TestAction.new(:LogStop) do
  7854. $myTestResult = !checkLastExistResult
  7855.  
  7856. logStopTest("2_1_2_53_Picture_Auto")
  7857.  
  7858. waitsecond(2)
  7859. end
  7860.  
  7861. tcase.run(loopTime)
  7862.  
  7863. end
  7864.  
  7865. def self.PictureAuto_2_1_2_54(loopTime)
  7866.  
  7867. tcase = TestCase.new("PictureAuto_2_1_2_54")
  7868.  
  7869. tcase << TestAction.new(:LogStart) do
  7870. logStartTest("2_1_2_54_Picture_Auto")
  7871.  
  7872. waitsecond(2)
  7873. end
  7874.  
  7875. tcase << TestAction.new(:Open_Camera_Settings) do
  7876. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  7877. .with('uitreeindex', 3)
  7878. .with('classname', 'ImageButton')
  7879. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  7880. .with('content-desc', 'Open settings')
  7881.  
  7882. $ruiObj.click
  7883.  
  7884. waitsecond(2)
  7885. end
  7886.  
  7887. tcase << TestAction.new(:Swipe_Down) do
  7888. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  7889. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  7890.  
  7891. waitsecond(2)
  7892. end
  7893.  
  7894. tcase << TestAction.new(:Simple_View_Enter) do
  7895. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -1638459757).with('textdescid', -1395718599).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  7896. .with('uitreeindex', 35)
  7897. .with('classname', 'TextView')
  7898. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  7899. .with('content-desc', 'Simple view')
  7900. .with('text', 'Simple view')
  7901.  
  7902. $ruiObj.click
  7903.  
  7904. waitsecond(2)
  7905. end
  7906.  
  7907. tcase << TestAction.new(:Simple_View_Picture) do
  7908. click(getDisplayWidth/2, getDisplayHeight/2)
  7909.  
  7910. waitsecond(3)
  7911. end
  7912.  
  7913. tcase << TestAction.new(:Simple_View_Exit) do
  7914. $ruiObj = RUIObject.new.with('objectid', 1601410951).with('selfid', 2479282).with('textdescid', -1209880514).with('uniqueparentid', 0)
  7915. .with('uitreeindex', 3)
  7916. .with('classname', 'ImageButton')
  7917. .with('resource-id', 'com.lge.camera:id/quick_button_clean_view_off')
  7918. .with('content-desc', 'View')
  7919.  
  7920. $ruiObj.click
  7921.  
  7922. waitsecond(2)
  7923. end
  7924.  
  7925. tcase << TestAction.new(:checkAndDelete) do
  7926. checkAndDelete
  7927.  
  7928. waitsecond(2)
  7929. end
  7930.  
  7931. tcase << TestAction.new(:LogStop) do
  7932. $myTestResult = !checkLastExistResult
  7933.  
  7934. logStopTest("2_1_2_54_Picture_Auto")
  7935.  
  7936. waitsecond(2)
  7937. end
  7938.  
  7939. tcase.run(loopTime)
  7940.  
  7941. end
  7942.  
  7943. def self.PictureAuto_2_1_2_55(loopTime)
  7944.  
  7945. tcase = TestCase.new("PictureAuto_2_1_2_55")
  7946.  
  7947. tcase << TestAction.new(:LogStart) do
  7948. logStartTest("2_1_2_55_Picture_Auto")
  7949.  
  7950. waitsecond(2)
  7951. end
  7952.  
  7953. tcase << TestAction.new(:Open_Camera_Settings) do
  7954. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  7955. .with('uitreeindex', 3)
  7956. .with('classname', 'ImageButton')
  7957. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  7958. .with('content-desc', 'Open settings')
  7959.  
  7960. $ruiObj.click
  7961.  
  7962. waitsecond(2)
  7963. end
  7964.  
  7965. tcase << TestAction.new(:Swipe_Down) do
  7966. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  7967. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  7968.  
  7969. waitsecond(2)
  7970. end
  7971.  
  7972. tcase << TestAction.new(:Simple_View_Enter) do
  7973. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -1638459757).with('textdescid', -1395718599).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  7974. .with('uitreeindex', 35)
  7975. .with('classname', 'TextView')
  7976. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  7977. .with('content-desc', 'Simple view')
  7978. .with('text', 'Simple view')
  7979.  
  7980. $ruiObj.click
  7981.  
  7982. waitsecond(2)
  7983. end
  7984.  
  7985. tcase << TestAction.new(:Simple_View_Picture) do
  7986. click(getDisplayWidth/2, getDisplayHeight/2)
  7987.  
  7988. waitsecond(3)
  7989. end
  7990.  
  7991. tcase << TestAction.new(:Simple_View_Exit) do
  7992. $ruiObj = RUIObject.new.with('objectid', 1601410951).with('selfid', 2479282).with('textdescid', -1209880514).with('uniqueparentid', 0)
  7993. .with('uitreeindex', 3)
  7994. .with('classname', 'ImageButton')
  7995. .with('resource-id', 'com.lge.camera:id/quick_button_clean_view_off')
  7996. .with('content-desc', 'View')
  7997.  
  7998. $ruiObj.click
  7999.  
  8000. waitsecond(2)
  8001. end
  8002.  
  8003. tcase << TestAction.new(:checkAndDelete) do
  8004. checkAndDelete
  8005.  
  8006. waitsecond(2)
  8007. end
  8008.  
  8009. tcase << TestAction.new(:LogStop) do
  8010. $myTestResult = !checkLastExistResult
  8011.  
  8012. logStopTest("2_1_2_55_Picture_Auto")
  8013.  
  8014. waitsecond(2)
  8015. end
  8016.  
  8017. tcase.run(loopTime)
  8018.  
  8019. end
  8020.  
  8021. def self.PictureAuto_2_1_2_6_1(loopTime)
  8022.  
  8023. tcase = TestCase.new("PictureAuto_2_1_2_6_1")
  8024.  
  8025. tcase << TestAction.new(:LogStart) do
  8026. logStartTest("2_1_2_6_1_Picture_Auto")
  8027.  
  8028. waitsecond(2)
  8029. end
  8030.  
  8031. tcase << TestAction.new(:Switch_Wide_View) do
  8032. $ruiObj = RUIObject.new.with('objectid', -355772886).with('selfid', -1759883529).with('textdescid', -2115781374).with('uniqueparentid', 0)
  8033. .with('uitreeindex', 16)
  8034. .with('classname', 'ImageButton')
  8035. .with('resource-id', 'com.lge.camera:id/btn_dualview_wide_range')
  8036. .with('content-desc', 'Wide angle lens')
  8037.  
  8038. $ruiObj.click
  8039.  
  8040. waitsecond(2)
  8041. end
  8042.  
  8043. tcase << TestAction.new(:Shutter_Button) do
  8044. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  8045. .with('uitreeindex', 11)
  8046. .with('classname', 'ImageButton')
  8047. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  8048.  
  8049. $ruiObj.click
  8050.  
  8051. waitsecond(2)
  8052. end
  8053.  
  8054. tcase << TestAction.new(:checkAndDelete) do
  8055. checkAndDelete
  8056.  
  8057. waitsecond(2)
  8058. end
  8059.  
  8060. tcase << TestAction.new(:LogStop) do
  8061. $myTestResult = !checkLastExistResult
  8062.  
  8063. logStopTest("2_1_2_6_1_Picture_Auto")
  8064.  
  8065. waitsecond(2)
  8066. end
  8067.  
  8068. tcase.run(loopTime)
  8069.  
  8070. end
  8071.  
  8072. def self.PictureAuto_2_1_2_6_2(loopTime)
  8073.  
  8074. tcase = TestCase.new("PictureAuto_2_1_2_6_2")
  8075.  
  8076. tcase << TestAction.new(:LogStart) do
  8077. logStartTest("2_1_2_6_2_Picture_Auto")
  8078.  
  8079. waitsecond(2)
  8080. end
  8081.  
  8082. tcase << TestAction.new(:Switch_Normal_View) do
  8083. $ruiObj = RUIObject.new.with('objectid', 717001470).with('selfid', 814879967).with('textdescid', 946505666).with('uniqueparentid', 0)
  8084. .with('uitreeindex', 15)
  8085. .with('classname', 'ImageButton')
  8086. .with('resource-id', 'com.lge.camera:id/btn_dualview_normal_range')
  8087. .with('content-desc', 'Normal angle lens')
  8088.  
  8089. $ruiObj.click
  8090.  
  8091. waitsecond(2)
  8092. end
  8093.  
  8094. tcase << TestAction.new(:Shutter_Button) do
  8095. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  8096. .with('uitreeindex', 12)
  8097. .with('classname', 'ImageButton')
  8098. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  8099.  
  8100. $ruiObj.click
  8101.  
  8102. waitsecond(2)
  8103. end
  8104.  
  8105. tcase << TestAction.new(:checkAndDelete) do
  8106. checkAndDelete
  8107.  
  8108. waitsecond(2)
  8109. end
  8110.  
  8111. tcase << TestAction.new(:LogStop) do
  8112. $myTestResult = !checkLastExistResult
  8113.  
  8114. logStopTest("2_1_2_6_2_Picture_Auto")
  8115.  
  8116. waitsecond(2)
  8117. end
  8118.  
  8119. tcase.run(loopTime)
  8120.  
  8121. end
  8122.  
  8123. def self.PictureAuto_2_1_2_7(loopTime)
  8124.  
  8125. tcase = TestCase.new("PictureAuto_2_1_2_7")
  8126.  
  8127. tcase << TestAction.new(:LogStart) do
  8128. logStartTest("2_1_2_7_Picture_Auto")
  8129.  
  8130. waitsecond(2)
  8131. end
  8132.  
  8133. tcase << TestAction.new(:Flash_On) do
  8134. $ruiObj = RUIObject.new.with('objectid', -900526840).with('selfid', 1439491693).with('textdescid', 726990625).with('uniqueparentid', 0)
  8135. .with('uitreeindex', 5)
  8136. .with('classname', 'ImageButton')
  8137. .with('resource-id', 'com.lge.camera:id/quick_button_light_frame')
  8138. .with('content-desc', 'Switch to flash off, on')
  8139.  
  8140. $ruiObj.click
  8141.  
  8142. waitsecond(2)
  8143. end
  8144.  
  8145. tcase << TestAction.new(:Shutter_Button) do
  8146. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  8147. .with('uitreeindex', 11)
  8148. .with('classname', 'ImageButton')
  8149. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  8150.  
  8151. $ruiObj.click
  8152.  
  8153. waitsecond(2)
  8154. end
  8155.  
  8156. tcase << TestAction.new(:Open_Gallery) do
  8157. $ruiObj = RUIObject.new.with('objectid', -2123601541).with('selfid', -135259702).with('textdescid', 357252685).with('uniqueparentid', 0)
  8158. .with('uitreeindex', 14)
  8159. .with('classname', 'ImageView')
  8160. .with('resource-id', 'com.lge.camera:id/thumbnail')
  8161. .with('content-desc', 'Gallery')
  8162.  
  8163. $ruiObj.click
  8164.  
  8165. waitsecond(2)
  8166. end
  8167.  
  8168. tcase << TestAction.new(:checkAndDelete) do
  8169. checkAndDelete
  8170.  
  8171. waitsecond(2)
  8172. end
  8173.  
  8174. tcase << TestAction.new(:LogStop) do
  8175. $myTestResult = !checkLastExistResult
  8176.  
  8177. logStopTest("2_1_2_7_Picture_Auto")
  8178.  
  8179. waitsecond(2)
  8180. end
  8181.  
  8182. tcase.run(loopTime)
  8183.  
  8184. end
  8185.  
  8186. def self.PictureAuto_2_1_2_8(loopTime)
  8187.  
  8188. tcase = TestCase.new("PictureAuto_2_1_2_8")
  8189.  
  8190. tcase << TestAction.new(:LogStart) do
  8191. logStartTest("2_1_2_8_Picture_Auto")
  8192.  
  8193. waitsecond(2)
  8194. end
  8195.  
  8196. tcase << TestAction.new(:Flash_Off) do
  8197. $ruiObj = RUIObject.new.with('objectid', -900526840).with('selfid', 1439491693).with('textdescid', 726990625).with('uniqueparentid', 0)
  8198. .with('uitreeindex', 5)
  8199. .with('classname', 'ImageButton')
  8200. .with('resource-id', 'com.lge.camera:id/quick_button_light_frame')
  8201. .with('content-desc', 'Switch to flash off, on')
  8202.  
  8203. $ruiObj.click
  8204.  
  8205. waitsecond(2)
  8206. end
  8207.  
  8208. tcase << TestAction.new(:Shutter_Button) do
  8209. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  8210. .with('uitreeindex', 13)
  8211. .with('classname', 'ImageButton')
  8212. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  8213.  
  8214. $ruiObj.click
  8215.  
  8216. waitsecond(2)
  8217. end
  8218.  
  8219. tcase << TestAction.new(:checkAndDelete) do
  8220. checkAndDelete
  8221.  
  8222. waitsecond(2)
  8223. end
  8224.  
  8225. tcase << TestAction.new(:LogStop) do
  8226. $myTestResult = !checkLastExistResult
  8227.  
  8228. logStopTest("2_1_2_8_Picture_Auto")
  8229.  
  8230. waitsecond(2)
  8231. end
  8232.  
  8233. tcase.run(loopTime)
  8234.  
  8235. end
  8236.  
  8237. def self.PictureAuto_2_1_2_9(loopTime)
  8238.  
  8239. tcase = TestCase.new("PictureAuto_2_1_2_9")
  8240.  
  8241. tcase << TestAction.new(:LogStart) do
  8242. logStartTest("2_1_2_9_Picture_Auto")
  8243.  
  8244. waitsecond(2)
  8245. end
  8246.  
  8247. tcase << TestAction.new(:Open_Film_1) do
  8248. $ruiObj = RUIObject.new.with('objectid', 725470839).with('selfid', 489925877).with('textdescid', 838442273).with('uniqueparentid', 0)
  8249. .with('uitreeindex', 10)
  8250. .with('classname', 'ImageButton')
  8251. .with('resource-id', 'com.lge.camera:id/beauty_filter_button')
  8252. .with('content-desc', 'Filter')
  8253.  
  8254. $ruiObj.click
  8255.  
  8256. waitsecond(2)
  8257. end
  8258.  
  8259. tcase << TestAction.new(:Film_Bright) do
  8260. $ruiObj = RUIObject.new.with('objectid', 1938036272).with('selfid', 2090593688).with('textdescid', -156958582).with('uniqueparentid', 0).with('classresourceid', -2059470738)
  8261. .with('uitreeindex', 2)
  8262. .with('classname', 'ImageButton')
  8263. .with('resource-id', 'com.lge.camera:id/imageView1')
  8264. .with('content-desc', 'Bright')
  8265.  
  8266. $ruiObj.click
  8267.  
  8268. waitsecond(2)
  8269. end
  8270.  
  8271. tcase << TestAction.new(:Shutter_Button) do
  8272. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  8273. .with('uitreeindex', 11)
  8274. .with('classname', 'ImageButton')
  8275. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  8276.  
  8277. $ruiObj.click
  8278.  
  8279. waitsecond(2)
  8280. end
  8281.  
  8282. tcase << TestAction.new(:Open_Film_2) do
  8283. $ruiObj = RUIObject.new.with('objectid', 725470839).with('selfid', 489925877).with('textdescid', 838442273).with('uniqueparentid', 0)
  8284. .with('uitreeindex', 11)
  8285. .with('classname', 'ImageButton')
  8286. .with('resource-id', 'com.lge.camera:id/beauty_filter_button')
  8287. .with('content-desc', 'Filter')
  8288.  
  8289. $ruiObj.click
  8290.  
  8291. waitsecond(2)
  8292. end
  8293.  
  8294. tcase << TestAction.new(:Film_Default) do
  8295. $ruiObj = RUIObject.new.with('objectid', 1938036272).with('selfid', -1823696486).with('textdescid', 1279307080).with('uniqueparentid', 0).with('classresourceid', -2059470738)
  8296. .with('uitreeindex', 8)
  8297. .with('classname', 'ImageButton')
  8298. .with('resource-id', 'com.lge.camera:id/imageView1')
  8299. .with('content-desc', 'None')
  8300.  
  8301. $ruiObj.click
  8302.  
  8303. waitsecond(2)
  8304. end
  8305.  
  8306. tcase << TestAction.new(:checkAndDelete) do
  8307. checkAndDelete
  8308.  
  8309. waitsecond(2)
  8310. end
  8311.  
  8312. tcase << TestAction.new(:LogStop) do
  8313. $myTestResult = !checkLastExistResult
  8314.  
  8315. logStopTest("2_1_2_9_Picture_Auto")
  8316.  
  8317. waitsecond(2)
  8318. end
  8319.  
  8320. tcase.run(loopTime)
  8321.  
  8322. end
  8323.  
  8324. def self.mainLoop(loopTime)
  8325.  
  8326. WebSocketXServer.setAutoUpdate(false)
  8327.  
  8328. index = $mainResumeMainLoop
  8329. $mainResumeMainLoop = 0
  8330.  
  8331. writelog("mainLoop::#{index}::Resume") if index > 0
  8332.  
  8333. while index < loopTime
  8334.  
  8335. $curMainLoopNum = index
  8336.  
  8337. $actionParamInput = "none"
  8338. Preconditions 1
  8339.  
  8340. waitsecond(2)
  8341.  
  8342. $actionParamInput = "none"
  8343. Photo_Size_4_3_16MP 1
  8344.  
  8345. waitsecond(2)
  8346.  
  8347. $actionParamInput = "none"
  8348. Normal_View 1
  8349.  
  8350. waitsecond(2)
  8351.  
  8352. $actionParamInput = "none"
  8353. PictureAuto_2_1_1_1 1
  8354.  
  8355. waitsecond(2)
  8356.  
  8357. $actionParamInput = "none"
  8358. PictureAuto_2_1_1_2 1
  8359.  
  8360. waitsecond(2)
  8361.  
  8362. $actionParamInput = "none"
  8363. PictureAuto_2_1_1_3_1 1
  8364.  
  8365. waitsecond(2)
  8366.  
  8367. $actionParamInput = "none"
  8368. PictureAuto_2_1_1_3_2 1
  8369.  
  8370. waitsecond(2)
  8371.  
  8372. $actionParamInput = "none"
  8373. PictureAuto_2_1_1_4_1 1
  8374.  
  8375. waitsecond(2)
  8376.  
  8377. $actionParamInput = "none"
  8378. PictureAuto_2_1_1_4_2 1
  8379.  
  8380. waitsecond(2)
  8381.  
  8382. $actionParamInput = "none"
  8383. PictureAuto_2_1_1_5 1
  8384.  
  8385. waitsecond(2)
  8386.  
  8387. $actionParamInput = "none"
  8388. PictureAuto_2_1_1_6 1
  8389.  
  8390. waitsecond(2)
  8391.  
  8392. $actionParamInput = "none"
  8393. PictureAuto_2_1_1_7 1
  8394.  
  8395. waitsecond(2)
  8396.  
  8397. $actionParamInput = "none"
  8398. PictureAuto_2_1_1_8 1
  8399.  
  8400. waitsecond(2)
  8401.  
  8402. $actionParamInput = "none"
  8403. PictureAuto_2_1_1_9_1 1
  8404.  
  8405. waitsecond(2)
  8406.  
  8407. $actionParamInput = "none"
  8408. PictureAuto_2_1_1_9_2 1
  8409.  
  8410. waitsecond(2)
  8411.  
  8412. $actionParamInput = "none"
  8413. PictureAuto_2_1_1_10 1
  8414.  
  8415. waitsecond(2)
  8416.  
  8417. $actionParamInput = "none"
  8418. PictureAuto_2_1_1_11 1
  8419.  
  8420. waitsecond(2)
  8421.  
  8422. $actionParamInput = "none"
  8423. PictureAuto_2_1_1_12 1
  8424.  
  8425. waitsecond(2)
  8426.  
  8427. $actionParamInput = "none"
  8428. PictureAuto_2_1_1_13 1
  8429.  
  8430. waitsecond(2)
  8431.  
  8432. $actionParamInput = "none"
  8433. PictureAuto_2_1_1_14 1
  8434.  
  8435. waitsecond(2)
  8436.  
  8437. $actionParamInput = "none"
  8438. PictureAuto_2_1_1_15 1
  8439.  
  8440. waitsecond(2)
  8441.  
  8442. $actionParamInput = "none"
  8443. PictureAuto_2_1_1_16 1
  8444.  
  8445. waitsecond(2)
  8446.  
  8447. $actionParamInput = "none"
  8448. PictureAuto_2_1_1_17 1
  8449.  
  8450. waitsecond(2)
  8451.  
  8452. $actionParamInput = "none"
  8453. PictureAuto_2_1_1_18 1
  8454.  
  8455. waitsecond(2)
  8456.  
  8457. $actionParamInput = "none"
  8458. PictureAuto_2_1_1_19 1
  8459.  
  8460. waitsecond(2)
  8461.  
  8462. $actionParamInput = "none"
  8463. PictureAuto_2_1_1_20 1
  8464.  
  8465. waitsecond(2)
  8466.  
  8467. $actionParamInput = "none"
  8468. PictureAuto_2_1_1_21 1
  8469.  
  8470. waitsecond(2)
  8471.  
  8472. $actionParamInput = "none"
  8473. PictureAuto_2_1_1_22 1
  8474.  
  8475. waitsecond(2)
  8476.  
  8477. $actionParamInput = "none"
  8478. PictureAuto_2_1_1_23_1 1
  8479.  
  8480. waitsecond(2)
  8481.  
  8482. $actionParamInput = "none"
  8483. PictureAuto_2_1_1_23_2 1
  8484.  
  8485. waitsecond(2)
  8486.  
  8487. $actionParamInput = "none"
  8488. Wide_View 1
  8489.  
  8490. waitsecond(2)
  8491.  
  8492. $actionParamInput = "none"
  8493. PictureAuto_2_1_1_24 1
  8494.  
  8495. waitsecond(2)
  8496.  
  8497. $actionParamInput = "none"
  8498. PictureAuto_2_1_1_25 1
  8499.  
  8500. waitsecond(2)
  8501.  
  8502. $actionParamInput = "none"
  8503. PictureAuto_2_1_1_26_1 1
  8504.  
  8505. waitsecond(2)
  8506.  
  8507. $actionParamInput = "none"
  8508. PictureAuto_2_1_1_26_2 1
  8509.  
  8510. waitsecond(2)
  8511.  
  8512. $actionParamInput = "none"
  8513. PictureAuto_2_1_1_27 1
  8514.  
  8515. waitsecond(2)
  8516.  
  8517. $actionParamInput = "none"
  8518. PictureAuto_2_1_1_28 1
  8519.  
  8520. waitsecond(2)
  8521.  
  8522. $actionParamInput = "none"
  8523. PictureAuto_2_1_1_29 1
  8524.  
  8525. waitsecond(2)
  8526.  
  8527. $actionParamInput = "none"
  8528. PictureAuto_2_1_1_30 1
  8529.  
  8530. waitsecond(2)
  8531.  
  8532. $actionParamInput = "none"
  8533. PictureAuto_2_1_1_31_1 1
  8534.  
  8535. waitsecond(2)
  8536.  
  8537. $actionParamInput = "none"
  8538. PictureAuto_2_1_1_31_2 1
  8539.  
  8540. waitsecond(2)
  8541.  
  8542. $actionParamInput = "none"
  8543. PictureAuto_2_1_1_32 1
  8544.  
  8545. waitsecond(2)
  8546.  
  8547. $actionParamInput = "none"
  8548. PictureAuto_2_1_1_33 1
  8549.  
  8550. waitsecond(2)
  8551.  
  8552. $actionParamInput = "none"
  8553. PictureAuto_2_1_1_34 1
  8554.  
  8555. waitsecond(2)
  8556.  
  8557. $actionParamInput = "none"
  8558. PictureAuto_2_1_1_35 1
  8559.  
  8560. waitsecond(2)
  8561.  
  8562. $actionParamInput = "none"
  8563. PictureAuto_2_1_1_36 1
  8564.  
  8565. waitsecond(2)
  8566.  
  8567. $actionParamInput = "none"
  8568. PictureAuto_2_1_1_37 1
  8569.  
  8570. waitsecond(2)
  8571.  
  8572. $actionParamInput = "none"
  8573. PictureAuto_2_1_1_38 1
  8574.  
  8575. waitsecond(2)
  8576.  
  8577. $actionParamInput = "none"
  8578. PictureAuto_2_1_1_39 1
  8579.  
  8580. waitsecond(2)
  8581.  
  8582. $actionParamInput = "none"
  8583. PictureAuto_2_1_1_40 1
  8584.  
  8585. waitsecond(2)
  8586.  
  8587. $actionParamInput = "none"
  8588. PictureAuto_2_1_1_41 1
  8589.  
  8590. waitsecond(2)
  8591.  
  8592. $actionParamInput = "none"
  8593. PictureAuto_2_1_1_42 1
  8594.  
  8595. waitsecond(2)
  8596.  
  8597. $actionParamInput = "none"
  8598. PictureAuto_2_1_1_43 1
  8599.  
  8600. waitsecond(2)
  8601.  
  8602. $actionParamInput = "none"
  8603. PictureAuto_2_1_1_44 1
  8604.  
  8605. waitsecond(2)
  8606.  
  8607. $actionParamInput = "none"
  8608. PictureAuto_2_1_1_45_1 1
  8609.  
  8610. waitsecond(2)
  8611.  
  8612. $actionParamInput = "none"
  8613. PictureAuto_2_1_1_45_2 1
  8614.  
  8615. waitsecond(2)
  8616.  
  8617. $actionParamInput = "none"
  8618. Preconditions 1
  8619.  
  8620. waitsecond(2)
  8621.  
  8622. $actionParamInput = "none"
  8623. Photo_Size_4_3_8MP 1
  8624.  
  8625. waitsecond(2)
  8626.  
  8627. $actionParamInput = "none"
  8628. Normal_View 1
  8629.  
  8630. waitsecond(2)
  8631.  
  8632. $actionParamInput = "none"
  8633. PictureAuto_2_1_1_1 1
  8634.  
  8635. waitsecond(2)
  8636.  
  8637. $actionParamInput = "none"
  8638. PictureAuto_2_1_1_2 1
  8639.  
  8640. waitsecond(2)
  8641.  
  8642. $actionParamInput = "none"
  8643. PictureAuto_2_1_1_3_1 1
  8644.  
  8645. waitsecond(2)
  8646.  
  8647. $actionParamInput = "none"
  8648. PictureAuto_2_1_1_3_2 1
  8649.  
  8650. waitsecond(2)
  8651.  
  8652. $actionParamInput = "none"
  8653. PictureAuto_2_1_1_4_1 1
  8654.  
  8655. waitsecond(2)
  8656.  
  8657. $actionParamInput = "none"
  8658. PictureAuto_2_1_1_4_2 1
  8659.  
  8660. waitsecond(2)
  8661.  
  8662. $actionParamInput = "none"
  8663. PictureAuto_2_1_1_5 1
  8664.  
  8665. waitsecond(2)
  8666.  
  8667. $actionParamInput = "none"
  8668. PictureAuto_2_1_1_6 1
  8669.  
  8670. waitsecond(2)
  8671.  
  8672. $actionParamInput = "none"
  8673. PictureAuto_2_1_1_7 1
  8674.  
  8675. waitsecond(2)
  8676.  
  8677. $actionParamInput = "none"
  8678. PictureAuto_2_1_1_8 1
  8679.  
  8680. waitsecond(2)
  8681.  
  8682. $actionParamInput = "none"
  8683. PictureAuto_2_1_1_9_1 1
  8684.  
  8685. waitsecond(2)
  8686.  
  8687. $actionParamInput = "none"
  8688. PictureAuto_2_1_1_9_2 1
  8689.  
  8690. waitsecond(2)
  8691.  
  8692. $actionParamInput = "none"
  8693. PictureAuto_2_1_1_10 1
  8694.  
  8695. waitsecond(2)
  8696.  
  8697. $actionParamInput = "none"
  8698. PictureAuto_2_1_1_11 1
  8699.  
  8700. waitsecond(2)
  8701.  
  8702. $actionParamInput = "none"
  8703. PictureAuto_2_1_1_12 1
  8704.  
  8705. waitsecond(2)
  8706.  
  8707. $actionParamInput = "none"
  8708. PictureAuto_2_1_1_13 1
  8709.  
  8710. waitsecond(2)
  8711.  
  8712. $actionParamInput = "none"
  8713. PictureAuto_2_1_1_14 1
  8714.  
  8715. waitsecond(2)
  8716.  
  8717. $actionParamInput = "none"
  8718. PictureAuto_2_1_1_15 1
  8719.  
  8720. waitsecond(2)
  8721.  
  8722. $actionParamInput = "none"
  8723. PictureAuto_2_1_1_16 1
  8724.  
  8725. waitsecond(2)
  8726.  
  8727. $actionParamInput = "none"
  8728. PictureAuto_2_1_1_17 1
  8729.  
  8730. waitsecond(2)
  8731.  
  8732. $actionParamInput = "none"
  8733. PictureAuto_2_1_1_18 1
  8734.  
  8735. waitsecond(2)
  8736.  
  8737. $actionParamInput = "none"
  8738. PictureAuto_2_1_1_19 1
  8739.  
  8740. waitsecond(2)
  8741.  
  8742. $actionParamInput = "none"
  8743. PictureAuto_2_1_1_20 1
  8744.  
  8745. waitsecond(2)
  8746.  
  8747. $actionParamInput = "none"
  8748. PictureAuto_2_1_1_21 1
  8749.  
  8750. waitsecond(2)
  8751.  
  8752. $actionParamInput = "none"
  8753. PictureAuto_2_1_1_22 1
  8754.  
  8755. waitsecond(2)
  8756.  
  8757. $actionParamInput = "none"
  8758. PictureAuto_2_1_1_23_1 1
  8759.  
  8760. waitsecond(2)
  8761.  
  8762. $actionParamInput = "none"
  8763. PictureAuto_2_1_1_23_2 1
  8764.  
  8765. waitsecond(2)
  8766.  
  8767. $actionParamInput = "none"
  8768. Wide_View 1
  8769.  
  8770. waitsecond(2)
  8771.  
  8772. $actionParamInput = "none"
  8773. PictureAuto_2_1_1_24 1
  8774.  
  8775. waitsecond(2)
  8776.  
  8777. $actionParamInput = "none"
  8778. PictureAuto_2_1_1_25 1
  8779.  
  8780. waitsecond(2)
  8781.  
  8782. $actionParamInput = "none"
  8783. PictureAuto_2_1_1_26_1 1
  8784.  
  8785. waitsecond(2)
  8786.  
  8787. $actionParamInput = "none"
  8788. PictureAuto_2_1_1_26_2 1
  8789.  
  8790. waitsecond(2)
  8791.  
  8792. $actionParamInput = "none"
  8793. PictureAuto_2_1_1_27 1
  8794.  
  8795. waitsecond(2)
  8796.  
  8797. $actionParamInput = "none"
  8798. PictureAuto_2_1_1_28 1
  8799.  
  8800. waitsecond(2)
  8801.  
  8802. $actionParamInput = "none"
  8803. PictureAuto_2_1_1_29 1
  8804.  
  8805. waitsecond(2)
  8806.  
  8807. $actionParamInput = "none"
  8808. PictureAuto_2_1_1_30 1
  8809.  
  8810. waitsecond(2)
  8811.  
  8812. $actionParamInput = "none"
  8813. PictureAuto_2_1_1_31_1 1
  8814.  
  8815. waitsecond(2)
  8816.  
  8817. $actionParamInput = "none"
  8818. PictureAuto_2_1_1_31_2 1
  8819.  
  8820. waitsecond(2)
  8821.  
  8822. $actionParamInput = "none"
  8823. PictureAuto_2_1_1_32 1
  8824.  
  8825. waitsecond(2)
  8826.  
  8827. $actionParamInput = "none"
  8828. PictureAuto_2_1_1_33 1
  8829.  
  8830. waitsecond(2)
  8831.  
  8832. $actionParamInput = "none"
  8833. PictureAuto_2_1_1_34 1
  8834.  
  8835. waitsecond(2)
  8836.  
  8837. $actionParamInput = "none"
  8838. PictureAuto_2_1_1_35 1
  8839.  
  8840. waitsecond(2)
  8841.  
  8842. $actionParamInput = "none"
  8843. PictureAuto_2_1_1_36 1
  8844.  
  8845. waitsecond(2)
  8846.  
  8847. $actionParamInput = "none"
  8848. PictureAuto_2_1_1_37 1
  8849.  
  8850. waitsecond(2)
  8851.  
  8852. $actionParamInput = "none"
  8853. PictureAuto_2_1_1_38 1
  8854.  
  8855. waitsecond(2)
  8856.  
  8857. $actionParamInput = "none"
  8858. PictureAuto_2_1_1_39 1
  8859.  
  8860. waitsecond(2)
  8861.  
  8862. $actionParamInput = "none"
  8863. PictureAuto_2_1_1_40 1
  8864.  
  8865. waitsecond(2)
  8866.  
  8867. $actionParamInput = "none"
  8868. PictureAuto_2_1_1_41 1
  8869.  
  8870. waitsecond(2)
  8871.  
  8872. $actionParamInput = "none"
  8873. PictureAuto_2_1_1_42 1
  8874.  
  8875. waitsecond(2)
  8876.  
  8877. $actionParamInput = "none"
  8878. PictureAuto_2_1_1_43 1
  8879.  
  8880. waitsecond(2)
  8881.  
  8882. $actionParamInput = "none"
  8883. PictureAuto_2_1_1_44 1
  8884.  
  8885. waitsecond(2)
  8886.  
  8887. $actionParamInput = "none"
  8888. PictureAuto_2_1_1_45_1 1
  8889.  
  8890. waitsecond(2)
  8891.  
  8892. $actionParamInput = "none"
  8893. PictureAuto_2_1_1_45_2 1
  8894.  
  8895. waitsecond(2)
  8896.  
  8897. $actionParamInput = "none"
  8898. Preconditions 1
  8899.  
  8900. waitsecond(2)
  8901.  
  8902. $actionParamInput = "none"
  8903. Photo_Size_16_9_12MP 1
  8904.  
  8905. waitsecond(2)
  8906.  
  8907. $actionParamInput = "none"
  8908. Normal_View 1
  8909.  
  8910. waitsecond(2)
  8911.  
  8912. $actionParamInput = "none"
  8913. PictureAuto_2_1_1_1 1
  8914.  
  8915. waitsecond(2)
  8916.  
  8917. $actionParamInput = "none"
  8918. PictureAuto_2_1_1_2 1
  8919.  
  8920. waitsecond(2)
  8921.  
  8922. $actionParamInput = "none"
  8923. PictureAuto_2_1_1_3_1 1
  8924.  
  8925. waitsecond(2)
  8926.  
  8927. $actionParamInput = "none"
  8928. PictureAuto_2_1_1_3_2 1
  8929.  
  8930. waitsecond(2)
  8931.  
  8932. $actionParamInput = "none"
  8933. PictureAuto_2_1_1_4_1 1
  8934.  
  8935. waitsecond(2)
  8936.  
  8937. $actionParamInput = "none"
  8938. PictureAuto_2_1_1_4_2 1
  8939.  
  8940. waitsecond(2)
  8941.  
  8942. $actionParamInput = "none"
  8943. PictureAuto_2_1_1_5 1
  8944.  
  8945. waitsecond(2)
  8946.  
  8947. $actionParamInput = "none"
  8948. PictureAuto_2_1_1_6 1
  8949.  
  8950. waitsecond(2)
  8951.  
  8952. $actionParamInput = "none"
  8953. PictureAuto_2_1_1_7 1
  8954.  
  8955. waitsecond(2)
  8956.  
  8957. $actionParamInput = "none"
  8958. PictureAuto_2_1_1_8 1
  8959.  
  8960. waitsecond(2)
  8961.  
  8962. $actionParamInput = "none"
  8963. PictureAuto_2_1_1_9_1 1
  8964.  
  8965. waitsecond(2)
  8966.  
  8967. $actionParamInput = "none"
  8968. PictureAuto_2_1_1_9_2 1
  8969.  
  8970. waitsecond(2)
  8971.  
  8972. $actionParamInput = "none"
  8973. PictureAuto_2_1_1_10 1
  8974.  
  8975. waitsecond(2)
  8976.  
  8977. $actionParamInput = "none"
  8978. PictureAuto_2_1_1_11 1
  8979.  
  8980. waitsecond(2)
  8981.  
  8982. $actionParamInput = "none"
  8983. PictureAuto_2_1_1_12 1
  8984.  
  8985. waitsecond(2)
  8986.  
  8987. $actionParamInput = "none"
  8988. PictureAuto_2_1_1_13 1
  8989.  
  8990. waitsecond(2)
  8991.  
  8992. $actionParamInput = "none"
  8993. PictureAuto_2_1_1_14 1
  8994.  
  8995. waitsecond(2)
  8996.  
  8997. $actionParamInput = "none"
  8998. PictureAuto_2_1_1_15 1
  8999.  
  9000. waitsecond(2)
  9001.  
  9002. $actionParamInput = "none"
  9003. PictureAuto_2_1_1_16 1
  9004.  
  9005. waitsecond(2)
  9006.  
  9007. $actionParamInput = "none"
  9008. PictureAuto_2_1_1_17 1
  9009.  
  9010. waitsecond(2)
  9011.  
  9012. $actionParamInput = "none"
  9013. PictureAuto_2_1_1_18 1
  9014.  
  9015. waitsecond(2)
  9016.  
  9017. $actionParamInput = "none"
  9018. PictureAuto_2_1_1_19 1
  9019.  
  9020. waitsecond(2)
  9021.  
  9022. $actionParamInput = "none"
  9023. PictureAuto_2_1_1_20 1
  9024.  
  9025. waitsecond(2)
  9026.  
  9027. $actionParamInput = "none"
  9028. PictureAuto_2_1_1_21 1
  9029.  
  9030. waitsecond(2)
  9031.  
  9032. $actionParamInput = "none"
  9033. PictureAuto_2_1_1_22 1
  9034.  
  9035. waitsecond(2)
  9036.  
  9037. $actionParamInput = "none"
  9038. PictureAuto_2_1_1_23_1 1
  9039.  
  9040. waitsecond(2)
  9041.  
  9042. $actionParamInput = "none"
  9043. PictureAuto_2_1_1_23_2 1
  9044.  
  9045. waitsecond(2)
  9046.  
  9047. $actionParamInput = "none"
  9048. Wide_View 1
  9049.  
  9050. waitsecond(2)
  9051.  
  9052. $actionParamInput = "none"
  9053. PictureAuto_2_1_1_24 1
  9054.  
  9055. waitsecond(2)
  9056.  
  9057. $actionParamInput = "none"
  9058. PictureAuto_2_1_1_25 1
  9059.  
  9060. waitsecond(2)
  9061.  
  9062. $actionParamInput = "none"
  9063. PictureAuto_2_1_1_26_1 1
  9064.  
  9065. waitsecond(2)
  9066.  
  9067. $actionParamInput = "none"
  9068. PictureAuto_2_1_1_26_2 1
  9069.  
  9070. waitsecond(2)
  9071.  
  9072. $actionParamInput = "none"
  9073. PictureAuto_2_1_1_27 1
  9074.  
  9075. waitsecond(2)
  9076.  
  9077. $actionParamInput = "none"
  9078. PictureAuto_2_1_1_28 1
  9079.  
  9080. waitsecond(2)
  9081.  
  9082. $actionParamInput = "none"
  9083. PictureAuto_2_1_1_29 1
  9084.  
  9085. waitsecond(2)
  9086.  
  9087. $actionParamInput = "none"
  9088. PictureAuto_2_1_1_30 1
  9089.  
  9090. waitsecond(2)
  9091.  
  9092. $actionParamInput = "none"
  9093. PictureAuto_2_1_1_31_1 1
  9094.  
  9095. waitsecond(2)
  9096.  
  9097. $actionParamInput = "none"
  9098. PictureAuto_2_1_1_31_2 1
  9099.  
  9100. waitsecond(2)
  9101.  
  9102. $actionParamInput = "none"
  9103. PictureAuto_2_1_1_32 1
  9104.  
  9105. waitsecond(2)
  9106.  
  9107. $actionParamInput = "none"
  9108. PictureAuto_2_1_1_33 1
  9109.  
  9110. waitsecond(2)
  9111.  
  9112. $actionParamInput = "none"
  9113. PictureAuto_2_1_1_34 1
  9114.  
  9115. waitsecond(2)
  9116.  
  9117. $actionParamInput = "none"
  9118. PictureAuto_2_1_1_35 1
  9119.  
  9120. waitsecond(2)
  9121.  
  9122. $actionParamInput = "none"
  9123. PictureAuto_2_1_1_36 1
  9124.  
  9125. waitsecond(2)
  9126.  
  9127. $actionParamInput = "none"
  9128. PictureAuto_2_1_1_37 1
  9129.  
  9130. waitsecond(2)
  9131.  
  9132. $actionParamInput = "none"
  9133. PictureAuto_2_1_1_38 1
  9134.  
  9135. waitsecond(2)
  9136.  
  9137. $actionParamInput = "none"
  9138. PictureAuto_2_1_1_39 1
  9139.  
  9140. waitsecond(2)
  9141.  
  9142. $actionParamInput = "none"
  9143. PictureAuto_2_1_1_40 1
  9144.  
  9145. waitsecond(2)
  9146.  
  9147. $actionParamInput = "none"
  9148. PictureAuto_2_1_1_41 1
  9149.  
  9150. waitsecond(2)
  9151.  
  9152. $actionParamInput = "none"
  9153. PictureAuto_2_1_1_42 1
  9154.  
  9155. waitsecond(2)
  9156.  
  9157. $actionParamInput = "none"
  9158. PictureAuto_2_1_1_43 1
  9159.  
  9160. waitsecond(2)
  9161.  
  9162. $actionParamInput = "none"
  9163. PictureAuto_2_1_1_44 1
  9164.  
  9165. waitsecond(2)
  9166.  
  9167. $actionParamInput = "none"
  9168. PictureAuto_2_1_1_45_1 1
  9169.  
  9170. waitsecond(2)
  9171.  
  9172. $actionParamInput = "none"
  9173. PictureAuto_2_1_1_45_2 1
  9174.  
  9175. waitsecond(2)
  9176.  
  9177. $actionParamInput = "none"
  9178. Preconditions 1
  9179.  
  9180. waitsecond(2)
  9181.  
  9182. $actionParamInput = "none"
  9183. Photo_Size_16_9_6MP 1
  9184.  
  9185. waitsecond(2)
  9186.  
  9187. $actionParamInput = "none"
  9188. Normal_View 1
  9189.  
  9190. waitsecond(2)
  9191.  
  9192. $actionParamInput = "none"
  9193. PictureAuto_2_1_1_1 1
  9194.  
  9195. waitsecond(2)
  9196.  
  9197. $actionParamInput = "none"
  9198. PictureAuto_2_1_1_2 1
  9199.  
  9200. waitsecond(2)
  9201.  
  9202. $actionParamInput = "none"
  9203. PictureAuto_2_1_1_3_1 1
  9204.  
  9205. waitsecond(2)
  9206.  
  9207. $actionParamInput = "none"
  9208. PictureAuto_2_1_1_3_2 1
  9209.  
  9210. waitsecond(2)
  9211.  
  9212. $actionParamInput = "none"
  9213. PictureAuto_2_1_1_4_1 1
  9214.  
  9215. waitsecond(2)
  9216.  
  9217. $actionParamInput = "none"
  9218. PictureAuto_2_1_1_4_2 1
  9219.  
  9220. waitsecond(2)
  9221.  
  9222. $actionParamInput = "none"
  9223. PictureAuto_2_1_1_5 1
  9224.  
  9225. waitsecond(2)
  9226.  
  9227. $actionParamInput = "none"
  9228. PictureAuto_2_1_1_6 1
  9229.  
  9230. waitsecond(2)
  9231.  
  9232. $actionParamInput = "none"
  9233. PictureAuto_2_1_1_7 1
  9234.  
  9235. waitsecond(2)
  9236.  
  9237. $actionParamInput = "none"
  9238. PictureAuto_2_1_1_8 1
  9239.  
  9240. waitsecond(2)
  9241.  
  9242. $actionParamInput = "none"
  9243. PictureAuto_2_1_1_9_1 1
  9244.  
  9245. waitsecond(2)
  9246.  
  9247. $actionParamInput = "none"
  9248. PictureAuto_2_1_1_9_2 1
  9249.  
  9250. waitsecond(2)
  9251.  
  9252. $actionParamInput = "none"
  9253. PictureAuto_2_1_1_10 1
  9254.  
  9255. waitsecond(2)
  9256.  
  9257. $actionParamInput = "none"
  9258. PictureAuto_2_1_1_11 1
  9259.  
  9260. waitsecond(2)
  9261.  
  9262. $actionParamInput = "none"
  9263. PictureAuto_2_1_1_12 1
  9264.  
  9265. waitsecond(2)
  9266.  
  9267. $actionParamInput = "none"
  9268. PictureAuto_2_1_1_13 1
  9269.  
  9270. waitsecond(2)
  9271.  
  9272. $actionParamInput = "none"
  9273. PictureAuto_2_1_1_14 1
  9274.  
  9275. waitsecond(2)
  9276.  
  9277. $actionParamInput = "none"
  9278. PictureAuto_2_1_1_15 1
  9279.  
  9280. waitsecond(2)
  9281.  
  9282. $actionParamInput = "none"
  9283. PictureAuto_2_1_1_16 1
  9284.  
  9285. waitsecond(2)
  9286.  
  9287. $actionParamInput = "none"
  9288. PictureAuto_2_1_1_17 1
  9289.  
  9290. waitsecond(2)
  9291.  
  9292. $actionParamInput = "none"
  9293. PictureAuto_2_1_1_18 1
  9294.  
  9295. waitsecond(2)
  9296.  
  9297. $actionParamInput = "none"
  9298. PictureAuto_2_1_1_19 1
  9299.  
  9300. waitsecond(2)
  9301.  
  9302. $actionParamInput = "none"
  9303. PictureAuto_2_1_1_20 1
  9304.  
  9305. waitsecond(2)
  9306.  
  9307. $actionParamInput = "none"
  9308. PictureAuto_2_1_1_21 1
  9309.  
  9310. waitsecond(2)
  9311.  
  9312. $actionParamInput = "none"
  9313. PictureAuto_2_1_1_22 1
  9314.  
  9315. waitsecond(2)
  9316.  
  9317. $actionParamInput = "none"
  9318. PictureAuto_2_1_1_23_1 1
  9319.  
  9320. waitsecond(2)
  9321.  
  9322. $actionParamInput = "none"
  9323. PictureAuto_2_1_1_23_2 1
  9324.  
  9325. waitsecond(2)
  9326.  
  9327. $actionParamInput = "none"
  9328. Wide_View 1
  9329.  
  9330. waitsecond(2)
  9331.  
  9332. $actionParamInput = "none"
  9333. PictureAuto_2_1_1_24 1
  9334.  
  9335. waitsecond(2)
  9336.  
  9337. $actionParamInput = "none"
  9338. PictureAuto_2_1_1_25 1
  9339.  
  9340. waitsecond(2)
  9341.  
  9342. $actionParamInput = "none"
  9343. PictureAuto_2_1_1_26_1 1
  9344.  
  9345. waitsecond(2)
  9346.  
  9347. $actionParamInput = "none"
  9348. PictureAuto_2_1_1_26_2 1
  9349.  
  9350. waitsecond(2)
  9351.  
  9352. $actionParamInput = "none"
  9353. PictureAuto_2_1_1_27 1
  9354.  
  9355. waitsecond(2)
  9356.  
  9357. $actionParamInput = "none"
  9358. PictureAuto_2_1_1_28 1
  9359.  
  9360. waitsecond(2)
  9361.  
  9362. $actionParamInput = "none"
  9363. PictureAuto_2_1_1_29 1
  9364.  
  9365. waitsecond(2)
  9366.  
  9367. $actionParamInput = "none"
  9368. PictureAuto_2_1_1_30 1
  9369.  
  9370. waitsecond(2)
  9371.  
  9372. $actionParamInput = "none"
  9373. PictureAuto_2_1_1_31_1 1
  9374.  
  9375. waitsecond(2)
  9376.  
  9377. $actionParamInput = "none"
  9378. PictureAuto_2_1_1_31_2 1
  9379.  
  9380. waitsecond(2)
  9381.  
  9382. $actionParamInput = "none"
  9383. PictureAuto_2_1_1_32 1
  9384.  
  9385. waitsecond(2)
  9386.  
  9387. $actionParamInput = "none"
  9388. PictureAuto_2_1_1_33 1
  9389.  
  9390. waitsecond(2)
  9391.  
  9392. $actionParamInput = "none"
  9393. PictureAuto_2_1_1_34 1
  9394.  
  9395. waitsecond(2)
  9396.  
  9397. $actionParamInput = "none"
  9398. PictureAuto_2_1_1_35 1
  9399.  
  9400. waitsecond(2)
  9401.  
  9402. $actionParamInput = "none"
  9403. PictureAuto_2_1_1_36 1
  9404.  
  9405. waitsecond(2)
  9406.  
  9407. $actionParamInput = "none"
  9408. PictureAuto_2_1_1_37 1
  9409.  
  9410. waitsecond(2)
  9411.  
  9412. $actionParamInput = "none"
  9413. PictureAuto_2_1_1_38 1
  9414.  
  9415. waitsecond(2)
  9416.  
  9417. $actionParamInput = "none"
  9418. PictureAuto_2_1_1_39 1
  9419.  
  9420. waitsecond(2)
  9421.  
  9422. $actionParamInput = "none"
  9423. PictureAuto_2_1_1_40 1
  9424.  
  9425. waitsecond(2)
  9426.  
  9427. $actionParamInput = "none"
  9428. PictureAuto_2_1_1_41 1
  9429.  
  9430. waitsecond(2)
  9431.  
  9432. $actionParamInput = "none"
  9433. PictureAuto_2_1_1_42 1
  9434.  
  9435. waitsecond(2)
  9436.  
  9437. $actionParamInput = "none"
  9438. PictureAuto_2_1_1_43 1
  9439.  
  9440. waitsecond(2)
  9441.  
  9442. $actionParamInput = "none"
  9443. PictureAuto_2_1_1_44 1
  9444.  
  9445. waitsecond(2)
  9446.  
  9447. $actionParamInput = "none"
  9448. PictureAuto_2_1_1_45_1 1
  9449.  
  9450. waitsecond(2)
  9451.  
  9452. $actionParamInput = "none"
  9453. PictureAuto_2_1_1_45_2 1
  9454.  
  9455. waitsecond(2)
  9456.  
  9457. $actionParamInput = "none"
  9458. Preconditions 1
  9459.  
  9460. waitsecond(2)
  9461.  
  9462. $actionParamInput = "none"
  9463. Photo_Size_18_9_11MP 1
  9464.  
  9465. waitsecond(2)
  9466.  
  9467. $actionParamInput = "none"
  9468. Normal_View 1
  9469.  
  9470. waitsecond(2)
  9471.  
  9472. $actionParamInput = "none"
  9473. PictureAuto_2_1_1_1 1
  9474.  
  9475. waitsecond(2)
  9476.  
  9477. $actionParamInput = "none"
  9478. PictureAuto_2_1_1_2 1
  9479.  
  9480. waitsecond(2)
  9481.  
  9482. $actionParamInput = "none"
  9483. PictureAuto_2_1_1_3_1 1
  9484.  
  9485. waitsecond(2)
  9486.  
  9487. $actionParamInput = "none"
  9488. PictureAuto_2_1_1_3_2 1
  9489.  
  9490. waitsecond(2)
  9491.  
  9492. $actionParamInput = "none"
  9493. PictureAuto_2_1_1_4_1 1
  9494.  
  9495. waitsecond(2)
  9496.  
  9497. $actionParamInput = "none"
  9498. PictureAuto_2_1_1_4_2 1
  9499.  
  9500. waitsecond(2)
  9501.  
  9502. $actionParamInput = "none"
  9503. PictureAuto_2_1_1_5 1
  9504.  
  9505. waitsecond(2)
  9506.  
  9507. $actionParamInput = "none"
  9508. PictureAuto_2_1_1_6 1
  9509.  
  9510. waitsecond(2)
  9511.  
  9512. $actionParamInput = "none"
  9513. PictureAuto_2_1_1_7 1
  9514.  
  9515. waitsecond(2)
  9516.  
  9517. $actionParamInput = "none"
  9518. PictureAuto_2_1_1_8 1
  9519.  
  9520. waitsecond(2)
  9521.  
  9522. $actionParamInput = "none"
  9523. PictureAuto_2_1_1_9_1 1
  9524.  
  9525. waitsecond(2)
  9526.  
  9527. $actionParamInput = "none"
  9528. PictureAuto_2_1_1_9_2 1
  9529.  
  9530. waitsecond(2)
  9531.  
  9532. $actionParamInput = "none"
  9533. PictureAuto_2_1_1_10 1
  9534.  
  9535. waitsecond(2)
  9536.  
  9537. $actionParamInput = "none"
  9538. PictureAuto_2_1_1_11 1
  9539.  
  9540. waitsecond(2)
  9541.  
  9542. $actionParamInput = "none"
  9543. PictureAuto_2_1_1_12 1
  9544.  
  9545. waitsecond(2)
  9546.  
  9547. $actionParamInput = "none"
  9548. PictureAuto_2_1_1_13 1
  9549.  
  9550. waitsecond(2)
  9551.  
  9552. $actionParamInput = "none"
  9553. PictureAuto_2_1_1_14 1
  9554.  
  9555. waitsecond(2)
  9556.  
  9557. $actionParamInput = "none"
  9558. PictureAuto_2_1_1_15 1
  9559.  
  9560. waitsecond(2)
  9561.  
  9562. $actionParamInput = "none"
  9563. PictureAuto_2_1_1_16 1
  9564.  
  9565. waitsecond(2)
  9566.  
  9567. $actionParamInput = "none"
  9568. PictureAuto_2_1_1_17 1
  9569.  
  9570. waitsecond(2)
  9571.  
  9572. $actionParamInput = "none"
  9573. PictureAuto_2_1_1_18 1
  9574.  
  9575. waitsecond(2)
  9576.  
  9577. $actionParamInput = "none"
  9578. PictureAuto_2_1_1_19 1
  9579.  
  9580. waitsecond(2)
  9581.  
  9582. $actionParamInput = "none"
  9583. PictureAuto_2_1_1_20 1
  9584.  
  9585. waitsecond(2)
  9586.  
  9587. $actionParamInput = "none"
  9588. PictureAuto_2_1_1_21 1
  9589.  
  9590. waitsecond(2)
  9591.  
  9592. $actionParamInput = "none"
  9593. PictureAuto_2_1_1_22 1
  9594.  
  9595. waitsecond(2)
  9596.  
  9597. $actionParamInput = "none"
  9598. PictureAuto_2_1_1_23_1 1
  9599.  
  9600. waitsecond(2)
  9601.  
  9602. $actionParamInput = "none"
  9603. PictureAuto_2_1_1_23_2 1
  9604.  
  9605. waitsecond(2)
  9606.  
  9607. $actionParamInput = "none"
  9608. Wide_View 1
  9609.  
  9610. waitsecond(2)
  9611.  
  9612. $actionParamInput = "none"
  9613. PictureAuto_2_1_1_24 1
  9614.  
  9615. waitsecond(2)
  9616.  
  9617. $actionParamInput = "none"
  9618. PictureAuto_2_1_1_25 1
  9619.  
  9620. waitsecond(2)
  9621.  
  9622. $actionParamInput = "none"
  9623. PictureAuto_2_1_1_26_1 1
  9624.  
  9625. waitsecond(2)
  9626.  
  9627. $actionParamInput = "none"
  9628. PictureAuto_2_1_1_26_2 1
  9629.  
  9630. waitsecond(2)
  9631.  
  9632. $actionParamInput = "none"
  9633. PictureAuto_2_1_1_27 1
  9634.  
  9635. waitsecond(2)
  9636.  
  9637. $actionParamInput = "none"
  9638. PictureAuto_2_1_1_28 1
  9639.  
  9640. waitsecond(2)
  9641.  
  9642. $actionParamInput = "none"
  9643. PictureAuto_2_1_1_29 1
  9644.  
  9645. waitsecond(2)
  9646.  
  9647. $actionParamInput = "none"
  9648. PictureAuto_2_1_1_30 1
  9649.  
  9650. waitsecond(2)
  9651.  
  9652. $actionParamInput = "none"
  9653. PictureAuto_2_1_1_31_1 1
  9654.  
  9655. waitsecond(2)
  9656.  
  9657. $actionParamInput = "none"
  9658. PictureAuto_2_1_1_31_2 1
  9659.  
  9660. waitsecond(2)
  9661.  
  9662. $actionParamInput = "none"
  9663. PictureAuto_2_1_1_32 1
  9664.  
  9665. waitsecond(2)
  9666.  
  9667. $actionParamInput = "none"
  9668. PictureAuto_2_1_1_33 1
  9669.  
  9670. waitsecond(2)
  9671.  
  9672. $actionParamInput = "none"
  9673. PictureAuto_2_1_1_34 1
  9674.  
  9675. waitsecond(2)
  9676.  
  9677. $actionParamInput = "none"
  9678. PictureAuto_2_1_1_35 1
  9679.  
  9680. waitsecond(2)
  9681.  
  9682. $actionParamInput = "none"
  9683. PictureAuto_2_1_1_36 1
  9684.  
  9685. waitsecond(2)
  9686.  
  9687. $actionParamInput = "none"
  9688. PictureAuto_2_1_1_37 1
  9689.  
  9690. waitsecond(2)
  9691.  
  9692. $actionParamInput = "none"
  9693. PictureAuto_2_1_1_38 1
  9694.  
  9695. waitsecond(2)
  9696.  
  9697. $actionParamInput = "none"
  9698. PictureAuto_2_1_1_39 1
  9699.  
  9700. waitsecond(2)
  9701.  
  9702. $actionParamInput = "none"
  9703. PictureAuto_2_1_1_40 1
  9704.  
  9705. waitsecond(2)
  9706.  
  9707. $actionParamInput = "none"
  9708. PictureAuto_2_1_1_41 1
  9709.  
  9710. waitsecond(2)
  9711.  
  9712. $actionParamInput = "none"
  9713. PictureAuto_2_1_1_42 1
  9714.  
  9715. waitsecond(2)
  9716.  
  9717. $actionParamInput = "none"
  9718. PictureAuto_2_1_1_43 1
  9719.  
  9720. waitsecond(2)
  9721.  
  9722. $actionParamInput = "none"
  9723. PictureAuto_2_1_1_44 1
  9724.  
  9725. waitsecond(2)
  9726.  
  9727. $actionParamInput = "none"
  9728. PictureAuto_2_1_1_45_1 1
  9729.  
  9730. waitsecond(2)
  9731.  
  9732. $actionParamInput = "none"
  9733. PictureAuto_2_1_1_45_2 1
  9734.  
  9735. waitsecond(2)
  9736.  
  9737. $actionParamInput = "none"
  9738. Preconditions 1
  9739.  
  9740. waitsecond(2)
  9741.  
  9742. $actionParamInput = "none"
  9743. Photo_Size_18_9_33MP 1
  9744.  
  9745. waitsecond(2)
  9746.  
  9747. $actionParamInput = "none"
  9748. Normal_View 1
  9749.  
  9750. waitsecond(2)
  9751.  
  9752. $actionParamInput = "none"
  9753. PictureAuto_2_1_1_1 1
  9754.  
  9755. waitsecond(2)
  9756.  
  9757. $actionParamInput = "none"
  9758. PictureAuto_2_1_1_2 1
  9759.  
  9760. waitsecond(2)
  9761.  
  9762. $actionParamInput = "none"
  9763. PictureAuto_2_1_1_3_1 1
  9764.  
  9765. waitsecond(2)
  9766.  
  9767. $actionParamInput = "none"
  9768. PictureAuto_2_1_1_3_2 1
  9769.  
  9770. waitsecond(2)
  9771.  
  9772. $actionParamInput = "none"
  9773. PictureAuto_2_1_1_4_1 1
  9774.  
  9775. waitsecond(2)
  9776.  
  9777. $actionParamInput = "none"
  9778. PictureAuto_2_1_1_4_2 1
  9779.  
  9780. waitsecond(2)
  9781.  
  9782. $actionParamInput = "none"
  9783. PictureAuto_2_1_1_5 1
  9784.  
  9785. waitsecond(2)
  9786.  
  9787. $actionParamInput = "none"
  9788. PictureAuto_2_1_1_6 1
  9789.  
  9790. waitsecond(2)
  9791.  
  9792. $actionParamInput = "none"
  9793. PictureAuto_2_1_1_7 1
  9794.  
  9795. waitsecond(2)
  9796.  
  9797. $actionParamInput = "none"
  9798. PictureAuto_2_1_1_8 1
  9799.  
  9800. waitsecond(2)
  9801.  
  9802. $actionParamInput = "none"
  9803. PictureAuto_2_1_1_9_1 1
  9804.  
  9805. waitsecond(2)
  9806.  
  9807. $actionParamInput = "none"
  9808. PictureAuto_2_1_1_9_2 1
  9809.  
  9810. waitsecond(2)
  9811.  
  9812. $actionParamInput = "none"
  9813. PictureAuto_2_1_1_10 1
  9814.  
  9815. waitsecond(2)
  9816.  
  9817. $actionParamInput = "none"
  9818. PictureAuto_2_1_1_11 1
  9819.  
  9820. waitsecond(2)
  9821.  
  9822. $actionParamInput = "none"
  9823. PictureAuto_2_1_1_12 1
  9824.  
  9825. waitsecond(2)
  9826.  
  9827. $actionParamInput = "none"
  9828. PictureAuto_2_1_1_13 1
  9829.  
  9830. waitsecond(2)
  9831.  
  9832. $actionParamInput = "none"
  9833. PictureAuto_2_1_1_14 1
  9834.  
  9835. waitsecond(2)
  9836.  
  9837. $actionParamInput = "none"
  9838. PictureAuto_2_1_1_15 1
  9839.  
  9840. waitsecond(2)
  9841.  
  9842. $actionParamInput = "none"
  9843. PictureAuto_2_1_1_16 1
  9844.  
  9845. waitsecond(2)
  9846.  
  9847. $actionParamInput = "none"
  9848. PictureAuto_2_1_1_17 1
  9849.  
  9850. waitsecond(2)
  9851.  
  9852. $actionParamInput = "none"
  9853. PictureAuto_2_1_1_18 1
  9854.  
  9855. waitsecond(2)
  9856.  
  9857. $actionParamInput = "none"
  9858. PictureAuto_2_1_1_19 1
  9859.  
  9860. waitsecond(2)
  9861.  
  9862. $actionParamInput = "none"
  9863. PictureAuto_2_1_1_20 1
  9864.  
  9865. waitsecond(2)
  9866.  
  9867. $actionParamInput = "none"
  9868. PictureAuto_2_1_1_21 1
  9869.  
  9870. waitsecond(2)
  9871.  
  9872. $actionParamInput = "none"
  9873. PictureAuto_2_1_1_22 1
  9874.  
  9875. waitsecond(2)
  9876.  
  9877. $actionParamInput = "none"
  9878. PictureAuto_2_1_1_23_1 1
  9879.  
  9880. waitsecond(2)
  9881.  
  9882. $actionParamInput = "none"
  9883. PictureAuto_2_1_1_23_2 1
  9884.  
  9885. waitsecond(2)
  9886.  
  9887. $actionParamInput = "none"
  9888. Wide_View 1
  9889.  
  9890. waitsecond(2)
  9891.  
  9892. $actionParamInput = "none"
  9893. PictureAuto_2_1_1_24 1
  9894.  
  9895. waitsecond(2)
  9896.  
  9897. $actionParamInput = "none"
  9898. PictureAuto_2_1_1_25 1
  9899.  
  9900. waitsecond(2)
  9901.  
  9902. $actionParamInput = "none"
  9903. PictureAuto_2_1_1_26_1 1
  9904.  
  9905. waitsecond(2)
  9906.  
  9907. $actionParamInput = "none"
  9908. PictureAuto_2_1_1_26_2 1
  9909.  
  9910. waitsecond(2)
  9911.  
  9912. $actionParamInput = "none"
  9913. PictureAuto_2_1_1_27 1
  9914.  
  9915. waitsecond(2)
  9916.  
  9917. $actionParamInput = "none"
  9918. PictureAuto_2_1_1_28 1
  9919.  
  9920. waitsecond(2)
  9921.  
  9922. $actionParamInput = "none"
  9923. PictureAuto_2_1_1_29 1
  9924.  
  9925. waitsecond(2)
  9926.  
  9927. $actionParamInput = "none"
  9928. PictureAuto_2_1_1_30 1
  9929.  
  9930. waitsecond(2)
  9931.  
  9932. $actionParamInput = "none"
  9933. PictureAuto_2_1_1_31_1 1
  9934.  
  9935. waitsecond(2)
  9936.  
  9937. $actionParamInput = "none"
  9938. PictureAuto_2_1_1_31_2 1
  9939.  
  9940. waitsecond(2)
  9941.  
  9942. $actionParamInput = "none"
  9943. PictureAuto_2_1_1_32 1
  9944.  
  9945. waitsecond(2)
  9946.  
  9947. $actionParamInput = "none"
  9948. PictureAuto_2_1_1_33 1
  9949.  
  9950. waitsecond(2)
  9951.  
  9952. $actionParamInput = "none"
  9953. PictureAuto_2_1_1_34 1
  9954.  
  9955. waitsecond(2)
  9956.  
  9957. $actionParamInput = "none"
  9958. PictureAuto_2_1_1_35 1
  9959.  
  9960. waitsecond(2)
  9961.  
  9962. $actionParamInput = "none"
  9963. PictureAuto_2_1_1_36 1
  9964.  
  9965. waitsecond(2)
  9966.  
  9967. $actionParamInput = "none"
  9968. PictureAuto_2_1_1_37 1
  9969.  
  9970. waitsecond(2)
  9971.  
  9972. $actionParamInput = "none"
  9973. PictureAuto_2_1_1_38 1
  9974.  
  9975. waitsecond(2)
  9976.  
  9977. $actionParamInput = "none"
  9978. PictureAuto_2_1_1_39 1
  9979.  
  9980. waitsecond(2)
  9981.  
  9982. $actionParamInput = "none"
  9983. PictureAuto_2_1_1_40 1
  9984.  
  9985. waitsecond(2)
  9986.  
  9987. $actionParamInput = "none"
  9988. PictureAuto_2_1_1_41 1
  9989.  
  9990. waitsecond(2)
  9991.  
  9992. $actionParamInput = "none"
  9993. PictureAuto_2_1_1_42 1
  9994.  
  9995. waitsecond(2)
  9996.  
  9997. $actionParamInput = "none"
  9998. PictureAuto_2_1_1_43 1
  9999.  
  10000. waitsecond(2)
  10001.  
  10002. $actionParamInput = "none"
  10003. PictureAuto_2_1_1_44 1
  10004.  
  10005. waitsecond(2)
  10006.  
  10007. $actionParamInput = "none"
  10008. PictureAuto_2_1_1_45_1 1
  10009.  
  10010. waitsecond(2)
  10011.  
  10012. $actionParamInput = "none"
  10013. PictureAuto_2_1_1_45_2 1
  10014.  
  10015. waitsecond(2)
  10016.  
  10017. $actionParamInput = "none"
  10018. Preconditions 1
  10019.  
  10020. waitsecond(2)
  10021.  
  10022. $actionParamInput = "none"
  10023. Photo_Size_1_1_12MP 1
  10024.  
  10025. waitsecond(2)
  10026.  
  10027. $actionParamInput = "none"
  10028. Normal_View 1
  10029.  
  10030. waitsecond(2)
  10031.  
  10032. $actionParamInput = "none"
  10033. PictureAuto_2_1_1_1 1
  10034.  
  10035. waitsecond(2)
  10036.  
  10037. $actionParamInput = "none"
  10038. PictureAuto_2_1_1_2 1
  10039.  
  10040. waitsecond(2)
  10041.  
  10042. $actionParamInput = "none"
  10043. PictureAuto_2_1_1_3_1 1
  10044.  
  10045. waitsecond(2)
  10046.  
  10047. $actionParamInput = "none"
  10048. PictureAuto_2_1_1_3_2 1
  10049.  
  10050. waitsecond(2)
  10051.  
  10052. $actionParamInput = "none"
  10053. PictureAuto_2_1_1_4_1 1
  10054.  
  10055. waitsecond(2)
  10056.  
  10057. $actionParamInput = "none"
  10058. PictureAuto_2_1_1_4_2 1
  10059.  
  10060. waitsecond(2)
  10061.  
  10062. $actionParamInput = "none"
  10063. PictureAuto_2_1_1_5 1
  10064.  
  10065. waitsecond(2)
  10066.  
  10067. $actionParamInput = "none"
  10068. PictureAuto_2_1_1_6 1
  10069.  
  10070. waitsecond(2)
  10071.  
  10072. $actionParamInput = "none"
  10073. PictureAuto_2_1_1_7 1
  10074.  
  10075. waitsecond(2)
  10076.  
  10077. $actionParamInput = "none"
  10078. PictureAuto_2_1_1_8 1
  10079.  
  10080. waitsecond(2)
  10081.  
  10082. $actionParamInput = "none"
  10083. PictureAuto_2_1_1_9_1 1
  10084.  
  10085. waitsecond(2)
  10086.  
  10087. $actionParamInput = "none"
  10088. PictureAuto_2_1_1_9_2 1
  10089.  
  10090. waitsecond(2)
  10091.  
  10092. $actionParamInput = "none"
  10093. PictureAuto_2_1_1_10 1
  10094.  
  10095. waitsecond(2)
  10096.  
  10097. $actionParamInput = "none"
  10098. PictureAuto_2_1_1_11 1
  10099.  
  10100. waitsecond(2)
  10101.  
  10102. $actionParamInput = "none"
  10103. PictureAuto_2_1_1_12 1
  10104.  
  10105. waitsecond(2)
  10106.  
  10107. $actionParamInput = "none"
  10108. PictureAuto_2_1_1_13 1
  10109.  
  10110. waitsecond(2)
  10111.  
  10112. $actionParamInput = "none"
  10113. PictureAuto_2_1_1_14 1
  10114.  
  10115. waitsecond(2)
  10116.  
  10117. $actionParamInput = "none"
  10118. PictureAuto_2_1_1_15 1
  10119.  
  10120. waitsecond(2)
  10121.  
  10122. $actionParamInput = "none"
  10123. PictureAuto_2_1_1_16 1
  10124.  
  10125. waitsecond(2)
  10126.  
  10127. $actionParamInput = "none"
  10128. PictureAuto_2_1_1_17 1
  10129.  
  10130. waitsecond(2)
  10131.  
  10132. $actionParamInput = "none"
  10133. PictureAuto_2_1_1_18 1
  10134.  
  10135. waitsecond(2)
  10136.  
  10137. $actionParamInput = "none"
  10138. PictureAuto_2_1_1_19 1
  10139.  
  10140. waitsecond(2)
  10141.  
  10142. $actionParamInput = "none"
  10143. PictureAuto_2_1_1_20 1
  10144.  
  10145. waitsecond(2)
  10146.  
  10147. $actionParamInput = "none"
  10148. PictureAuto_2_1_1_21 1
  10149.  
  10150. waitsecond(2)
  10151.  
  10152. $actionParamInput = "none"
  10153. PictureAuto_2_1_1_22 1
  10154.  
  10155. waitsecond(2)
  10156.  
  10157. $actionParamInput = "none"
  10158. PictureAuto_2_1_1_23_1 1
  10159.  
  10160. waitsecond(2)
  10161.  
  10162. $actionParamInput = "none"
  10163. PictureAuto_2_1_1_23_2 1
  10164.  
  10165. waitsecond(2)
  10166.  
  10167. $actionParamInput = "none"
  10168. Wide_View 1
  10169.  
  10170. waitsecond(2)
  10171.  
  10172. $actionParamInput = "none"
  10173. PictureAuto_2_1_1_24 1
  10174.  
  10175. waitsecond(2)
  10176.  
  10177. $actionParamInput = "none"
  10178. PictureAuto_2_1_1_25 1
  10179.  
  10180. waitsecond(2)
  10181.  
  10182. $actionParamInput = "none"
  10183. PictureAuto_2_1_1_26_1 1
  10184.  
  10185. waitsecond(2)
  10186.  
  10187. $actionParamInput = "none"
  10188. PictureAuto_2_1_1_26_2 1
  10189.  
  10190. waitsecond(2)
  10191.  
  10192. $actionParamInput = "none"
  10193. PictureAuto_2_1_1_27 1
  10194.  
  10195. waitsecond(2)
  10196.  
  10197. $actionParamInput = "none"
  10198. PictureAuto_2_1_1_28 1
  10199.  
  10200. waitsecond(2)
  10201.  
  10202. $actionParamInput = "none"
  10203. PictureAuto_2_1_1_29 1
  10204.  
  10205. waitsecond(2)
  10206.  
  10207. $actionParamInput = "none"
  10208. PictureAuto_2_1_1_30 1
  10209.  
  10210. waitsecond(2)
  10211.  
  10212. $actionParamInput = "none"
  10213. PictureAuto_2_1_1_31_1 1
  10214.  
  10215. waitsecond(2)
  10216.  
  10217. $actionParamInput = "none"
  10218. PictureAuto_2_1_1_31_2 1
  10219.  
  10220. waitsecond(2)
  10221.  
  10222. $actionParamInput = "none"
  10223. PictureAuto_2_1_1_32 1
  10224.  
  10225. waitsecond(2)
  10226.  
  10227. $actionParamInput = "none"
  10228. PictureAuto_2_1_1_33 1
  10229.  
  10230. waitsecond(2)
  10231.  
  10232. $actionParamInput = "none"
  10233. PictureAuto_2_1_1_34 1
  10234.  
  10235. waitsecond(2)
  10236.  
  10237. $actionParamInput = "none"
  10238. PictureAuto_2_1_1_35 1
  10239.  
  10240. waitsecond(2)
  10241.  
  10242. $actionParamInput = "none"
  10243. PictureAuto_2_1_1_36 1
  10244.  
  10245. waitsecond(2)
  10246.  
  10247. $actionParamInput = "none"
  10248. PictureAuto_2_1_1_37 1
  10249.  
  10250. waitsecond(2)
  10251.  
  10252. $actionParamInput = "none"
  10253. PictureAuto_2_1_1_38 1
  10254.  
  10255. waitsecond(2)
  10256.  
  10257. $actionParamInput = "none"
  10258. PictureAuto_2_1_1_39 1
  10259.  
  10260. waitsecond(2)
  10261.  
  10262. $actionParamInput = "none"
  10263. PictureAuto_2_1_1_40 1
  10264.  
  10265. waitsecond(2)
  10266.  
  10267. $actionParamInput = "none"
  10268. PictureAuto_2_1_1_41 1
  10269.  
  10270. waitsecond(2)
  10271.  
  10272. $actionParamInput = "none"
  10273. PictureAuto_2_1_1_42 1
  10274.  
  10275. waitsecond(2)
  10276.  
  10277. $actionParamInput = "none"
  10278. PictureAuto_2_1_1_43 1
  10279.  
  10280. waitsecond(2)
  10281.  
  10282. $actionParamInput = "none"
  10283. PictureAuto_2_1_1_44 1
  10284.  
  10285. waitsecond(2)
  10286.  
  10287. $actionParamInput = "none"
  10288. PictureAuto_2_1_1_45_1 1
  10289.  
  10290. waitsecond(2)
  10291.  
  10292. $actionParamInput = "none"
  10293. PictureAuto_2_1_1_45_2 1
  10294.  
  10295. waitsecond(2)
  10296.  
  10297. $actionParamInput = "none"
  10298. Preconditions 1
  10299.  
  10300. waitsecond(2)
  10301.  
  10302. $actionParamInput = "none"
  10303. Photo_Size_1_1_34MP 1
  10304.  
  10305. waitsecond(2)
  10306.  
  10307. $actionParamInput = "none"
  10308. Normal_View 1
  10309.  
  10310. waitsecond(2)
  10311.  
  10312. $actionParamInput = "none"
  10313. PictureAuto_2_1_1_1 1
  10314.  
  10315. waitsecond(2)
  10316.  
  10317. $actionParamInput = "none"
  10318. PictureAuto_2_1_1_2 1
  10319.  
  10320. waitsecond(2)
  10321.  
  10322. $actionParamInput = "none"
  10323. PictureAuto_2_1_1_3_1 1
  10324.  
  10325. waitsecond(2)
  10326.  
  10327. $actionParamInput = "none"
  10328. PictureAuto_2_1_1_3_2 1
  10329.  
  10330. waitsecond(2)
  10331.  
  10332. $actionParamInput = "none"
  10333. PictureAuto_2_1_1_4_1 1
  10334.  
  10335. waitsecond(2)
  10336.  
  10337. $actionParamInput = "none"
  10338. PictureAuto_2_1_1_4_2 1
  10339.  
  10340. waitsecond(2)
  10341.  
  10342. $actionParamInput = "none"
  10343. PictureAuto_2_1_1_5 1
  10344.  
  10345. waitsecond(2)
  10346.  
  10347. $actionParamInput = "none"
  10348. PictureAuto_2_1_1_6 1
  10349.  
  10350. waitsecond(2)
  10351.  
  10352. $actionParamInput = "none"
  10353. PictureAuto_2_1_1_7 1
  10354.  
  10355. waitsecond(2)
  10356.  
  10357. $actionParamInput = "none"
  10358. PictureAuto_2_1_1_8 1
  10359.  
  10360. waitsecond(2)
  10361.  
  10362. $actionParamInput = "none"
  10363. PictureAuto_2_1_1_9_1 1
  10364.  
  10365. waitsecond(2)
  10366.  
  10367. $actionParamInput = "none"
  10368. PictureAuto_2_1_1_9_2 1
  10369.  
  10370. waitsecond(2)
  10371.  
  10372. $actionParamInput = "none"
  10373. PictureAuto_2_1_1_10 1
  10374.  
  10375. waitsecond(2)
  10376.  
  10377. $actionParamInput = "none"
  10378. PictureAuto_2_1_1_11 1
  10379.  
  10380. waitsecond(2)
  10381.  
  10382. $actionParamInput = "none"
  10383. PictureAuto_2_1_1_12 1
  10384.  
  10385. waitsecond(2)
  10386.  
  10387. $actionParamInput = "none"
  10388. PictureAuto_2_1_1_13 1
  10389.  
  10390. waitsecond(2)
  10391.  
  10392. $actionParamInput = "none"
  10393. PictureAuto_2_1_1_14 1
  10394.  
  10395. waitsecond(2)
  10396.  
  10397. $actionParamInput = "none"
  10398. PictureAuto_2_1_1_15 1
  10399.  
  10400. waitsecond(2)
  10401.  
  10402. $actionParamInput = "none"
  10403. PictureAuto_2_1_1_16 1
  10404.  
  10405. waitsecond(2)
  10406.  
  10407. $actionParamInput = "none"
  10408. PictureAuto_2_1_1_17 1
  10409.  
  10410. waitsecond(2)
  10411.  
  10412. $actionParamInput = "none"
  10413. PictureAuto_2_1_1_18 1
  10414.  
  10415. waitsecond(2)
  10416.  
  10417. $actionParamInput = "none"
  10418. PictureAuto_2_1_1_19 1
  10419.  
  10420. waitsecond(2)
  10421.  
  10422. $actionParamInput = "none"
  10423. PictureAuto_2_1_1_20 1
  10424.  
  10425. waitsecond(2)
  10426.  
  10427. $actionParamInput = "none"
  10428. PictureAuto_2_1_1_21 1
  10429.  
  10430. waitsecond(2)
  10431.  
  10432. $actionParamInput = "none"
  10433. PictureAuto_2_1_1_22 1
  10434.  
  10435. waitsecond(2)
  10436.  
  10437. $actionParamInput = "none"
  10438. PictureAuto_2_1_1_23_1 1
  10439.  
  10440. waitsecond(2)
  10441.  
  10442. $actionParamInput = "none"
  10443. PictureAuto_2_1_1_23_2 1
  10444.  
  10445. waitsecond(2)
  10446.  
  10447. $actionParamInput = "none"
  10448. Wide_View 1
  10449.  
  10450. waitsecond(2)
  10451.  
  10452. $actionParamInput = "none"
  10453. PictureAuto_2_1_1_24 1
  10454.  
  10455. waitsecond(2)
  10456.  
  10457. $actionParamInput = "none"
  10458. PictureAuto_2_1_1_25 1
  10459.  
  10460. waitsecond(2)
  10461.  
  10462. $actionParamInput = "none"
  10463. PictureAuto_2_1_1_26_1 1
  10464.  
  10465. waitsecond(2)
  10466.  
  10467. $actionParamInput = "none"
  10468. PictureAuto_2_1_1_26_2 1
  10469.  
  10470. waitsecond(2)
  10471.  
  10472. $actionParamInput = "none"
  10473. PictureAuto_2_1_1_27 1
  10474.  
  10475. waitsecond(2)
  10476.  
  10477. $actionParamInput = "none"
  10478. PictureAuto_2_1_1_28 1
  10479.  
  10480. waitsecond(2)
  10481.  
  10482. $actionParamInput = "none"
  10483. PictureAuto_2_1_1_29 1
  10484.  
  10485. waitsecond(2)
  10486.  
  10487. $actionParamInput = "none"
  10488. PictureAuto_2_1_1_30 1
  10489.  
  10490. waitsecond(2)
  10491.  
  10492. $actionParamInput = "none"
  10493. PictureAuto_2_1_1_31_1 1
  10494.  
  10495. waitsecond(2)
  10496.  
  10497. $actionParamInput = "none"
  10498. PictureAuto_2_1_1_31_2 1
  10499.  
  10500. waitsecond(2)
  10501.  
  10502. $actionParamInput = "none"
  10503. PictureAuto_2_1_1_32 1
  10504.  
  10505. waitsecond(2)
  10506.  
  10507. $actionParamInput = "none"
  10508. PictureAuto_2_1_1_33 1
  10509.  
  10510. waitsecond(2)
  10511.  
  10512. $actionParamInput = "none"
  10513. PictureAuto_2_1_1_34 1
  10514.  
  10515. waitsecond(2)
  10516.  
  10517. $actionParamInput = "none"
  10518. PictureAuto_2_1_1_35 1
  10519.  
  10520. waitsecond(2)
  10521.  
  10522. $actionParamInput = "none"
  10523. PictureAuto_2_1_1_36 1
  10524.  
  10525. waitsecond(2)
  10526.  
  10527. $actionParamInput = "none"
  10528. PictureAuto_2_1_1_37 1
  10529.  
  10530. waitsecond(2)
  10531.  
  10532. $actionParamInput = "none"
  10533. PictureAuto_2_1_1_38 1
  10534.  
  10535. waitsecond(2)
  10536.  
  10537. $actionParamInput = "none"
  10538. PictureAuto_2_1_1_39 1
  10539.  
  10540. waitsecond(2)
  10541.  
  10542. $actionParamInput = "none"
  10543. PictureAuto_2_1_1_40 1
  10544.  
  10545. waitsecond(2)
  10546.  
  10547. $actionParamInput = "none"
  10548. PictureAuto_2_1_1_41 1
  10549.  
  10550. waitsecond(2)
  10551.  
  10552. $actionParamInput = "none"
  10553. PictureAuto_2_1_1_42 1
  10554.  
  10555. waitsecond(2)
  10556.  
  10557. $actionParamInput = "none"
  10558. PictureAuto_2_1_1_43 1
  10559.  
  10560. waitsecond(2)
  10561.  
  10562. $actionParamInput = "none"
  10563. PictureAuto_2_1_1_44 1
  10564.  
  10565. waitsecond(2)
  10566.  
  10567. $actionParamInput = "none"
  10568. PictureAuto_2_1_1_45_1 1
  10569.  
  10570. waitsecond(2)
  10571.  
  10572. $actionParamInput = "none"
  10573. PictureAuto_2_1_1_45_2 1
  10574.  
  10575. waitsecond(2)
  10576.  
  10577. $actionParamInput = "none"
  10578. Preconditions_Front 1
  10579.  
  10580. waitsecond(2)
  10581.  
  10582. $actionParamInput = "none"
  10583. Photo_Size_4_3_5MP_Front 1
  10584.  
  10585. waitsecond(2)
  10586.  
  10587. $actionParamInput = "none"
  10588. Normal_View 1
  10589.  
  10590. waitsecond(2)
  10591.  
  10592. $actionParamInput = "none"
  10593. PictureAuto_2_1_2_1 1
  10594.  
  10595. waitsecond(2)
  10596.  
  10597. $actionParamInput = "none"
  10598. PictureAuto_2_1_2_2 1
  10599.  
  10600. waitsecond(2)
  10601.  
  10602. $actionParamInput = "none"
  10603. PictureAuto_2_1_2_3 1
  10604.  
  10605. waitsecond(2)
  10606.  
  10607. $actionParamInput = "none"
  10608. PictureAuto_2_1_2_4 1
  10609.  
  10610. waitsecond(2)
  10611.  
  10612. $actionParamInput = "none"
  10613. PictureAuto_2_1_2_5 1
  10614.  
  10615. waitsecond(2)
  10616.  
  10617. $actionParamInput = "none"
  10618. PictureAuto_2_1_2_6_1 1
  10619.  
  10620. waitsecond(2)
  10621.  
  10622. $actionParamInput = "none"
  10623. PictureAuto_2_1_2_6_2 1
  10624.  
  10625. waitsecond(2)
  10626.  
  10627. $actionParamInput = "none"
  10628. PictureAuto_2_1_2_7 1
  10629.  
  10630. waitsecond(2)
  10631.  
  10632. $actionParamInput = "none"
  10633. PictureAuto_2_1_2_8 1
  10634.  
  10635. waitsecond(2)
  10636.  
  10637. $actionParamInput = "none"
  10638. PictureAuto_2_1_2_9 1
  10639.  
  10640. waitsecond(2)
  10641.  
  10642. $actionParamInput = "none"
  10643. PictureAuto_2_1_2_10_1 1
  10644.  
  10645. waitsecond(2)
  10646.  
  10647. $actionParamInput = "none"
  10648. PictureAuto_2_1_2_10_2 1
  10649.  
  10650. waitsecond(2)
  10651.  
  10652. $actionParamInput = "none"
  10653. PictureAuto_2_1_2_11 1
  10654.  
  10655. waitsecond(2)
  10656.  
  10657. $actionParamInput = "none"
  10658. PictureAuto_2_1_2_12 1
  10659.  
  10660. waitsecond(2)
  10661.  
  10662. $actionParamInput = "none"
  10663. PictureAuto_2_1_2_13 1
  10664.  
  10665. waitsecond(2)
  10666.  
  10667. $actionParamInput = "none"
  10668. PictureAuto_2_1_2_14 1
  10669.  
  10670. waitsecond(2)
  10671.  
  10672. $actionParamInput = "none"
  10673. PictureAuto_2_1_2_15 1
  10674.  
  10675. waitsecond(2)
  10676.  
  10677. $actionParamInput = "none"
  10678. PictureAuto_2_1_2_16 1
  10679.  
  10680. waitsecond(2)
  10681.  
  10682. $actionParamInput = "none"
  10683. PictureAuto_2_1_2_17 1
  10684.  
  10685. waitsecond(2)
  10686.  
  10687. $actionParamInput = "none"
  10688. PictureAuto_2_1_2_18 1
  10689.  
  10690. waitsecond(2)
  10691.  
  10692. $actionParamInput = "none"
  10693. PictureAuto_2_1_2_19 1
  10694.  
  10695. waitsecond(2)
  10696.  
  10697. $actionParamInput = "none"
  10698. PictureAuto_2_1_2_20 1
  10699.  
  10700. waitsecond(2)
  10701.  
  10702. $actionParamInput = "none"
  10703. PictureAuto_2_1_2_21 1
  10704.  
  10705. waitsecond(2)
  10706.  
  10707. $actionParamInput = "none"
  10708. PictureAuto_2_1_2_22 1
  10709.  
  10710. waitsecond(2)
  10711.  
  10712. $actionParamInput = "none"
  10713. PictureAuto_2_1_2_23 1
  10714.  
  10715. waitsecond(2)
  10716.  
  10717. $actionParamInput = "none"
  10718. PictureAuto_2_1_2_24 1
  10719.  
  10720. waitsecond(2)
  10721.  
  10722. $actionParamInput = "none"
  10723. PictureAuto_2_1_2_25 1
  10724.  
  10725. waitsecond(2)
  10726.  
  10727. $actionParamInput = "none"
  10728. PictureAuto_2_1_2_26 1
  10729.  
  10730. waitsecond(2)
  10731.  
  10732. $actionParamInput = "none"
  10733. PictureAuto_2_1_2_27 1
  10734.  
  10735. waitsecond(2)
  10736.  
  10737. $actionParamInput = "none"
  10738. PictureAuto_2_1_2_28 1
  10739.  
  10740. waitsecond(2)
  10741.  
  10742. $actionParamInput = "none"
  10743. Wide_View 1
  10744.  
  10745. waitsecond(2)
  10746.  
  10747. $actionParamInput = "none"
  10748. PictureAuto_2_1_2_29 1
  10749.  
  10750. waitsecond(2)
  10751.  
  10752. $actionParamInput = "none"
  10753. PictureAuto_2_1_2_30 1
  10754.  
  10755. waitsecond(2)
  10756.  
  10757. $actionParamInput = "none"
  10758. PictureAuto_2_1_2_31 1
  10759.  
  10760. waitsecond(2)
  10761.  
  10762. $actionParamInput = "none"
  10763. PictureAuto_2_1_2_32 1
  10764.  
  10765. waitsecond(2)
  10766.  
  10767. $actionParamInput = "none"
  10768. PictureAuto_2_1_2_32 1
  10769.  
  10770. waitsecond(2)
  10771.  
  10772. $actionParamInput = "none"
  10773. PictureAuto_2_1_2_34 1
  10774.  
  10775. waitsecond(2)
  10776.  
  10777. $actionParamInput = "none"
  10778. PictureAuto_2_1_2_35 1
  10779.  
  10780. waitsecond(2)
  10781.  
  10782. $actionParamInput = "none"
  10783. PictureAuto_2_1_2_36 1
  10784.  
  10785. waitsecond(2)
  10786.  
  10787. $actionParamInput = "none"
  10788. PictureAuto_2_1_2_37_1 1
  10789.  
  10790. waitsecond(2)
  10791.  
  10792. $actionParamInput = "none"
  10793. PictureAuto_2_1_2_37_2 1
  10794.  
  10795. waitsecond(2)
  10796.  
  10797. $actionParamInput = "none"
  10798. PictureAuto_2_1_2_38 1
  10799.  
  10800. waitsecond(2)
  10801.  
  10802. $actionParamInput = "none"
  10803. PictureAuto_2_1_2_39 1
  10804.  
  10805. waitsecond(2)
  10806.  
  10807. $actionParamInput = "none"
  10808. PictureAuto_2_1_2_40 1
  10809.  
  10810. waitsecond(2)
  10811.  
  10812. $actionParamInput = "none"
  10813. PictureAuto_2_1_2_41 1
  10814.  
  10815. waitsecond(2)
  10816.  
  10817. $actionParamInput = "none"
  10818. PictureAuto_2_1_2_42 1
  10819.  
  10820. waitsecond(2)
  10821.  
  10822. $actionParamInput = "none"
  10823. PictureAuto_2_1_2_43 1
  10824.  
  10825. waitsecond(2)
  10826.  
  10827. $actionParamInput = "none"
  10828. PictureAuto_2_1_2_44 1
  10829.  
  10830. waitsecond(2)
  10831.  
  10832. $actionParamInput = "none"
  10833. PictureAuto_2_1_2_45 1
  10834.  
  10835. waitsecond(2)
  10836.  
  10837. $actionParamInput = "none"
  10838. PictureAuto_2_1_2_46 1
  10839.  
  10840. waitsecond(2)
  10841.  
  10842. $actionParamInput = "none"
  10843. PictureAuto_2_1_2_47 1
  10844.  
  10845. waitsecond(2)
  10846.  
  10847. $actionParamInput = "none"
  10848. PictureAuto_2_1_2_48 1
  10849.  
  10850. waitsecond(2)
  10851.  
  10852. $actionParamInput = "none"
  10853. PictureAuto_2_1_2_49 1
  10854.  
  10855. waitsecond(2)
  10856.  
  10857. $actionParamInput = "none"
  10858. PictureAuto_2_1_2_50 1
  10859.  
  10860. waitsecond(2)
  10861.  
  10862. $actionParamInput = "none"
  10863. PictureAuto_2_1_2_51 1
  10864.  
  10865. waitsecond(2)
  10866.  
  10867. $actionParamInput = "none"
  10868. PictureAuto_2_1_2_52 1
  10869.  
  10870. waitsecond(2)
  10871.  
  10872. $actionParamInput = "none"
  10873. PictureAuto_2_1_2_53 1
  10874.  
  10875. waitsecond(2)
  10876.  
  10877. $actionParamInput = "none"
  10878. PictureAuto_2_1_2_54 1
  10879.  
  10880. waitsecond(2)
  10881.  
  10882. $actionParamInput = "none"
  10883. PictureAuto_2_1_2_55 1
  10884.  
  10885. waitsecond(2)
  10886.  
  10887. $actionParamInput = "none"
  10888. Preconditions_Front 1
  10889.  
  10890. waitsecond(2)
  10891.  
  10892. $actionParamInput = "none"
  10893. Photo_Size_16_9_37MP_Front 1
  10894.  
  10895. waitsecond(2)
  10896.  
  10897. $actionParamInput = "none"
  10898. Normal_View 1
  10899.  
  10900. waitsecond(2)
  10901.  
  10902. $actionParamInput = "none"
  10903. PictureAuto_2_1_2_1 1
  10904.  
  10905. waitsecond(2)
  10906.  
  10907. $actionParamInput = "none"
  10908. PictureAuto_2_1_2_2 1
  10909.  
  10910. waitsecond(2)
  10911.  
  10912. $actionParamInput = "none"
  10913. PictureAuto_2_1_2_3 1
  10914.  
  10915. waitsecond(2)
  10916.  
  10917. $actionParamInput = "none"
  10918. PictureAuto_2_1_2_4 1
  10919.  
  10920. waitsecond(2)
  10921.  
  10922. $actionParamInput = "none"
  10923. PictureAuto_2_1_2_5 1
  10924.  
  10925. waitsecond(2)
  10926.  
  10927. $actionParamInput = "none"
  10928. PictureAuto_2_1_2_6_1 1
  10929.  
  10930. waitsecond(2)
  10931.  
  10932. $actionParamInput = "none"
  10933. PictureAuto_2_1_2_6_2 1
  10934.  
  10935. waitsecond(2)
  10936.  
  10937. $actionParamInput = "none"
  10938. PictureAuto_2_1_2_7 1
  10939.  
  10940. waitsecond(2)
  10941.  
  10942. $actionParamInput = "none"
  10943. PictureAuto_2_1_2_8 1
  10944.  
  10945. waitsecond(2)
  10946.  
  10947. $actionParamInput = "none"
  10948. PictureAuto_2_1_2_9 1
  10949.  
  10950. waitsecond(2)
  10951.  
  10952. $actionParamInput = "none"
  10953. PictureAuto_2_1_2_10_1 1
  10954.  
  10955. waitsecond(2)
  10956.  
  10957. $actionParamInput = "none"
  10958. PictureAuto_2_1_2_10_2 1
  10959.  
  10960. waitsecond(2)
  10961.  
  10962. $actionParamInput = "none"
  10963. PictureAuto_2_1_2_11 1
  10964.  
  10965. waitsecond(2)
  10966.  
  10967. $actionParamInput = "none"
  10968. PictureAuto_2_1_2_12 1
  10969.  
  10970. waitsecond(2)
  10971.  
  10972. $actionParamInput = "none"
  10973. PictureAuto_2_1_2_13 1
  10974.  
  10975. waitsecond(2)
  10976.  
  10977. $actionParamInput = "none"
  10978. PictureAuto_2_1_2_14 1
  10979.  
  10980. waitsecond(2)
  10981.  
  10982. $actionParamInput = "none"
  10983. PictureAuto_2_1_2_15 1
  10984.  
  10985. waitsecond(2)
  10986.  
  10987. $actionParamInput = "none"
  10988. PictureAuto_2_1_2_16 1
  10989.  
  10990. waitsecond(2)
  10991.  
  10992. $actionParamInput = "none"
  10993. PictureAuto_2_1_2_17 1
  10994.  
  10995. waitsecond(2)
  10996.  
  10997. $actionParamInput = "none"
  10998. PictureAuto_2_1_2_18 1
  10999.  
  11000. waitsecond(2)
  11001.  
  11002. $actionParamInput = "none"
  11003. PictureAuto_2_1_2_19 1
  11004.  
  11005. waitsecond(2)
  11006.  
  11007. $actionParamInput = "none"
  11008. PictureAuto_2_1_2_20 1
  11009.  
  11010. waitsecond(2)
  11011.  
  11012. $actionParamInput = "none"
  11013. PictureAuto_2_1_2_21 1
  11014.  
  11015. waitsecond(2)
  11016.  
  11017. $actionParamInput = "none"
  11018. PictureAuto_2_1_2_22 1
  11019.  
  11020. waitsecond(2)
  11021.  
  11022. $actionParamInput = "none"
  11023. PictureAuto_2_1_2_23 1
  11024.  
  11025. waitsecond(2)
  11026.  
  11027. $actionParamInput = "none"
  11028. PictureAuto_2_1_2_24 1
  11029.  
  11030. waitsecond(2)
  11031.  
  11032. $actionParamInput = "none"
  11033. PictureAuto_2_1_2_25 1
  11034.  
  11035. waitsecond(2)
  11036.  
  11037. $actionParamInput = "none"
  11038. PictureAuto_2_1_2_26 1
  11039.  
  11040. waitsecond(2)
  11041.  
  11042. $actionParamInput = "none"
  11043. PictureAuto_2_1_2_27 1
  11044.  
  11045. waitsecond(2)
  11046.  
  11047. $actionParamInput = "none"
  11048. PictureAuto_2_1_2_28 1
  11049.  
  11050. waitsecond(2)
  11051.  
  11052. $actionParamInput = "none"
  11053. Wide_View 1
  11054.  
  11055. waitsecond(2)
  11056.  
  11057. $actionParamInput = "none"
  11058. PictureAuto_2_1_2_29 1
  11059.  
  11060. waitsecond(2)
  11061.  
  11062. $actionParamInput = "none"
  11063. PictureAuto_2_1_2_30 1
  11064.  
  11065. waitsecond(2)
  11066.  
  11067. $actionParamInput = "none"
  11068. PictureAuto_2_1_2_31 1
  11069.  
  11070. waitsecond(2)
  11071.  
  11072. $actionParamInput = "none"
  11073. PictureAuto_2_1_2_32 1
  11074.  
  11075. waitsecond(2)
  11076.  
  11077. $actionParamInput = "none"
  11078. PictureAuto_2_1_2_32 1
  11079.  
  11080. waitsecond(2)
  11081.  
  11082. $actionParamInput = "none"
  11083. PictureAuto_2_1_2_34 1
  11084.  
  11085. waitsecond(2)
  11086.  
  11087. $actionParamInput = "none"
  11088. PictureAuto_2_1_2_35 1
  11089.  
  11090. waitsecond(2)
  11091.  
  11092. $actionParamInput = "none"
  11093. PictureAuto_2_1_2_36 1
  11094.  
  11095. waitsecond(2)
  11096.  
  11097. $actionParamInput = "none"
  11098. PictureAuto_2_1_2_37_1 1
  11099.  
  11100. waitsecond(2)
  11101.  
  11102. $actionParamInput = "none"
  11103. PictureAuto_2_1_2_37_2 1
  11104.  
  11105. waitsecond(2)
  11106.  
  11107. $actionParamInput = "none"
  11108. PictureAuto_2_1_2_38 1
  11109.  
  11110. waitsecond(2)
  11111.  
  11112. $actionParamInput = "none"
  11113. PictureAuto_2_1_2_39 1
  11114.  
  11115. waitsecond(2)
  11116.  
  11117. $actionParamInput = "none"
  11118. PictureAuto_2_1_2_40 1
  11119.  
  11120. waitsecond(2)
  11121.  
  11122. $actionParamInput = "none"
  11123. PictureAuto_2_1_2_41 1
  11124.  
  11125. waitsecond(2)
  11126.  
  11127. $actionParamInput = "none"
  11128. PictureAuto_2_1_2_42 1
  11129.  
  11130. waitsecond(2)
  11131.  
  11132. $actionParamInput = "none"
  11133. PictureAuto_2_1_2_43 1
  11134.  
  11135. waitsecond(2)
  11136.  
  11137. $actionParamInput = "none"
  11138. PictureAuto_2_1_2_44 1
  11139.  
  11140. waitsecond(2)
  11141.  
  11142. $actionParamInput = "none"
  11143. PictureAuto_2_1_2_45 1
  11144.  
  11145. waitsecond(2)
  11146.  
  11147. $actionParamInput = "none"
  11148. PictureAuto_2_1_2_46 1
  11149.  
  11150. waitsecond(2)
  11151.  
  11152. $actionParamInput = "none"
  11153. PictureAuto_2_1_2_47 1
  11154.  
  11155. waitsecond(2)
  11156.  
  11157. $actionParamInput = "none"
  11158. PictureAuto_2_1_2_48 1
  11159.  
  11160. waitsecond(2)
  11161.  
  11162. $actionParamInput = "none"
  11163. PictureAuto_2_1_2_49 1
  11164.  
  11165. waitsecond(2)
  11166.  
  11167. $actionParamInput = "none"
  11168. PictureAuto_2_1_2_50 1
  11169.  
  11170. waitsecond(2)
  11171.  
  11172. $actionParamInput = "none"
  11173. PictureAuto_2_1_2_51 1
  11174.  
  11175. waitsecond(2)
  11176.  
  11177. $actionParamInput = "none"
  11178. PictureAuto_2_1_2_52 1
  11179.  
  11180. waitsecond(2)
  11181.  
  11182. $actionParamInput = "none"
  11183. PictureAuto_2_1_2_53 1
  11184.  
  11185. waitsecond(2)
  11186.  
  11187. $actionParamInput = "none"
  11188. PictureAuto_2_1_2_54 1
  11189.  
  11190. waitsecond(2)
  11191.  
  11192. $actionParamInput = "none"
  11193. PictureAuto_2_1_2_55 1
  11194.  
  11195. waitsecond(2)
  11196.  
  11197. $actionParamInput = "none"
  11198. Preconditions_Front 1
  11199.  
  11200. waitsecond(2)
  11201.  
  11202. $actionParamInput = "none"
  11203. Photo_Size_18_9_33MP_Front 1
  11204.  
  11205. waitsecond(2)
  11206.  
  11207. $actionParamInput = "none"
  11208. Normal_View 1
  11209.  
  11210. waitsecond(2)
  11211.  
  11212. $actionParamInput = "none"
  11213. PictureAuto_2_1_2_1 1
  11214.  
  11215. waitsecond(2)
  11216.  
  11217. $actionParamInput = "none"
  11218. PictureAuto_2_1_2_2 1
  11219.  
  11220. waitsecond(2)
  11221.  
  11222. $actionParamInput = "none"
  11223. PictureAuto_2_1_2_3 1
  11224.  
  11225. waitsecond(2)
  11226.  
  11227. $actionParamInput = "none"
  11228. PictureAuto_2_1_2_4 1
  11229.  
  11230. waitsecond(2)
  11231.  
  11232. $actionParamInput = "none"
  11233. PictureAuto_2_1_2_5 1
  11234.  
  11235. waitsecond(2)
  11236.  
  11237. $actionParamInput = "none"
  11238. PictureAuto_2_1_2_6_1 1
  11239.  
  11240. waitsecond(2)
  11241.  
  11242. $actionParamInput = "none"
  11243. PictureAuto_2_1_2_6_2 1
  11244.  
  11245. waitsecond(2)
  11246.  
  11247. $actionParamInput = "none"
  11248. PictureAuto_2_1_2_7 1
  11249.  
  11250. waitsecond(2)
  11251.  
  11252. $actionParamInput = "none"
  11253. PictureAuto_2_1_2_8 1
  11254.  
  11255. waitsecond(2)
  11256.  
  11257. $actionParamInput = "none"
  11258. PictureAuto_2_1_2_9 1
  11259.  
  11260. waitsecond(2)
  11261.  
  11262. $actionParamInput = "none"
  11263. PictureAuto_2_1_2_10_1 1
  11264.  
  11265. waitsecond(2)
  11266.  
  11267. $actionParamInput = "none"
  11268. PictureAuto_2_1_2_10_2 1
  11269.  
  11270. waitsecond(2)
  11271.  
  11272. $actionParamInput = "none"
  11273. PictureAuto_2_1_2_11 1
  11274.  
  11275. waitsecond(2)
  11276.  
  11277. $actionParamInput = "none"
  11278. PictureAuto_2_1_2_12 1
  11279.  
  11280. waitsecond(2)
  11281.  
  11282. $actionParamInput = "none"
  11283. PictureAuto_2_1_2_13 1
  11284.  
  11285. waitsecond(2)
  11286.  
  11287. $actionParamInput = "none"
  11288. PictureAuto_2_1_2_14 1
  11289.  
  11290. waitsecond(2)
  11291.  
  11292. $actionParamInput = "none"
  11293. PictureAuto_2_1_2_15 1
  11294.  
  11295. waitsecond(2)
  11296.  
  11297. $actionParamInput = "none"
  11298. PictureAuto_2_1_2_16 1
  11299.  
  11300. waitsecond(2)
  11301.  
  11302. $actionParamInput = "none"
  11303. PictureAuto_2_1_2_17 1
  11304.  
  11305. waitsecond(2)
  11306.  
  11307. $actionParamInput = "none"
  11308. PictureAuto_2_1_2_18 1
  11309.  
  11310. waitsecond(2)
  11311.  
  11312. $actionParamInput = "none"
  11313. PictureAuto_2_1_2_19 1
  11314.  
  11315. waitsecond(2)
  11316.  
  11317. $actionParamInput = "none"
  11318. PictureAuto_2_1_2_20 1
  11319.  
  11320. waitsecond(2)
  11321.  
  11322. $actionParamInput = "none"
  11323. PictureAuto_2_1_2_21 1
  11324.  
  11325. waitsecond(2)
  11326.  
  11327. $actionParamInput = "none"
  11328. PictureAuto_2_1_2_22 1
  11329.  
  11330. waitsecond(2)
  11331.  
  11332. $actionParamInput = "none"
  11333. PictureAuto_2_1_2_23 1
  11334.  
  11335. waitsecond(2)
  11336.  
  11337. $actionParamInput = "none"
  11338. PictureAuto_2_1_2_24 1
  11339.  
  11340. waitsecond(2)
  11341.  
  11342. $actionParamInput = "none"
  11343. PictureAuto_2_1_2_25 1
  11344.  
  11345. waitsecond(2)
  11346.  
  11347. $actionParamInput = "none"
  11348. PictureAuto_2_1_2_26 1
  11349.  
  11350. waitsecond(2)
  11351.  
  11352. $actionParamInput = "none"
  11353. PictureAuto_2_1_2_27 1
  11354.  
  11355. waitsecond(2)
  11356.  
  11357. $actionParamInput = "none"
  11358. PictureAuto_2_1_2_28 1
  11359.  
  11360. waitsecond(2)
  11361.  
  11362. $actionParamInput = "none"
  11363. Wide_View 1
  11364.  
  11365. waitsecond(2)
  11366.  
  11367. $actionParamInput = "none"
  11368. PictureAuto_2_1_2_29 1
  11369.  
  11370. waitsecond(2)
  11371.  
  11372. $actionParamInput = "none"
  11373. PictureAuto_2_1_2_30 1
  11374.  
  11375. waitsecond(2)
  11376.  
  11377. $actionParamInput = "none"
  11378. PictureAuto_2_1_2_31 1
  11379.  
  11380. waitsecond(2)
  11381.  
  11382. $actionParamInput = "none"
  11383. PictureAuto_2_1_2_32 1
  11384.  
  11385. waitsecond(2)
  11386.  
  11387. $actionParamInput = "none"
  11388. PictureAuto_2_1_2_32 1
  11389.  
  11390. waitsecond(2)
  11391.  
  11392. $actionParamInput = "none"
  11393. PictureAuto_2_1_2_34 1
  11394.  
  11395. waitsecond(2)
  11396.  
  11397. $actionParamInput = "none"
  11398. PictureAuto_2_1_2_35 1
  11399.  
  11400. waitsecond(2)
  11401.  
  11402. $actionParamInput = "none"
  11403. PictureAuto_2_1_2_36 1
  11404.  
  11405. waitsecond(2)
  11406.  
  11407. $actionParamInput = "none"
  11408. PictureAuto_2_1_2_37_1 1
  11409.  
  11410. waitsecond(2)
  11411.  
  11412. $actionParamInput = "none"
  11413. PictureAuto_2_1_2_37_2 1
  11414.  
  11415. waitsecond(2)
  11416.  
  11417. $actionParamInput = "none"
  11418. PictureAuto_2_1_2_38 1
  11419.  
  11420. waitsecond(2)
  11421.  
  11422. $actionParamInput = "none"
  11423. PictureAuto_2_1_2_39 1
  11424.  
  11425. waitsecond(2)
  11426.  
  11427. $actionParamInput = "none"
  11428. PictureAuto_2_1_2_40 1
  11429.  
  11430. waitsecond(2)
  11431.  
  11432. $actionParamInput = "none"
  11433. PictureAuto_2_1_2_41 1
  11434.  
  11435. waitsecond(2)
  11436.  
  11437. $actionParamInput = "none"
  11438. PictureAuto_2_1_2_42 1
  11439.  
  11440. waitsecond(2)
  11441.  
  11442. $actionParamInput = "none"
  11443. PictureAuto_2_1_2_43 1
  11444.  
  11445. waitsecond(2)
  11446.  
  11447. $actionParamInput = "none"
  11448. PictureAuto_2_1_2_44 1
  11449.  
  11450. waitsecond(2)
  11451.  
  11452. $actionParamInput = "none"
  11453. PictureAuto_2_1_2_45 1
  11454.  
  11455. waitsecond(2)
  11456.  
  11457. $actionParamInput = "none"
  11458. PictureAuto_2_1_2_46 1
  11459.  
  11460. waitsecond(2)
  11461.  
  11462. $actionParamInput = "none"
  11463. PictureAuto_2_1_2_47 1
  11464.  
  11465. waitsecond(2)
  11466.  
  11467. $actionParamInput = "none"
  11468. PictureAuto_2_1_2_48 1
  11469.  
  11470. waitsecond(2)
  11471.  
  11472. $actionParamInput = "none"
  11473. PictureAuto_2_1_2_49 1
  11474.  
  11475. waitsecond(2)
  11476.  
  11477. $actionParamInput = "none"
  11478. PictureAuto_2_1_2_50 1
  11479.  
  11480. waitsecond(2)
  11481.  
  11482. $actionParamInput = "none"
  11483. PictureAuto_2_1_2_51 1
  11484.  
  11485. waitsecond(2)
  11486.  
  11487. $actionParamInput = "none"
  11488. PictureAuto_2_1_2_52 1
  11489.  
  11490. waitsecond(2)
  11491.  
  11492. $actionParamInput = "none"
  11493. PictureAuto_2_1_2_53 1
  11494.  
  11495. waitsecond(2)
  11496.  
  11497. $actionParamInput = "none"
  11498. PictureAuto_2_1_2_54 1
  11499.  
  11500. waitsecond(2)
  11501.  
  11502. $actionParamInput = "none"
  11503. PictureAuto_2_1_2_55 1
  11504.  
  11505. waitsecond(2)
  11506.  
  11507. $actionParamInput = "none"
  11508. Preconditions_Front 1
  11509.  
  11510. waitsecond(2)
  11511.  
  11512. $actionParamInput = "none"
  11513. Photo_Size_1_1_37MP_Front 1
  11514.  
  11515. waitsecond(2)
  11516.  
  11517. $actionParamInput = "none"
  11518. Normal_View 1
  11519.  
  11520. waitsecond(2)
  11521.  
  11522. $actionParamInput = "none"
  11523. PictureAuto_2_1_2_1 1
  11524.  
  11525. waitsecond(2)
  11526.  
  11527. $actionParamInput = "none"
  11528. PictureAuto_2_1_2_2 1
  11529.  
  11530. waitsecond(2)
  11531.  
  11532. $actionParamInput = "none"
  11533. PictureAuto_2_1_2_3 1
  11534.  
  11535. waitsecond(2)
  11536.  
  11537. $actionParamInput = "none"
  11538. PictureAuto_2_1_2_4 1
  11539.  
  11540. waitsecond(2)
  11541.  
  11542. $actionParamInput = "none"
  11543. PictureAuto_2_1_2_5 1
  11544.  
  11545. waitsecond(2)
  11546.  
  11547. $actionParamInput = "none"
  11548. PictureAuto_2_1_2_6_1 1
  11549.  
  11550. waitsecond(2)
  11551.  
  11552. $actionParamInput = "none"
  11553. PictureAuto_2_1_2_6_2 1
  11554.  
  11555. waitsecond(2)
  11556.  
  11557. $actionParamInput = "none"
  11558. PictureAuto_2_1_2_7 1
  11559.  
  11560. waitsecond(2)
  11561.  
  11562. $actionParamInput = "none"
  11563. PictureAuto_2_1_2_8 1
  11564.  
  11565. waitsecond(2)
  11566.  
  11567. $actionParamInput = "none"
  11568. PictureAuto_2_1_2_9 1
  11569.  
  11570. waitsecond(2)
  11571.  
  11572. $actionParamInput = "none"
  11573. PictureAuto_2_1_2_10_1 1
  11574.  
  11575. waitsecond(2)
  11576.  
  11577. $actionParamInput = "none"
  11578. PictureAuto_2_1_2_10_2 1
  11579.  
  11580. waitsecond(2)
  11581.  
  11582. $actionParamInput = "none"
  11583. PictureAuto_2_1_2_11 1
  11584.  
  11585. waitsecond(2)
  11586.  
  11587. $actionParamInput = "none"
  11588. PictureAuto_2_1_2_12 1
  11589.  
  11590. waitsecond(2)
  11591.  
  11592. $actionParamInput = "none"
  11593. PictureAuto_2_1_2_13 1
  11594.  
  11595. waitsecond(2)
  11596.  
  11597. $actionParamInput = "none"
  11598. PictureAuto_2_1_2_14 1
  11599.  
  11600. waitsecond(2)
  11601.  
  11602. $actionParamInput = "none"
  11603. PictureAuto_2_1_2_15 1
  11604.  
  11605. waitsecond(2)
  11606.  
  11607. $actionParamInput = "none"
  11608. PictureAuto_2_1_2_16 1
  11609.  
  11610. waitsecond(2)
  11611.  
  11612. $actionParamInput = "none"
  11613. PictureAuto_2_1_2_17 1
  11614.  
  11615. waitsecond(2)
  11616.  
  11617. $actionParamInput = "none"
  11618. PictureAuto_2_1_2_18 1
  11619.  
  11620. waitsecond(2)
  11621.  
  11622. $actionParamInput = "none"
  11623. PictureAuto_2_1_2_19 1
  11624.  
  11625. waitsecond(2)
  11626.  
  11627. $actionParamInput = "none"
  11628. PictureAuto_2_1_2_20 1
  11629.  
  11630. waitsecond(2)
  11631.  
  11632. $actionParamInput = "none"
  11633. PictureAuto_2_1_2_21 1
  11634.  
  11635. waitsecond(2)
  11636.  
  11637. $actionParamInput = "none"
  11638. PictureAuto_2_1_2_22 1
  11639.  
  11640. waitsecond(2)
  11641.  
  11642. $actionParamInput = "none"
  11643. PictureAuto_2_1_2_23 1
  11644.  
  11645. waitsecond(2)
  11646.  
  11647. $actionParamInput = "none"
  11648. PictureAuto_2_1_2_24 1
  11649.  
  11650. waitsecond(2)
  11651.  
  11652. $actionParamInput = "none"
  11653. PictureAuto_2_1_2_25 1
  11654.  
  11655. waitsecond(2)
  11656.  
  11657. $actionParamInput = "none"
  11658. PictureAuto_2_1_2_26 1
  11659.  
  11660. waitsecond(2)
  11661.  
  11662. $actionParamInput = "none"
  11663. PictureAuto_2_1_2_27 1
  11664.  
  11665. waitsecond(2)
  11666.  
  11667. $actionParamInput = "none"
  11668. PictureAuto_2_1_2_28 1
  11669.  
  11670. waitsecond(2)
  11671.  
  11672. $actionParamInput = "none"
  11673. Wide_View 1
  11674.  
  11675. waitsecond(2)
  11676.  
  11677. $actionParamInput = "none"
  11678. PictureAuto_2_1_2_29 1
  11679.  
  11680. waitsecond(2)
  11681.  
  11682. $actionParamInput = "none"
  11683. PictureAuto_2_1_2_30 1
  11684.  
  11685. waitsecond(2)
  11686.  
  11687. $actionParamInput = "none"
  11688. PictureAuto_2_1_2_31 1
  11689.  
  11690. waitsecond(2)
  11691.  
  11692. $actionParamInput = "none"
  11693. PictureAuto_2_1_2_32 1
  11694.  
  11695. waitsecond(2)
  11696.  
  11697. $actionParamInput = "none"
  11698. PictureAuto_2_1_2_32 1
  11699.  
  11700. waitsecond(2)
  11701.  
  11702. $actionParamInput = "none"
  11703. PictureAuto_2_1_2_34 1
  11704.  
  11705. waitsecond(2)
  11706.  
  11707. $actionParamInput = "none"
  11708. PictureAuto_2_1_2_35 1
  11709.  
  11710. waitsecond(2)
  11711.  
  11712. $actionParamInput = "none"
  11713. PictureAuto_2_1_2_36 1
  11714.  
  11715. waitsecond(2)
  11716.  
  11717. $actionParamInput = "none"
  11718. PictureAuto_2_1_2_37_1 1
  11719.  
  11720. waitsecond(2)
  11721.  
  11722. $actionParamInput = "none"
  11723. PictureAuto_2_1_2_37_2 1
  11724.  
  11725. waitsecond(2)
  11726.  
  11727. $actionParamInput = "none"
  11728. PictureAuto_2_1_2_38 1
  11729.  
  11730. waitsecond(2)
  11731.  
  11732. $actionParamInput = "none"
  11733. PictureAuto_2_1_2_39 1
  11734.  
  11735. waitsecond(2)
  11736.  
  11737. $actionParamInput = "none"
  11738. PictureAuto_2_1_2_40 1
  11739.  
  11740. waitsecond(2)
  11741.  
  11742. $actionParamInput = "none"
  11743. PictureAuto_2_1_2_41 1
  11744.  
  11745. waitsecond(2)
  11746.  
  11747. $actionParamInput = "none"
  11748. PictureAuto_2_1_2_42 1
  11749.  
  11750. waitsecond(2)
  11751.  
  11752. $actionParamInput = "none"
  11753. PictureAuto_2_1_2_43 1
  11754.  
  11755. waitsecond(2)
  11756.  
  11757. $actionParamInput = "none"
  11758. PictureAuto_2_1_2_44 1
  11759.  
  11760. waitsecond(2)
  11761.  
  11762. $actionParamInput = "none"
  11763. PictureAuto_2_1_2_45 1
  11764.  
  11765. waitsecond(2)
  11766.  
  11767. $actionParamInput = "none"
  11768. PictureAuto_2_1_2_46 1
  11769.  
  11770. waitsecond(2)
  11771.  
  11772. $actionParamInput = "none"
  11773. PictureAuto_2_1_2_47 1
  11774.  
  11775. waitsecond(2)
  11776.  
  11777. $actionParamInput = "none"
  11778. PictureAuto_2_1_2_48 1
  11779.  
  11780. waitsecond(2)
  11781.  
  11782. $actionParamInput = "none"
  11783. PictureAuto_2_1_2_49 1
  11784.  
  11785. waitsecond(2)
  11786.  
  11787. $actionParamInput = "none"
  11788. PictureAuto_2_1_2_50 1
  11789.  
  11790. waitsecond(2)
  11791.  
  11792. $actionParamInput = "none"
  11793. PictureAuto_2_1_2_51 1
  11794.  
  11795. waitsecond(2)
  11796.  
  11797. $actionParamInput = "none"
  11798. PictureAuto_2_1_2_52 1
  11799.  
  11800. waitsecond(2)
  11801.  
  11802. $actionParamInput = "none"
  11803. PictureAuto_2_1_2_53 1
  11804.  
  11805. waitsecond(2)
  11806.  
  11807. $actionParamInput = "none"
  11808. PictureAuto_2_1_2_54 1
  11809.  
  11810. waitsecond(2)
  11811.  
  11812. $actionParamInput = "none"
  11813. PictureAuto_2_1_2_55 1
  11814.  
  11815. waitsecond(2)
  11816.  
  11817.  
  11818. sendStatus("Done::mainLoop::Loop::#{index}")
  11819.  
  11820.  
  11821. writelog("Finish::Loop::#{$curMainLoopNum}")
  11822.  
  11823.  
  11824. saveLogFileToGist if $saveLogToGist
  11825.  
  11826. index += 1
  11827.  
  11828. end
  11829.  
  11830. $engineStatus = "Idle"
  11831. resetStatus
  11832. sendStatus("Finish::mainLoop::END")
  11833.  
  11834. end
  11835.  
  11836. def self.Switch_Camera(loopTime)
  11837.  
  11838. tcase = TestCase.new("Switch_Camera")
  11839.  
  11840. tcase << TestAction.new(:Swap_Camera) do
  11841. $ruiObj = RUIObject.new.with('objectid', -1381054635).with('selfid', 1134851659).with('textdescid', 2111595389).with('uniqueparentid', 0)
  11842. .with('uitreeindex', 4)
  11843. .with('classname', 'ImageButton')
  11844. .with('resource-id', 'com.lge.camera:id/quick_button_swap_camera')
  11845. .with('content-desc', 'Switch to rear camera')
  11846.  
  11847. $ruiObj.click
  11848.  
  11849. waitsecond(2)
  11850. end
  11851.  
  11852. tcase.run(loopTime)
  11853.  
  11854. end
  11855.  
  11856. def self.Wide_View(loopTime)
  11857.  
  11858. tcase = TestCase.new("Wide_View")
  11859.  
  11860. tcase << TestAction.new(:Change_Wide_View) do
  11861. $ruiObj = RUIObject.new.with('objectid', -355772886).with('selfid', -1759883529).with('textdescid', -2115781374).with('uniqueparentid', 0)
  11862. .with('uitreeindex', 16)
  11863. .with('classname', 'ImageButton')
  11864. .with('resource-id', 'com.lge.camera:id/btn_dualview_wide_range')
  11865. .with('content-desc', 'Wide angle lens')
  11866.  
  11867. $ruiObj.click
  11868.  
  11869. waitsecond(2)
  11870. end
  11871.  
  11872. tcase.run(loopTime)
  11873.  
  11874. end
  11875.  
  11876. def self.startTest(loopTime)
  11877.  
  11878. tcase = TestCase.new("startTest")
  11879.  
  11880. tcase << TestAction.new(:blankaction) do
  11881. waitsecond(0)
  11882. end
  11883.  
  11884. tcase.run(loopTime)
  11885.  
  11886. end
  11887.  
  11888. def self.PictureAuto_2_1_1_1(loopTime)
  11889.  
  11890. tcase = TestCase.new("PictureAuto_2_1_1_1")
  11891.  
  11892. tcase << TestAction.new(:LogStart) do
  11893. logStartTest("2_1_1_1_Picture_Auto")
  11894.  
  11895. waitsecond(2)
  11896. end
  11897.  
  11898. tcase << TestAction.new(:Shutter_Button) do
  11899. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  11900. .with('uitreeindex', 11)
  11901. .with('classname', 'ImageButton')
  11902. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  11903.  
  11904. $ruiObj.click
  11905.  
  11906. waitsecond(2)
  11907. end
  11908.  
  11909. tcase << TestAction.new(:checkAndDelete) do
  11910. checkAndDelete
  11911.  
  11912. waitsecond(2)
  11913. end
  11914.  
  11915. tcase << TestAction.new(:LogStop) do
  11916. $myTestResult = !checkLastExistResult
  11917.  
  11918. logStopTest("2_1_1_1_Picture_Auto")
  11919.  
  11920. waitsecond(2)
  11921. end
  11922.  
  11923. tcase.run(loopTime)
  11924.  
  11925. end
  11926.  
  11927. def self.Preconditions_Front(loopTime)
  11928.  
  11929. tcase = TestCase.new("Preconditions_Front")
  11930.  
  11931. tcase << TestAction.new(:gotoApp_Settings) do
  11932. gotoApp('Settings')
  11933.  
  11934. waitsecond(2)
  11935. end
  11936.  
  11937. tcase << TestAction.new(:Settings_General) do
  11938. $ruiObj = RUIObject.new.with('objectid', 10212784).with('selfid', 641711431).with('textdescid', -2085492536).with('uniqueparentid', 0)
  11939. .with('uitreeindex', 8)
  11940. .with('classname', 'TextView')
  11941. .with('resource-id', 'android:id/title')
  11942. .with('text', 'General')
  11943.  
  11944. $ruiObj.click
  11945.  
  11946. waitsecond(2)
  11947. end
  11948.  
  11949. tcase << TestAction.new(:searchAndScrollText_Apps) do
  11950. scrollAndSearchText("Apps", 1000)
  11951.  
  11952. waitsecond(2)
  11953. end
  11954.  
  11955. tcase << TestAction.new(:Open_Apps) do
  11956. $ruiObj = RUIObject.new.with('objectid', -2099539841).with('selfid', -590378381).with('textdescid', -1400202003).with('uniqueparentid', 0).with('classresourceid', 490183159)
  11957. .with('uitreeindex', 26)
  11958. .with('classname', 'TextView')
  11959. .with('resource-id', 'android:id/title')
  11960. .with('text', 'Apps')
  11961.  
  11962. $ruiObj.click
  11963.  
  11964. waitsecond(2)
  11965. end
  11966.  
  11967. tcase << TestAction.new(:Open_Application_Camera) do
  11968. $ruiObj = RUIObject.new.with('objectid', -1175534066).with('selfid', -374634778).with('textdescid', 1973661033).with('uniqueparentid', 0).with('classresourceid', 490183159)
  11969. .with('uitreeindex', 16)
  11970. .with('classname', 'TextView')
  11971. .with('resource-id', 'android:id/title')
  11972. .with('text', 'Camera')
  11973.  
  11974. $ruiObj.click
  11975.  
  11976. waitsecond(2)
  11977. end
  11978.  
  11979. tcase << TestAction.new(:Open_Application_Camera_Storage) do
  11980. $ruiObj = RUIObject.new.with('objectid', -2103271856).with('selfid', -1162414374).with('textdescid', -249377547).with('uniqueparentid', 0).with('classresourceid', 490183159)
  11981. .with('uitreeindex', 22)
  11982. .with('classname', 'TextView')
  11983. .with('resource-id', 'android:id/title')
  11984. .with('text', 'Storage')
  11985.  
  11986. $ruiObj.click
  11987.  
  11988. waitsecond(2)
  11989. end
  11990.  
  11991. tcase << TestAction.new(:Open_Application_Camera_Clear_Data) do
  11992. $ruiObj = RUIObject.new.with('objectid', 176250137).with('selfid', 72310979).with('textdescid', -665389700).with('uniqueparentid', 0).with('classresourceid', 1223821552)
  11993. .with('uitreeindex', 11)
  11994. .with('classname', 'Button')
  11995. .with('resource-id', 'com.android.settings:id/button3')
  11996. .with('text', 'Clear data')
  11997.  
  11998. $ruiObj.click
  11999.  
  12000. waitsecond(2)
  12001. end
  12002.  
  12003. tcase << TestAction.new(:Confirm_Clear_Storage_Camera) do
  12004. $ruiObj = RUIObject.new.with('objectid', -1004548822).with('selfid', -1318451484).with('textdescid', -405740082).with('uniqueparentid', 0).with('classresourceid', 1834539358)
  12005. .with('uitreeindex', 3)
  12006. .with('classname', 'Button')
  12007. .with('resource-id', 'android:id/button1')
  12008. .with('text', 'OK')
  12009.  
  12010. $ruiObj.click
  12011.  
  12012. waitsecond(2)
  12013. end
  12014.  
  12015. tcase << TestAction.new(:Press_Home) do
  12016. pressHome
  12017.  
  12018. waitsecond(2)
  12019. end
  12020.  
  12021. tcase << TestAction.new(:gotoApp_Camera) do
  12022. gotoApp('Camera')
  12023.  
  12024. waitsecond(2)
  12025. end
  12026.  
  12027. tcase << TestAction.new(:Exit_PhotoSize_Notif) do
  12028. pressBack
  12029.  
  12030. waitsecond(2)
  12031. end
  12032.  
  12033. tcase << TestAction.new(:Exit_TagLocations_Notif) do
  12034. $ruiObj = RUIObject.new.with('objectid', 2138780457).with('selfid', 765132311).with('textdescid', -782727157).with('uniqueparentid', 0)
  12035. .with('uitreeindex', 20)
  12036. .with('classname', 'Button')
  12037. .with('resource-id', 'com.lge.camera:id/cancel_button')
  12038. .with('text', 'LATER')
  12039.  
  12040. $ruiObj.click
  12041.  
  12042. waitsecond(2)
  12043. end
  12044.  
  12045. tcase << TestAction.new(:Swap_Camera) do
  12046. $ruiObj = RUIObject.new.with('objectid', -1381054635).with('selfid', -2039839496).with('textdescid', -1741286688).with('uniqueparentid', 0)
  12047. .with('uitreeindex', 5)
  12048. .with('classname', 'ImageButton')
  12049. .with('resource-id', 'com.lge.camera:id/quick_button_swap_camera')
  12050. .with('content-desc', 'Switch to front camera')
  12051.  
  12052. $ruiObj.click
  12053.  
  12054. waitsecond(2)
  12055. end
  12056.  
  12057. tcase << TestAction.new(:Open_Camera_Setting) do
  12058. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  12059. .with('uitreeindex', 3)
  12060. .with('classname', 'ImageButton')
  12061. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  12062. .with('content-desc', 'Open settings')
  12063.  
  12064. $ruiObj.click
  12065.  
  12066. waitsecond(2)
  12067. end
  12068.  
  12069. tcase << TestAction.new(:CameraRoll_Off) do
  12070. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -1218314212).with('textdescid', -150235496).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  12071. .with('uitreeindex', 24)
  12072. .with('classname', 'TextView')
  12073. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  12074. .with('content-desc', 'Show your recent photos and videos on the camera preview On switch')
  12075. .with('text', 'Show your recent photos and videos on the camera preview')
  12076.  
  12077. $ruiObj.click
  12078.  
  12079. waitsecond(2)
  12080. end
  12081.  
  12082. tcase << TestAction.new(:HDR) do
  12083. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -801213611).with('textdescid', 73758911).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  12084. .with('uitreeindex', 27)
  12085. .with('classname', 'TextView')
  12086. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  12087. .with('text', 'High Dynamic Range HDR combines multiple photos taken at different exposures to create the best photo')
  12088.  
  12089. $ruiObj.click
  12090.  
  12091. waitsecond(2)
  12092. end
  12093.  
  12094. tcase << TestAction.new(:HDR_Auto) do
  12095. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 696310092).with('textdescid', -1563309164).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  12096. .with('uitreeindex', 16)
  12097. .with('classname', 'CheckedTextView')
  12098. .with('resource-id', 'android:id/text1')
  12099. .with('content-desc', 'Auto')
  12100. .with('text', 'Auto')
  12101.  
  12102. $ruiObj.click
  12103.  
  12104. waitsecond(2)
  12105. end
  12106.  
  12107. tcase << TestAction.new(:Timer) do
  12108. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  12109. .with('uitreeindex', 32)
  12110. .with('classname', 'TextView')
  12111. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  12112. .with('content-desc', 'Timer')
  12113. .with('text', 'Timer')
  12114.  
  12115. $ruiObj.click
  12116.  
  12117. waitsecond(2)
  12118. end
  12119.  
  12120. tcase << TestAction.new(:Timer_Off) do
  12121. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -1313055798).with('textdescid', -439670058).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  12122. .with('uitreeindex', 16)
  12123. .with('classname', 'CheckedTextView')
  12124. .with('resource-id', 'android:id/text1')
  12125. .with('content-desc', 'Off')
  12126. .with('text', 'Off')
  12127.  
  12128. $ruiObj.click
  12129.  
  12130. waitsecond(2)
  12131. end
  12132.  
  12133. tcase << TestAction.new(:CheeseShutter_Off) do
  12134. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', 1656152154).with('textdescid', 268940314).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  12135. .with('uitreeindex', 19)
  12136. .with('classname', 'TextView')
  12137. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  12138. .with('content-desc', 'Take a photo by saying "Cheese," "Smile," "Whiskey," "Kimchi" or "LG". On switch')
  12139. .with('text', 'Take a photo by saying Cheese Smile Whiskey Kimchi or LG')
  12140.  
  12141. $ruiObj.click
  12142.  
  12143. waitsecond(2)
  12144. end
  12145.  
  12146. tcase << TestAction.new(:Swipe_Down) do
  12147. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  12148. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  12149.  
  12150. waitsecond(2)
  12151. end
  12152.  
  12153. tcase << TestAction.new(:Selfie_Shot) do
  12154. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -918458438).with('textdescid', -1072017926).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  12155. .with('uitreeindex', 21)
  12156. .with('classname', 'TextView')
  12157. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  12158. .with('text', 'Take a selfie with a raised hand made into a fist Gesture shot or with your face detected Auto shot')
  12159.  
  12160. $ruiObj.click
  12161.  
  12162. waitsecond(2)
  12163. end
  12164.  
  12165. tcase << TestAction.new(:Selfie_Shot_Gesture) do
  12166. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1700660236).with('textdescid', -81264300).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  12167. .with('uitreeindex', 15)
  12168. .with('classname', 'CheckedTextView')
  12169. .with('resource-id', 'android:id/text1')
  12170. .with('content-desc', 'Gesture shot')
  12171. .with('text', 'Gesture shot')
  12172.  
  12173. $ruiObj.click
  12174.  
  12175. waitsecond(2)
  12176. end
  12177.  
  12178. tcase << TestAction.new(:SteadyRecording_Off) do
  12179. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -1883243620).with('textdescid', -1717296872).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  12180. .with('uitreeindex', 27)
  12181. .with('classname', 'TextView')
  12182. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  12183. .with('content-desc', 'Reduce motion blur in videos On switch')
  12184. .with('text', 'Reduce motion blur in videos')
  12185.  
  12186. $ruiObj.click
  12187.  
  12188. waitsecond(2)
  12189. end
  12190.  
  12191. tcase << TestAction.new(:TagLocations_Off) do
  12192. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -2083837582).with('textdescid', -1288971334).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  12193. .with('uitreeindex', 27)
  12194. .with('classname', 'TextView')
  12195. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  12196. .with('content-desc', 'Tag locations On switch')
  12197. .with('text', 'Tag locations')
  12198.  
  12199. $ruiObj.click
  12200.  
  12201. waitsecond(2)
  12202. end
  12203.  
  12204. tcase << TestAction.new(:GestureView_Off) do
  12205. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', 864084098).with('textdescid', 1705365746).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  12206. .with('uitreeindex', 24)
  12207. .with('classname', 'TextView')
  12208. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  12209. .with('content-desc', 'Check your selfie after you take it by bringing your phone closer On switch')
  12210. .with('text', 'Check your selfie after you take it by bringing your phone closer')
  12211.  
  12212. $ruiObj.click
  12213.  
  12214. waitsecond(2)
  12215. end
  12216.  
  12217. tcase << TestAction.new(:Flipped_Off) do
  12218. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 45276848).with('textdescid', -73163652).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  12219. .with('uitreeindex', 26)
  12220. .with('classname', 'TextView')
  12221. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  12222. .with('content-desc', 'Save as flipped On switch')
  12223. .with('text', 'Save as flipped')
  12224.  
  12225. $ruiObj.click
  12226.  
  12227. waitsecond(2)
  12228. end
  12229.  
  12230. tcase << TestAction.new(:AddSignature_Off) do
  12231. $ruiObj = RUIObject.new.with('objectid', -683742256).with('selfid', -1859439098).with('textdescid', 55853521).with('uniqueparentid', 0).with('classresourceid', -1698211271)
  12232. .with('uitreeindex', 31)
  12233. .with('classname', 'Switch')
  12234. .with('resource-id', 'com.lge.camera:id/setting_switch')
  12235. .with('text', 'ON')
  12236.  
  12237. $ruiObj.select('ItemLast').click
  12238.  
  12239. waitsecond(2)
  12240. end
  12241.  
  12242. tcase << TestAction.new(:Exit_Camera_Setting) do
  12243. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2071188370).with('textdescid', 469249158).with('uniqueparentid', 0)
  12244. .with('uitreeindex', 2)
  12245. .with('classname', 'ImageButton')
  12246. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  12247. .with('content-desc', 'Close settings')
  12248.  
  12249. $ruiObj.click
  12250.  
  12251. waitsecond(2)
  12252. end
  12253.  
  12254. tcase << TestAction.new(:Check_Shutter) do
  12255. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  12256. .with('uitreeindex', 13)
  12257. .with('classname', 'ImageButton')
  12258. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  12259.  
  12260. $ruiObj.click
  12261.  
  12262. waitsecond(2)
  12263. end
  12264.  
  12265. tcase << TestAction.new(:Check_Gallery) do
  12266. $ruiObj = RUIObject.new.with('objectid', -2123601541).with('selfid', -135259702).with('textdescid', 357252685).with('uniqueparentid', 0)
  12267. .with('uitreeindex', 18)
  12268. .with('classname', 'ImageView')
  12269. .with('resource-id', 'com.lge.camera:id/thumbnail')
  12270. .with('content-desc', 'Gallery')
  12271.  
  12272. $ruiObj.click
  12273.  
  12274. waitsecond(2)
  12275. end
  12276.  
  12277. tcase << TestAction.new(:Allow_Gallery_Permission) do
  12278. $ruiObj = RUIObject.new.with('objectid', -1492498299).with('selfid', 1443382411).with('textdescid', -1772738030).with('uniqueparentid', 0).with('classresourceid', -227364920)
  12279. .with('uitreeindex', 3)
  12280. .with('classname', 'Button')
  12281. .with('resource-id', 'com.android.packageinstaller:id/permission_allow_button')
  12282. .with('text', 'ALLOW')
  12283.  
  12284. $ruiObj.click
  12285.  
  12286. waitsecond(2)
  12287. end
  12288.  
  12289. tcase << TestAction.new(:Exit_Gallery) do
  12290. pressBack
  12291.  
  12292. waitsecond(2)
  12293. end
  12294.  
  12295. tcase << TestAction.new(:Shutter_Exists) do
  12296. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  12297. .with('uitreeindex', 11)
  12298. .with('classname', 'ImageButton')
  12299. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  12300.  
  12301. $ruiObj.isExist
  12302. ifFailJumpTo(:gotoApp_Settings)
  12303.  
  12304. waitsecond(2)
  12305. end
  12306.  
  12307. tcase.run(loopTime)
  12308.  
  12309. end
  12310.  
  12311. def self.Preconditions(loopTime)
  12312.  
  12313. tcase = TestCase.new("Preconditions")
  12314.  
  12315. tcase << TestAction.new(:gotoApp_Settings) do
  12316. gotoApp('Settings')
  12317.  
  12318. waitsecond(2)
  12319. end
  12320.  
  12321. tcase << TestAction.new(:Settings_General) do
  12322. $ruiObj = RUIObject.new.with('objectid', 10212784).with('selfid', 641711431).with('textdescid', -2085492536).with('uniqueparentid', 0)
  12323. .with('uitreeindex', 8)
  12324. .with('classname', 'TextView')
  12325. .with('resource-id', 'android:id/title')
  12326. .with('text', 'General')
  12327.  
  12328. $ruiObj.click
  12329.  
  12330. waitsecond(2)
  12331. end
  12332.  
  12333. tcase << TestAction.new(:searchAndScrollText_Apps) do
  12334. scrollAndSearchText("Apps", 1000)
  12335.  
  12336. waitsecond(2)
  12337. end
  12338.  
  12339. tcase << TestAction.new(:Open_Apps) do
  12340. $ruiObj = RUIObject.new.with('objectid', -2099539841).with('selfid', -590378381).with('textdescid', -1400202003).with('uniqueparentid', 0).with('classresourceid', 490183159)
  12341. .with('uitreeindex', 26)
  12342. .with('classname', 'TextView')
  12343. .with('resource-id', 'android:id/title')
  12344. .with('text', 'Apps')
  12345.  
  12346. $ruiObj.click
  12347.  
  12348. waitsecond(2)
  12349. end
  12350.  
  12351. tcase << TestAction.new(:Open_Application_Camera) do
  12352. $ruiObj = RUIObject.new.with('objectid', -1175534066).with('selfid', -374634778).with('textdescid', 1973661033).with('uniqueparentid', 0).with('classresourceid', 490183159)
  12353. .with('uitreeindex', 16)
  12354. .with('classname', 'TextView')
  12355. .with('resource-id', 'android:id/title')
  12356. .with('text', 'Camera')
  12357.  
  12358. $ruiObj.click
  12359.  
  12360. waitsecond(2)
  12361. end
  12362.  
  12363. tcase << TestAction.new(:Open_Application_Camera_Storage) do
  12364. $ruiObj = RUIObject.new.with('objectid', -2103271856).with('selfid', -1162414374).with('textdescid', -249377547).with('uniqueparentid', 0).with('classresourceid', 490183159)
  12365. .with('uitreeindex', 22)
  12366. .with('classname', 'TextView')
  12367. .with('resource-id', 'android:id/title')
  12368. .with('text', 'Storage')
  12369.  
  12370. $ruiObj.click
  12371.  
  12372. waitsecond(2)
  12373. end
  12374.  
  12375. tcase << TestAction.new(:Open_Application_Camera_Clear_Data) do
  12376. $ruiObj = RUIObject.new.with('objectid', 176250137).with('selfid', 72310979).with('textdescid', -665389700).with('uniqueparentid', 0).with('classresourceid', 1223821552)
  12377. .with('uitreeindex', 11)
  12378. .with('classname', 'Button')
  12379. .with('resource-id', 'com.android.settings:id/button3')
  12380. .with('text', 'Clear data')
  12381.  
  12382. $ruiObj.click
  12383.  
  12384. waitsecond(2)
  12385. end
  12386.  
  12387. tcase << TestAction.new(:Confirm_Clear_Storage_Camera) do
  12388. $ruiObj = RUIObject.new.with('objectid', -1004548822).with('selfid', -1318451484).with('textdescid', -405740082).with('uniqueparentid', 0).with('classresourceid', 1834539358)
  12389. .with('uitreeindex', 3)
  12390. .with('classname', 'Button')
  12391. .with('resource-id', 'android:id/button1')
  12392. .with('text', 'OK')
  12393.  
  12394. $ruiObj.click
  12395.  
  12396. waitsecond(2)
  12397. end
  12398.  
  12399. tcase << TestAction.new(:Press_Home) do
  12400. pressHome
  12401.  
  12402. waitsecond(2)
  12403. end
  12404.  
  12405. tcase << TestAction.new(:gotoApp_Camera) do
  12406. gotoApp('Camera')
  12407.  
  12408. waitsecond(2)
  12409. end
  12410.  
  12411. tcase << TestAction.new(:Exit_PhotoSize_Notif) do
  12412. pressBack
  12413.  
  12414. waitsecond(2)
  12415. end
  12416.  
  12417. tcase << TestAction.new(:Exit_TagLocations_Notif) do
  12418. $ruiObj = RUIObject.new.with('objectid', 2138780457).with('selfid', 765132311).with('textdescid', -782727157).with('uniqueparentid', 0)
  12419. .with('uitreeindex', 20)
  12420. .with('classname', 'Button')
  12421. .with('resource-id', 'com.lge.camera:id/cancel_button')
  12422. .with('text', 'LATER')
  12423.  
  12424. $ruiObj.click
  12425.  
  12426. waitsecond(2)
  12427. end
  12428.  
  12429. tcase << TestAction.new(:Open_Camera_Setting) do
  12430. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
  12431. .with('uitreeindex', 3)
  12432. .with('classname', 'ImageButton')
  12433. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  12434. .with('content-desc', 'Open settings')
  12435.  
  12436. $ruiObj.click
  12437.  
  12438. waitsecond(2)
  12439. end
  12440.  
  12441. tcase << TestAction.new(:CameraRoll_Off) do
  12442. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -1218314212).with('textdescid', -150235496).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  12443. .with('uitreeindex', 24)
  12444. .with('classname', 'TextView')
  12445. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  12446. .with('content-desc', 'Show your recent photos and videos on the camera preview On switch')
  12447. .with('text', 'Show your recent photos and videos on the camera preview')
  12448.  
  12449. $ruiObj.click
  12450.  
  12451. waitsecond(2)
  12452. end
  12453.  
  12454. tcase << TestAction.new(:HDR) do
  12455. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -801213611).with('textdescid', 73758911).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  12456. .with('uitreeindex', 27)
  12457. .with('classname', 'TextView')
  12458. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  12459. .with('text', 'High Dynamic Range HDR combines multiple photos taken at different exposures to create the best photo')
  12460.  
  12461. $ruiObj.click
  12462.  
  12463. waitsecond(2)
  12464. end
  12465.  
  12466. tcase << TestAction.new(:HDR_Auto) do
  12467. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 696310092).with('textdescid', -1563309164).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  12468. .with('uitreeindex', 16)
  12469. .with('classname', 'CheckedTextView')
  12470. .with('resource-id', 'android:id/text1')
  12471. .with('content-desc', 'Auto')
  12472. .with('text', 'Auto')
  12473.  
  12474. $ruiObj.click
  12475.  
  12476. waitsecond(2)
  12477. end
  12478.  
  12479. tcase << TestAction.new(:Timer) do
  12480. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  12481. .with('uitreeindex', 32)
  12482. .with('classname', 'TextView')
  12483. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  12484. .with('content-desc', 'Timer')
  12485. .with('text', 'Timer')
  12486.  
  12487. $ruiObj.click
  12488.  
  12489. waitsecond(2)
  12490. end
  12491.  
  12492. tcase << TestAction.new(:Timer_Off) do
  12493. $ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -1313055798).with('textdescid', -439670058).with('uniqueparentid', 0).with('classresourceid', 2074814108)
  12494. .with('uitreeindex', 16)
  12495. .with('classname', 'CheckedTextView')
  12496. .with('resource-id', 'android:id/text1')
  12497. .with('content-desc', 'Off')
  12498. .with('text', 'Off')
  12499.  
  12500. $ruiObj.click
  12501.  
  12502. waitsecond(2)
  12503. end
  12504.  
  12505. tcase << TestAction.new(:CheeseShutter_Off) do
  12506. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', 1656152154).with('textdescid', 268940314).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  12507. .with('uitreeindex', 19)
  12508. .with('classname', 'TextView')
  12509. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  12510. .with('content-desc', 'Take a photo by saying "Cheese," "Smile," "Whiskey," "Kimchi" or "LG". On switch')
  12511. .with('text', 'Take a photo by saying Cheese Smile Whiskey Kimchi or LG')
  12512.  
  12513. $ruiObj.click
  12514.  
  12515. waitsecond(2)
  12516. end
  12517.  
  12518. tcase << TestAction.new(:TrackingFocus_Off) do
  12519. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -234528137).with('textdescid', -242443235).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  12520. .with('uitreeindex', 22)
  12521. .with('classname', 'TextView')
  12522. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  12523. .with('content-desc', 'Track and maintain focus on a moving object (FHD and HD only) On switch')
  12524. .with('text', 'Track and maintain focus on a moving object FHD and HD only')
  12525.  
  12526. $ruiObj.click
  12527.  
  12528. waitsecond(2)
  12529. end
  12530.  
  12531. tcase << TestAction.new(:Swipe_Down_1) do
  12532. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  12533. swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
  12534.  
  12535. waitsecond(2)
  12536. end
  12537.  
  12538. tcase << TestAction.new(:SteadyRecording_Off) do
  12539. $ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -1883243620).with('textdescid', -1717296872).with('uniqueparentid', 0).with('classresourceid', 1165955609)
  12540. .with('uitreeindex', 29)
  12541. .with('classname', 'TextView')
  12542. .with('resource-id', 'com.lge.camera:id/settings_guide_textview')
  12543. .with('content-desc', 'Reduce motion blur in videos On switch')
  12544. .with('text', 'Reduce motion blur in videos')
  12545.  
  12546. $ruiObj.click
  12547.  
  12548. waitsecond(2)
  12549. end
  12550.  
  12551. tcase << TestAction.new(:TagLocations_Off) do
  12552. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -2083837582).with('textdescid', -1288971334).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  12553. .with('uitreeindex', 27)
  12554. .with('classname', 'TextView')
  12555. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  12556. .with('content-desc', 'Tag locations On switch')
  12557. .with('text', 'Tag locations')
  12558.  
  12559. $ruiObj.click
  12560.  
  12561. waitsecond(2)
  12562. end
  12563.  
  12564. tcase << TestAction.new(:Grid_Off) do
  12565. $ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 795465592).with('textdescid', -1093461516).with('uniqueparentid', 0).with('classresourceid', -1956269507)
  12566. .with('uitreeindex', 29)
  12567. .with('classname', 'TextView')
  12568. .with('resource-id', 'com.lge.camera:id/settings_title_textview')
  12569. .with('content-desc', 'Grid On switch')
  12570. .with('text', 'Grid')
  12571.  
  12572. $ruiObj.click
  12573.  
  12574. waitsecond(2)
  12575. end
  12576.  
  12577. tcase << TestAction.new(:AddSignature_Off) do
  12578. $ruiObj = RUIObject.new.with('objectid', -683742256).with('selfid', -1859439098).with('textdescid', 55853521).with('uniqueparentid', 0).with('classresourceid', -1698211271)
  12579. .with('uitreeindex', 35)
  12580. .with('classname', 'Switch')
  12581. .with('resource-id', 'com.lge.camera:id/setting_switch')
  12582. .with('text', 'ON')
  12583.  
  12584. $ruiObj.click
  12585.  
  12586. waitsecond(2)
  12587. end
  12588.  
  12589. tcase << TestAction.new(:Exit_Camera_Setting) do
  12590. $ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2071188370).with('textdescid', 469249158).with('uniqueparentid', 0)
  12591. .with('uitreeindex', 2)
  12592. .with('classname', 'ImageButton')
  12593. .with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
  12594. .with('content-desc', 'Close settings')
  12595.  
  12596. $ruiObj.click
  12597.  
  12598. waitsecond(2)
  12599. end
  12600.  
  12601. tcase << TestAction.new(:Check_Shutter) do
  12602. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  12603. .with('uitreeindex', 10)
  12604. .with('classname', 'ImageButton')
  12605. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  12606.  
  12607. $ruiObj.click
  12608.  
  12609. waitsecond(2)
  12610. end
  12611.  
  12612. tcase << TestAction.new(:Check_Gallery) do
  12613. $ruiObj = RUIObject.new.with('objectid', -2123601541).with('selfid', -135259702).with('textdescid', 357252685).with('uniqueparentid', 0)
  12614. .with('uitreeindex', 15)
  12615. .with('classname', 'ImageView')
  12616. .with('resource-id', 'com.lge.camera:id/thumbnail')
  12617. .with('content-desc', 'Gallery')
  12618.  
  12619. $ruiObj.click
  12620.  
  12621. waitsecond(2)
  12622. end
  12623.  
  12624. tcase << TestAction.new(:Allow_Gallery_Permission) do
  12625. $ruiObj = RUIObject.new.with('objectid', -1492498299).with('selfid', 1443382411).with('textdescid', -1772738030).with('uniqueparentid', 0).with('classresourceid', -227364920)
  12626. .with('uitreeindex', 3)
  12627. .with('classname', 'Button')
  12628. .with('resource-id', 'com.android.packageinstaller:id/permission_allow_button')
  12629. .with('text', 'ALLOW')
  12630.  
  12631. $ruiObj.click
  12632.  
  12633. waitsecond(2)
  12634. end
  12635.  
  12636. tcase << TestAction.new(:Exit_Gallery) do
  12637. pressBack
  12638.  
  12639. waitsecond(2)
  12640. end
  12641.  
  12642. tcase << TestAction.new(:Shutter_Exists) do
  12643. $ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
  12644. .with('uitreeindex', 11)
  12645. .with('classname', 'ImageButton')
  12646. .with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
  12647.  
  12648. $ruiObj.isExist
  12649. ifFailJumpTo(:gotoApp_Settings)
  12650.  
  12651. waitsecond(2)
  12652. end
  12653.  
  12654. tcase.run(loopTime)
  12655.  
  12656. end
  12657.  
  12658. def self.exception_handler
  12659. puts "Module Exception Hanlder..."
  12660. end
  12661.  
  12662. def self.run(loop)
  12663. mainLoop loop
  12664. end
  12665.  
  12666. end
  12667.  
  12668. $exceptionPackageNameList = []
  12669. $exceptionPackageNameList_exclude = []
  12670.  
  12671. def exception_handler
  12672. Picture_Auto_2_1.exception_handler
  12673. end
  12674.  
  12675. $curProjectLogFile = $useLastLogFile
  12676.  
  12677. $curProjectLogFile = "Picture_Auto_2_1_#{getTimeStamp}.log" if $useLastLogFile.nil?
  12678.  
  12679. $useLastLogFile = nil
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement