Skip to content

Instantly share code, notes, and snippets.

@camerasanitytest
Created April 28, 2017 04:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save camerasanitytest/0ed65de03a3ed7aad0a917f6d48c7da8 to your computer and use it in GitHub Desktop.
Save camerasanitytest/0ed65de03a3ed7aad0a917f6d48c7da8 to your computer and use it in GitHub Desktop.
Video_Auto_2_3_RubyRunGenerated
loadTestDB
module Video_Auto_2_3
def self.Normal_View(loopTime)
tcase = TestCase.new("Normal_View")
tcase << TestAction.new(:Change_Normal_View) do
$ruiObj = RUIObject.new.with('objectid', 717001470).with('selfid', 814879967).with('textdescid', 946505666).with('uniqueparentid', 0)
.with('uitreeindex', 14)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/btn_dualview_normal_range')
.with('content-desc', 'Normal angle lens')
$ruiObj.click
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Preconditions(loopTime)
tcase = TestCase.new("Preconditions")
tcase << TestAction.new(:gotoApp_Settings) do
gotoApp('Settings')
waitsecond(2)
end
tcase << TestAction.new(:Settings_General) do
$ruiObj = RUIObject.new.with('objectid', 10212784).with('selfid', 641711431).with('textdescid', -2085492536).with('uniqueparentid', 0)
.with('uitreeindex', 8)
.with('classname', 'TextView')
.with('resource-id', 'android:id/title')
.with('text', 'General')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:searchAndScrollText_Apps) do
scrollAndSearchText("Apps", 1000)
waitsecond(2)
end
tcase << TestAction.new(:Open_Apps) do
$ruiObj = RUIObject.new.with('objectid', -2099539841).with('selfid', -590378381).with('textdescid', -1400202003).with('uniqueparentid', 0).with('classresourceid', 490183159)
.with('uitreeindex', 26)
.with('classname', 'TextView')
.with('resource-id', 'android:id/title')
.with('text', 'Apps')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:searchAndScrollText_Camera) do
scrollAndSearchText("Camera", 1000)
waitsecond(2)
end
tcase << TestAction.new(:Open_Application_Camera) do
$ruiObj = RUIObject.new.with('objectid', -1175534066).with('selfid', -374634778).with('textdescid', 1973661033).with('uniqueparentid', 0).with('classresourceid', 490183159)
.with('uitreeindex', 16)
.with('classname', 'TextView')
.with('resource-id', 'android:id/title')
.with('text', 'Camera')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Open_Application_Camera_Storage) do
$ruiObj = RUIObject.new.with('objectid', -2103271856).with('selfid', -1162414374).with('textdescid', -249377547).with('uniqueparentid', 0).with('classresourceid', 490183159)
.with('uitreeindex', 22)
.with('classname', 'TextView')
.with('resource-id', 'android:id/title')
.with('text', 'Storage')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Open_Application_Camera_Clear_Data) do
$ruiObj = RUIObject.new.with('objectid', 176250137).with('selfid', 72310979).with('textdescid', -665389700).with('uniqueparentid', 0).with('classresourceid', 1223821552)
.with('uitreeindex', 11)
.with('classname', 'Button')
.with('resource-id', 'com.android.settings:id/button3')
.with('text', 'Clear data')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Confirm_Clear_Storage_Camera) do
$ruiObj = RUIObject.new.with('objectid', -1004548822).with('selfid', -1318451484).with('textdescid', -405740082).with('uniqueparentid', 0).with('classresourceid', 1834539358)
.with('uitreeindex', 3)
.with('classname', 'Button')
.with('resource-id', 'android:id/button1')
.with('text', 'OK')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Press_Home) do
pressHome
waitsecond(2)
end
tcase << TestAction.new(:gotoApp_Camera) do
gotoApp('Camera')
waitsecond(2)
end
tcase << TestAction.new(:Exit_PhotoSize_Notif) do
pressBack
waitsecond(2)
end
tcase << TestAction.new(:Exit_TagLocations_Notif) do
$ruiObj = RUIObject.new.with('objectid', 2138780457).with('selfid', 765132311).with('textdescid', -782727157).with('uniqueparentid', 0)
.with('uitreeindex', 20)
.with('classname', 'Button')
.with('resource-id', 'com.lge.camera:id/cancel_button')
.with('text', 'LATER')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Setting) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 3)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:CameraRoll_Off) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -1218314212).with('textdescid', -150235496).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 24)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('content-desc', 'Show your recent photos and videos on the camera preview On switch')
.with('text', 'Show your recent photos and videos on the camera preview')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:HDR) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -801213611).with('textdescid', 73758911).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 27)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('text', 'High Dynamic Range HDR combines multiple photos taken at different exposures to create the best photo')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:HDR_Auto) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 696310092).with('textdescid', -1563309164).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 16)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'Auto')
.with('text', 'Auto')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Timer) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 32)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Timer')
.with('text', 'Timer')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Timer_Off) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -1313055798).with('textdescid', -439670058).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 16)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'Off')
.with('text', 'Off')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:CheeseShutter_Off) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', 1656152154).with('textdescid', 268940314).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 19)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('content-desc', 'Take a photo by saying "Cheese," "Smile," "Whiskey," "Kimchi" or "LG". On switch')
.with('text', 'Take a photo by saying Cheese Smile Whiskey Kimchi or LG')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:TrackingFocus_Off) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -234528137).with('textdescid', -242443235).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 22)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('content-desc', 'Track and maintain focus on a moving object (FHD and HD only) On switch')
.with('text', 'Track and maintain focus on a moving object FHD and HD only')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Swipe_Down_1) do
swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
waitsecond(2)
end
tcase << TestAction.new(:SteadyRecording_Off) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -1883243620).with('textdescid', -1717296872).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 29)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('content-desc', 'Reduce motion blur in videos On switch')
.with('text', 'Reduce motion blur in videos')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:TagLocations_Off) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -2083837582).with('textdescid', -1288971334).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 27)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Tag locations On switch')
.with('text', 'Tag locations')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Grid_Off) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 795465592).with('textdescid', -1093461516).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 29)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Grid On switch')
.with('text', 'Grid')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:AddSignature_Off) do
$ruiObj = RUIObject.new.with('objectid', -683742256).with('selfid', -1859439098).with('textdescid', 55853521).with('uniqueparentid', 0).with('classresourceid', -1698211271)
.with('uitreeindex', 35)
.with('classname', 'Switch')
.with('resource-id', 'com.lge.camera:id/setting_switch')
.with('text', 'ON')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Exit_Camera_Setting) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2071188370).with('textdescid', 469249158).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Close settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Shutter_Exists) do
$ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
.with('uitreeindex', 11)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
$ruiObj.isExist
ifFailJumpTo(:gotoApp_Settings)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Preconditions_Front(loopTime)
tcase = TestCase.new("Preconditions_Front")
tcase << TestAction.new(:gotoApp_Settings) do
gotoApp('Settings')
waitsecond(2)
end
tcase << TestAction.new(:Settings_General) do
$ruiObj = RUIObject.new.with('objectid', 10212784).with('selfid', 641711431).with('textdescid', -2085492536).with('uniqueparentid', 0)
.with('uitreeindex', 8)
.with('classname', 'TextView')
.with('resource-id', 'android:id/title')
.with('text', 'General')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:searchAndScrollText_Apps) do
scrollAndSearchText("Apps", 1000)
waitsecond(2)
end
tcase << TestAction.new(:Open_Apps) do
$ruiObj = RUIObject.new.with('objectid', -2099539841).with('selfid', -590378381).with('textdescid', -1400202003).with('uniqueparentid', 0).with('classresourceid', 490183159)
.with('uitreeindex', 26)
.with('classname', 'TextView')
.with('resource-id', 'android:id/title')
.with('text', 'Apps')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Open_Application_Camera) do
$ruiObj = RUIObject.new.with('objectid', -1175534066).with('selfid', -374634778).with('textdescid', 1973661033).with('uniqueparentid', 0).with('classresourceid', 490183159)
.with('uitreeindex', 16)
.with('classname', 'TextView')
.with('resource-id', 'android:id/title')
.with('text', 'Camera')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Open_Application_Camera_Storage) do
$ruiObj = RUIObject.new.with('objectid', -2103271856).with('selfid', -1162414374).with('textdescid', -249377547).with('uniqueparentid', 0).with('classresourceid', 490183159)
.with('uitreeindex', 22)
.with('classname', 'TextView')
.with('resource-id', 'android:id/title')
.with('text', 'Storage')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Open_Application_Camera_Clear_Data) do
$ruiObj = RUIObject.new.with('objectid', 176250137).with('selfid', 72310979).with('textdescid', -665389700).with('uniqueparentid', 0).with('classresourceid', 1223821552)
.with('uitreeindex', 11)
.with('classname', 'Button')
.with('resource-id', 'com.android.settings:id/button3')
.with('text', 'Clear data')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Confirm_Clear_Storage_Camera) do
$ruiObj = RUIObject.new.with('objectid', -1004548822).with('selfid', -1318451484).with('textdescid', -405740082).with('uniqueparentid', 0).with('classresourceid', 1834539358)
.with('uitreeindex', 3)
.with('classname', 'Button')
.with('resource-id', 'android:id/button1')
.with('text', 'OK')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Press_Home) do
pressHome
waitsecond(2)
end
tcase << TestAction.new(:gotoApp_Camera) do
gotoApp('Camera')
waitsecond(2)
end
tcase << TestAction.new(:Exit_PhotoSize_Notif) do
pressBack
waitsecond(2)
end
tcase << TestAction.new(:Exit_TagLocations_Notif) do
$ruiObj = RUIObject.new.with('objectid', 2138780457).with('selfid', 765132311).with('textdescid', -782727157).with('uniqueparentid', 0)
.with('uitreeindex', 20)
.with('classname', 'Button')
.with('resource-id', 'com.lge.camera:id/cancel_button')
.with('text', 'LATER')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Swap_Camera) do
$ruiObj = RUIObject.new.with('objectid', -1381054635).with('selfid', -2039839496).with('textdescid', -1741286688).with('uniqueparentid', 0)
.with('uitreeindex', 5)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_swap_camera')
.with('content-desc', 'Switch to front camera')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Setting) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 3)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:CameraRoll_Off) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -1218314212).with('textdescid', -150235496).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 24)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('content-desc', 'Show your recent photos and videos on the camera preview On switch')
.with('text', 'Show your recent photos and videos on the camera preview')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:HDR) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -801213611).with('textdescid', 73758911).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 27)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('text', 'High Dynamic Range HDR combines multiple photos taken at different exposures to create the best photo')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:HDR_Auto) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 696310092).with('textdescid', -1563309164).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 16)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'Auto')
.with('text', 'Auto')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Timer) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 32)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Timer')
.with('text', 'Timer')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Timer_Off) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -1313055798).with('textdescid', -439670058).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 16)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'Off')
.with('text', 'Off')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:CheeseShutter_Off) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', 1656152154).with('textdescid', 268940314).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 19)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('content-desc', 'Take a photo by saying "Cheese," "Smile," "Whiskey," "Kimchi" or "LG". On switch')
.with('text', 'Take a photo by saying Cheese Smile Whiskey Kimchi or LG')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Swipe_Down) do
swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
waitsecond(2)
end
tcase << TestAction.new(:Selfie_Shot) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -918458438).with('textdescid', -1072017926).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 21)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('text', 'Take a selfie with a raised hand made into a fist Gesture shot or with your face detected Auto shot')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Selfie_Shot_Gesture) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1700660236).with('textdescid', -81264300).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 15)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'Gesture shot')
.with('text', 'Gesture shot')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:SteadyRecording_Off) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -1883243620).with('textdescid', -1717296872).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 27)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('content-desc', 'Reduce motion blur in videos On switch')
.with('text', 'Reduce motion blur in videos')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:TagLocations_Off) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -2083837582).with('textdescid', -1288971334).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 27)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Tag locations On switch')
.with('text', 'Tag locations')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:GestureView_Off) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', 864084098).with('textdescid', 1705365746).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 24)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('content-desc', 'Check your selfie after you take it by bringing your phone closer On switch')
.with('text', 'Check your selfie after you take it by bringing your phone closer')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Flipped_Off) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 45276848).with('textdescid', -73163652).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 26)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Save as flipped On switch')
.with('text', 'Save as flipped')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:AddSignature_Off) do
$ruiObj = RUIObject.new.with('objectid', -683742256).with('selfid', -1859439098).with('textdescid', 55853521).with('uniqueparentid', 0).with('classresourceid', -1698211271)
.with('uitreeindex', 31)
.with('classname', 'Switch')
.with('resource-id', 'com.lge.camera:id/setting_switch')
.with('text', 'ON')
$ruiObj.select('ItemLast').click
waitsecond(2)
end
tcase << TestAction.new(:Exit_Camera_Setting) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2071188370).with('textdescid', 469249158).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Close settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Shutter_Exists) do
$ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
.with('uitreeindex', 11)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
$ruiObj.isExist
ifFailJumpTo(:gotoApp_Settings)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.startTest(loopTime)
tcase = TestCase.new("startTest")
tcase << TestAction.new(:blankaction) do
waitsecond(0)
end
tcase.run(loopTime)
end
def self.Switch_Camera(loopTime)
tcase = TestCase.new("Switch_Camera")
tcase << TestAction.new(:Swap_Camera) do
$ruiObj = RUIObject.new.with('objectid', -1381054635).with('selfid', 1134851659).with('textdescid', 2111595389).with('uniqueparentid', 0)
.with('uitreeindex', 4)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_swap_camera')
.with('content-desc', 'Switch to rear camera')
$ruiObj.click
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_1(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_1")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_1_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Brightness) do
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_1_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_10(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_10")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_10_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:HDR_Menu) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -801213611).with('textdescid', 73758911).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 27)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('text', 'High Dynamic Range HDR combines multiple photos taken at different exposures to create the best photo')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:HDR_Off) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -1313055798).with('textdescid', -439670058).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 18)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'Off')
.with('text', 'Off')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 5)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_10_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_11(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_11")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_11_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Time_Menu) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 1184885601).with('classresourceid', -1956269507)
.with('uitreeindex', 30)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Timer')
.with('text', 'Timer')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Timer_Off) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -1313055798).with('textdescid', -439670058).with('uniqueparentid', 1184885601).with('classresourceid', 2074814108)
.with('uitreeindex', 16)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'Off')
.with('text', 'Off')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_11_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_12(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_12")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_12_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Timer_Menu) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 30)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Timer')
.with('text', 'Timer')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Timer_3sec) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1159119924).with('textdescid', -2081065364).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 17)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', '3 sec')
.with('text', '3 sec')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(7)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 5)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_12_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_13(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_13")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_13_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Timer_Menu) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 30)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Timer')
.with('text', 'Timer')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Timer_10sec) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1902492716).with('textdescid', 885416180).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 18)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', '10 sec')
.with('text', '10 sec')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(14)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Open_Camera_Settings_1) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Timer_Menu_1) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 30)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Timer')
.with('text', 'Timer')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Timer_Off) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -1313055798).with('textdescid', -439670058).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 16)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'Off')
.with('text', 'Off')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_13_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_14(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_14")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_14_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Swipe_Down) do
swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
waitsecond(2)
end
tcase << TestAction.new(:SteadyRecording_On) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', 824475326).with('textdescid', -1862512754).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 25)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('content-desc', 'Reduce motion blur in videos Off switch')
.with('text', 'Reduce motion blur in videos')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_14_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_15(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_15")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_15_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 3)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Swipe_Down) do
swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
waitsecond(2)
end
tcase << TestAction.new(:Tag_Locations_On) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -550432648).with('textdescid', -1242618788).with('uniqueparentid', -1650613875).with('classresourceid', -1956269507)
.with('uitreeindex', 27)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Tag locations Off switch')
.with('text', 'Tag locations')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_15_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_16(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_16")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_16_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Swipe_Down) do
swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
waitsecond(2)
end
tcase << TestAction.new(:Grid_On) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 2128769562).with('textdescid', -1368287878).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 29)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Grid Off switch')
.with('text', 'Grid')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 5)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_16_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_17(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_17")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_17_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_17_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_18(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_18")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_18_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 12)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Zoom_In) do
zoomIn
zoomIn
zoomIn
zoomIn
zoomIn
zoomIn
zoomIn
zoomIn
zoomIn
zoomIn
zoomIn
zoomIn
zoomIn
zoomIn
zoomIn
waitsecond(2)
end
tcase << TestAction.new(:Zoom_Out) do
zoomOut
zoomOut
zoomOut
zoomOut
zoomOut
zoomOut
zoomOut
zoomOut
zoomOut
zoomOut
waitsecond(2)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 11)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_18_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_19(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_19")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_19_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Pause_Button) do
$ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
.with('uitreeindex', 8)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Resume_Button) do
$ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
.with('uitreeindex', 7)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_19_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_2(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_2")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_2_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 12)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Zoom_In) do
zoomIn
zoomIn
zoomIn
zoomIn
zoomIn
zoomIn
zoomIn
zoomIn
zoomIn
zoomIn
zoomIn
zoomIn
zoomIn
zoomIn
zoomIn
waitsecond(2)
end
tcase << TestAction.new(:Zoom_Out) do
zoomOut
zoomOut
zoomOut
zoomOut
zoomOut
zoomOut
zoomOut
zoomOut
zoomOut
zoomOut
waitsecond(2)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 11)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_2_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_20(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_20")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_20_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Flash_On) do
$ruiObj = RUIObject.new.with('objectid', -1160005900).with('selfid', 183863686).with('textdescid', -1655596812).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_flash')
.with('content-desc', 'Switch to flash on')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Flash_Off) do
$ruiObj = RUIObject.new.with('objectid', -1160005900).with('selfid', 183863686).with('textdescid', -1655596812).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_flash')
.with('content-desc', 'Switch to flash on')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 10)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_20_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_21(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_21")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_21_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Change_Film) do
rng = Random.new()
waitsecond(2)
RUIObject.new.with('objectid', 1447192180).with('selfid', -170779466).with('textdescid', -373050940).with('uniqueparentid', 0)
.with('uitreeindex', 31)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_film_emulator')
.with('content-desc', 'Filter').click
waitsecond(2)
index = rng.rand(db('FilmChange').length-1)
RUIObject.new.with('objectid', -1312790971).with('selfid', 479986141).with('textdescid', 1166933783).with('uniqueparentid', 0)
.with('uitreeindex', 30)
.with('classname', 'android.view.View')
.with('content-desc', db('FilmChange')[index]).click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 10)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Open_Film) do
$ruiObj = RUIObject.new.with('objectid', 1447192180).with('selfid', -170779466).with('textdescid', -373050940).with('uniqueparentid', 0)
.with('uitreeindex', 4)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_film_emulator')
.with('content-desc', 'Filter')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Change_Film_None) do
$ruiObj = RUIObject.new.with('objectid', -1945005961).with('selfid', 748781049).with('textdescid', 166290721).with('uniqueparentid', 0)
.with('uitreeindex', 22)
.with('classname', 'android.view.View')
.with('content-desc', 'None')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_21_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_22_1(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_22_1")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_21_1_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Camera_Roll_On) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', 257319662).with('textdescid', -1276262562).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 25)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('content-desc', 'Show your recent photos and videos on the camera preview Off switch')
.with('text', 'Show your recent photos and videos on the camera preview')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 10)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_21_1_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_22_2(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_22_2")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_21_2_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Camera_Roll_Off) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -1218314212).with('textdescid', -150235496).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 45)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('content-desc', 'Show your recent photos and videos on the camera preview On switch')
.with('text', 'Show your recent photos and videos on the camera preview')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 5)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_21_2_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_23(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_23")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_23_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:HDR_Menu) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -801213611).with('textdescid', 73758911).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 27)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('text', 'High Dynamic Range HDR combines multiple photos taken at different exposures to create the best photo')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:HDR_Auto) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 696310092).with('textdescid', -1563309164).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 16)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'Auto')
.with('text', 'Auto')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_23_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_24(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_24")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_24_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:HDR_Menu) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -801213611).with('textdescid', 73758911).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 27)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('text', 'High Dynamic Range HDR combines multiple photos taken at different exposures to create the best photo')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:HDR_On) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1200665996).with('textdescid', -406281388).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 17)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'On')
.with('text', 'On')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_24_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_25(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_25")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_25_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:HDR_Menu) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -801213611).with('textdescid', 73758911).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 27)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('text', 'High Dynamic Range HDR combines multiple photos taken at different exposures to create the best photo')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:HDR_Off) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -1313055798).with('textdescid', -439670058).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 18)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'Off')
.with('text', 'Off')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 5)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_25_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_26(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_26")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_26_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Time_Menu) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 1184885601).with('classresourceid', -1956269507)
.with('uitreeindex', 30)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Timer')
.with('text', 'Timer')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Timer_Off) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -1313055798).with('textdescid', -439670058).with('uniqueparentid', 1184885601).with('classresourceid', 2074814108)
.with('uitreeindex', 16)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'Off')
.with('text', 'Off')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_26_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_27(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_27")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_27_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Timer_Menu) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 30)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Timer')
.with('text', 'Timer')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Timer_3sec) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1159119924).with('textdescid', -2081065364).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 17)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', '3 sec')
.with('text', '3 sec')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(7)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 5)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_27_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_28(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_28")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_28_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Timer_Menu) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 30)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Timer')
.with('text', 'Timer')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Timer_10sec) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1902492716).with('textdescid', 885416180).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 18)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', '10 sec')
.with('text', '10 sec')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(14)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Open_Camera_Settings_1) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Timer_Menu_1) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 30)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Timer')
.with('text', 'Timer')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Timer_Off) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -1313055798).with('textdescid', -439670058).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 16)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'Off')
.with('text', 'Off')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_28_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_29(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_29")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_29_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Swipe_Down) do
swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
waitsecond(2)
end
tcase << TestAction.new(:SteadyRecording_On) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', 824475326).with('textdescid', -1862512754).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 25)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('content-desc', 'Reduce motion blur in videos Off switch')
.with('text', 'Reduce motion blur in videos')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_29_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_30(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_30")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_30_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 3)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Swipe_Down) do
swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
waitsecond(2)
end
tcase << TestAction.new(:Tag_Locations_On) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -550432648).with('textdescid', -1242618788).with('uniqueparentid', -1650613875).with('classresourceid', -1956269507)
.with('uitreeindex', 27)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Tag locations Off switch')
.with('text', 'Tag locations')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_30_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_31(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_31")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_31_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Swipe_Down) do
swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
waitsecond(2)
end
tcase << TestAction.new(:Grid_On) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 2128769562).with('textdescid', -1368287878).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 29)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Grid Off switch')
.with('text', 'Grid')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 5)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_31_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_3_1(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_3_1")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_3_1_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Change_Wide_View) do
$ruiObj = RUIObject.new.with('objectid', -355772886).with('selfid', -1759883529).with('textdescid', -2115781374).with('uniqueparentid', 0)
.with('uitreeindex', 16)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/btn_dualview_wide_range')
.with('content-desc', 'Wide angle lens')
$ruiObj.click
waitsecond(3)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 14)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_3_1_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_3_2(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_3_2")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_3_2_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Change_Normal_View) do
$ruiObj = RUIObject.new.with('objectid', 717001470).with('selfid', 814879967).with('textdescid', 946505666).with('uniqueparentid', 0)
.with('uitreeindex', 15)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/btn_dualview_normal_range')
.with('content-desc', 'Normal angle lens')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 14)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_3_2_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_4(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_4")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_4_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Pause_Button) do
$ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
.with('uitreeindex', 8)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Resume_Button) do
$ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
.with('uitreeindex', 7)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_4_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_5(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_5")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_5_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Flash_On) do
$ruiObj = RUIObject.new.with('objectid', -1160005900).with('selfid', 183863686).with('textdescid', -1655596812).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_flash')
.with('content-desc', 'Switch to flash on')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Flash_Off) do
$ruiObj = RUIObject.new.with('objectid', -1160005900).with('selfid', 183863686).with('textdescid', -1655596812).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_flash')
.with('content-desc', 'Switch to flash on')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 10)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_5_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_6(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_6")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_6_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Change_Film) do
rng = Random.new()
waitsecond(2)
RUIObject.new.with('objectid', 1447192180).with('selfid', -170779466).with('textdescid', -373050940).with('uniqueparentid', 0)
.with('uitreeindex', 31)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_film_emulator')
.with('content-desc', 'Filter').click
waitsecond(2)
index = rng.rand(db('FilmChange').length-1)
RUIObject.new.with('objectid', -1312790971).with('selfid', 479986141).with('textdescid', 1166933783).with('uniqueparentid', 0)
.with('uitreeindex', 30)
.with('classname', 'android.view.View')
.with('content-desc', db('FilmChange')[index]).click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 10)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Open_Film) do
$ruiObj = RUIObject.new.with('objectid', 1447192180).with('selfid', -170779466).with('textdescid', -373050940).with('uniqueparentid', 0)
.with('uitreeindex', 4)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_film_emulator')
.with('content-desc', 'Filter')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Change_Film_None) do
$ruiObj = RUIObject.new.with('objectid', -1945005961).with('selfid', 748781049).with('textdescid', 166290721).with('uniqueparentid', 0)
.with('uitreeindex', 22)
.with('classname', 'android.view.View')
.with('content-desc', 'None')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_6_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_7_1(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_7_1")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_7_1_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Camera_Roll_On) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', 257319662).with('textdescid', -1276262562).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 25)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('content-desc', 'Show your recent photos and videos on the camera preview Off switch')
.with('text', 'Show your recent photos and videos on the camera preview')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 10)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_7_1_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_7_2(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_7_2")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_7_2_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Camera_Roll_Off) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -1218314212).with('textdescid', -150235496).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 45)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('content-desc', 'Show your recent photos and videos on the camera preview On switch')
.with('text', 'Show your recent photos and videos on the camera preview')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 5)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_7_2_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_8(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_8")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_8_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:HDR_Menu) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -801213611).with('textdescid', 73758911).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 27)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('text', 'High Dynamic Range HDR combines multiple photos taken at different exposures to create the best photo')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:HDR_Auto) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 696310092).with('textdescid', -1563309164).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 16)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'Auto')
.with('text', 'Auto')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_8_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_1_9(loopTime)
tcase = TestCase.new("VideoAuto_2_3_1_9")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_1_9_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:HDR_Menu) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -801213611).with('textdescid', 73758911).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 27)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('text', 'High Dynamic Range HDR combines multiple photos taken at different exposures to create the best photo')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:HDR_On) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1200665996).with('textdescid', -406281388).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 17)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'On')
.with('text', 'On')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_1_9_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_1(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_1")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_1_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_1_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_10(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_10")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_10_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:HDR_Menu) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -801213611).with('textdescid', 73758911).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 27)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('text', 'High Dynamic Range HDR combines multiple photos taken at different exposures to create the best photo')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:HDR_On) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1200665996).with('textdescid', -406281388).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 17)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'On')
.with('text', 'On')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_10_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_11(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_11")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_11_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:HDR_Menu) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -801213611).with('textdescid', 73758911).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 27)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('text', 'High Dynamic Range HDR combines multiple photos taken at different exposures to create the best photo')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:HDR_Off) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -1313055798).with('textdescid', -439670058).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 18)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'Off')
.with('text', 'Off')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 5)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_11_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_12(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_12")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_12_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Time_Menu) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 1184885601).with('classresourceid', -1956269507)
.with('uitreeindex', 30)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Timer')
.with('text', 'Timer')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Timer_Off) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -1313055798).with('textdescid', -439670058).with('uniqueparentid', 1184885601).with('classresourceid', 2074814108)
.with('uitreeindex', 16)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'Off')
.with('text', 'Off')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_12_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_13(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_13")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_13_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Timer_Menu) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 30)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Timer')
.with('text', 'Timer')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Timer_3sec) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1159119924).with('textdescid', -2081065364).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 17)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', '3 sec')
.with('text', '3 sec')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(7)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 5)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_13_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_14(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_14")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_14_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Timer_Menu) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 30)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Timer')
.with('text', 'Timer')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Timer_10sec) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1902492716).with('textdescid', 885416180).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 18)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', '10 sec')
.with('text', '10 sec')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(14)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Open_Camera_Settings_1) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Timer_Menu_1) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 30)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Timer')
.with('text', 'Timer')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Timer_Off) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -1313055798).with('textdescid', -439670058).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 16)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'Off')
.with('text', 'Off')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_14_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_15(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_15")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_15_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Swipe_Down) do
swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
waitsecond(2)
end
tcase << TestAction.new(:SteadyRecording_On) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', 824475326).with('textdescid', -1862512754).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 25)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('content-desc', 'Reduce motion blur in videos Off switch')
.with('text', 'Reduce motion blur in videos')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_15_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_16(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_16")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_16_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 3)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Swipe_Down) do
swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
waitsecond(2)
end
tcase << TestAction.new(:Tag_Locations_On) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -550432648).with('textdescid', -1242618788).with('uniqueparentid', -1650613875).with('classresourceid', -1956269507)
.with('uitreeindex', 27)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Tag locations Off switch')
.with('text', 'Tag locations')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_16_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_17(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_17")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_17_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_17_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_18(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_18")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_18_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Pause_Button) do
$ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
.with('uitreeindex', 8)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Resume_Button) do
$ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
.with('uitreeindex', 7)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_18_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_19(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_19")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_19_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Show_Brightness) do
click(getDisplayWidth/2, getDisplayHeight/2)
waitsecond(1)
end
tcase << TestAction.new(:Lower_Brightness) do
swipe(725,2160, 475, 2160, 10)
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 18)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 6)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_19_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_2(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_2")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_2_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Pause_Button) do
$ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
.with('uitreeindex', 8)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Resume_Button) do
$ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
.with('uitreeindex', 7)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_2_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_20(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_20")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_20_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_SkinTone) do
$ruiObj = RUIObject.new.with('objectid', 956894591).with('selfid', 1291525422).with('textdescid', 549896116).with('uniqueparentid', 0)
.with('uitreeindex', 8)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/beauty_skin_tone_button')
.with('content-desc', 'Skin tone')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Increase_SkinTone) do
click(1147.5,2187)
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 15)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 7)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_20_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_21(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_21")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_21_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Lighting) do
$ruiObj = RUIObject.new.with('objectid', -479310128).with('selfid', -2038283096).with('textdescid', -1274071172).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/beauty_relighting_button')
.with('content-desc', 'Lighting')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Change_Lighting) do
click(720,2173.5)
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 15)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 7)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_21_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_22(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_22")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_22_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Change_Film) do
rng = Random.new()
waitsecond(2)
RUIObject.new.with('objectid', 1447192180).with('selfid', -170779466).with('textdescid', -373050940).with('uniqueparentid', 0)
.with('uitreeindex', 31)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_film_emulator')
.with('content-desc', 'Filter').click
waitsecond(2)
index = rng.rand(db('FilmChange').length-1)
RUIObject.new.with('objectid', -1312790971).with('selfid', 479986141).with('textdescid', 1166933783).with('uniqueparentid', 0)
.with('uitreeindex', 30)
.with('classname', 'android.view.View')
.with('content-desc', db('FilmChange')[index]).click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 10)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Open_Film) do
$ruiObj = RUIObject.new.with('objectid', 1447192180).with('selfid', -170779466).with('textdescid', -373050940).with('uniqueparentid', 0)
.with('uitreeindex', 4)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_film_emulator')
.with('content-desc', 'Filter')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Change_Film_None) do
$ruiObj = RUIObject.new.with('objectid', -1945005961).with('selfid', 748781049).with('textdescid', 166290721).with('uniqueparentid', 0)
.with('uitreeindex', 22)
.with('classname', 'android.view.View')
.with('content-desc', 'None')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_22_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_23_1(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_23_1")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_23_1_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Camera_Roll_On) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', 257319662).with('textdescid', -1276262562).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 25)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('content-desc', 'Show your recent photos and videos on the camera preview Off switch')
.with('text', 'Show your recent photos and videos on the camera preview')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 10)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_23_1_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_23_2(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_23_2")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_23_2_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Camera_Roll_Off) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -1218314212).with('textdescid', -150235496).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 45)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('content-desc', 'Show your recent photos and videos on the camera preview On switch')
.with('text', 'Show your recent photos and videos on the camera preview')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 5)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_23_2_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_24(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_24")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_24_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:HDR_Menu) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -801213611).with('textdescid', 73758911).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 27)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('text', 'High Dynamic Range HDR combines multiple photos taken at different exposures to create the best photo')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:HDR_Auto) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 696310092).with('textdescid', -1563309164).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 16)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'Auto')
.with('text', 'Auto')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_24_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_25(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_25")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_25_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:HDR_Menu) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -801213611).with('textdescid', 73758911).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 27)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('text', 'High Dynamic Range HDR combines multiple photos taken at different exposures to create the best photo')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:HDR_On) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1200665996).with('textdescid', -406281388).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 17)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'On')
.with('text', 'On')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_25_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_26(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_26")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_26_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:HDR_Menu) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -801213611).with('textdescid', 73758911).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 27)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('text', 'High Dynamic Range HDR combines multiple photos taken at different exposures to create the best photo')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:HDR_Off) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -1313055798).with('textdescid', -439670058).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 18)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'Off')
.with('text', 'Off')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 5)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_26_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_27(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_27")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_27_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Time_Menu) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 1184885601).with('classresourceid', -1956269507)
.with('uitreeindex', 30)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Timer')
.with('text', 'Timer')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Timer_Off) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -1313055798).with('textdescid', -439670058).with('uniqueparentid', 1184885601).with('classresourceid', 2074814108)
.with('uitreeindex', 16)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'Off')
.with('text', 'Off')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_27_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_28(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_28")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_28_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Timer_Menu) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 30)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Timer')
.with('text', 'Timer')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Timer_3sec) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1159119924).with('textdescid', -2081065364).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 17)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', '3 sec')
.with('text', '3 sec')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(7)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 5)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_28_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_29(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_29")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_29_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Timer_Menu) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 30)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Timer')
.with('text', 'Timer')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Timer_10sec) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1902492716).with('textdescid', 885416180).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 18)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', '10 sec')
.with('text', '10 sec')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(14)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Open_Camera_Settings_1) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Timer_Menu_1) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 1973970999).with('textdescid', -665586027).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 30)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Timer')
.with('text', 'Timer')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Timer_Off) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -1313055798).with('textdescid', -439670058).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 16)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'Off')
.with('text', 'Off')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_29_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_3(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_3")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_3_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Show_Brightness) do
click(getDisplayWidth/2, getDisplayHeight/2)
waitsecond(1)
end
tcase << TestAction.new(:Lower_Brightness) do
swipe(725,2160, 475, 2160, 10)
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 18)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 6)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_3_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_30(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_30")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_30_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Swipe_Down) do
swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
waitsecond(2)
end
tcase << TestAction.new(:SteadyRecording_On) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', 824475326).with('textdescid', -1862512754).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 25)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('content-desc', 'Reduce motion blur in videos Off switch')
.with('text', 'Reduce motion blur in videos')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_30_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_31(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_31")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_31_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 3)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Swipe_Down) do
swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
swipe(getDisplayWidth/2, getDisplayHeight/2, getDisplayWidth/2, getDisplayHeight/32, 10)
waitsecond(2)
end
tcase << TestAction.new(:Tag_Locations_On) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -550432648).with('textdescid', -1242618788).with('uniqueparentid', -1650613875).with('classresourceid', -1956269507)
.with('uitreeindex', 27)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Tag locations Off switch')
.with('text', 'Tag locations')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_31_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_4(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_4")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_4_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_SkinTone) do
$ruiObj = RUIObject.new.with('objectid', 956894591).with('selfid', 1291525422).with('textdescid', 549896116).with('uniqueparentid', 0)
.with('uitreeindex', 8)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/beauty_skin_tone_button')
.with('content-desc', 'Skin tone')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Increase_SkinTone) do
click(1147.5,2187)
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 15)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 7)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_4_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_5(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_5")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_5_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Lighting) do
$ruiObj = RUIObject.new.with('objectid', -479310128).with('selfid', -2038283096).with('textdescid', -1274071172).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/beauty_relighting_button')
.with('content-desc', 'Lighting')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Change_Lighting) do
click(720,2173.5)
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 15)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 7)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_5_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_6_1(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_6_1")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_6_1_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Change_Wide_View) do
$ruiObj = RUIObject.new.with('objectid', -355772886).with('selfid', -1759883529).with('textdescid', -2115781374).with('uniqueparentid', 0)
.with('uitreeindex', 16)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/btn_dualview_wide_range')
.with('content-desc', 'Wide angle lens')
$ruiObj.click
waitsecond(3)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 14)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_6_1_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_6_2(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_6_2")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_6_2_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Change_Normal_View) do
$ruiObj = RUIObject.new.with('objectid', 717001470).with('selfid', 814879967).with('textdescid', 946505666).with('uniqueparentid', 0)
.with('uitreeindex', 15)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/btn_dualview_normal_range')
.with('content-desc', 'Normal angle lens')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 14)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_6_2_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_7(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_7")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_7_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Change_Film) do
rng = Random.new()
waitsecond(2)
RUIObject.new.with('objectid', 1447192180).with('selfid', -170779466).with('textdescid', -373050940).with('uniqueparentid', 0)
.with('uitreeindex', 31)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_film_emulator')
.with('content-desc', 'Filter').click
waitsecond(2)
index = rng.rand(db('FilmChange').length-1)
RUIObject.new.with('objectid', -1312790971).with('selfid', 479986141).with('textdescid', 1166933783).with('uniqueparentid', 0)
.with('uitreeindex', 30)
.with('classname', 'android.view.View')
.with('content-desc', db('FilmChange')[index]).click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 10)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Open_Film) do
$ruiObj = RUIObject.new.with('objectid', 1447192180).with('selfid', -170779466).with('textdescid', -373050940).with('uniqueparentid', 0)
.with('uitreeindex', 4)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_film_emulator')
.with('content-desc', 'Filter')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Change_Film_None) do
$ruiObj = RUIObject.new.with('objectid', -1945005961).with('selfid', 748781049).with('textdescid', 166290721).with('uniqueparentid', 0)
.with('uitreeindex', 22)
.with('classname', 'android.view.View')
.with('content-desc', 'None')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_7_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_8_1(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_8_1")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_8_1_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Camera_Roll_On) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', 257319662).with('textdescid', -1276262562).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 25)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('content-desc', 'Show your recent photos and videos on the camera preview Off switch')
.with('text', 'Show your recent photos and videos on the camera preview')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 10)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_8_1_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_8_2(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_8_2")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_8_2_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Camera_Roll_Off) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -1218314212).with('textdescid', -150235496).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 45)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('content-desc', 'Show your recent photos and videos on the camera preview On switch')
.with('text', 'Show your recent photos and videos on the camera preview')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 5)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_8_2_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.VideoAuto_2_3_2_9(loopTime)
tcase = TestCase.new("VideoAuto_2_3_2_9")
tcase << TestAction.new(:LogStart) do
logStartTest("2_3_2_9_Video_Auto")
waitsecond(2)
end
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:HDR_Menu) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -801213611).with('textdescid', 73758911).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 27)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('text', 'High Dynamic Range HDR combines multiple photos taken at different exposures to create the best photo')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:HDR_Auto) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 696310092).with('textdescid', -1563309164).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 16)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'Auto')
.with('text', 'Auto')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Record_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Stop_Button) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_3_2_9_Video_Auto")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video_Resolution_FHD_16_9(loopTime)
tcase = TestCase.new("Video_Resolution_FHD_16_9")
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 3)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Video_Resolution) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 48019021).with('textdescid', 2046901823).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 26)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Video resolution')
.with('text', 'Video resolution')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Video_Resolution_FHD_16_9) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1591833598).with('textdescid', 1225177506).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 19)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'FHD 16:9 1920x1080')
.with('text', 'FHD 169 1920x1080')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Exit_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2071188370).with('textdescid', 469249158).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Close settings')
$ruiObj.click
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video_Resolution_FHD_16_9_60fps(loopTime)
tcase = TestCase.new("Video_Resolution_FHD_16_9_60fps")
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 3)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Video_Resolution) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 48019021).with('textdescid', 2046901823).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 26)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Video resolution')
.with('text', 'Video resolution')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Video_Resolution_FHD_16_9_60fps) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 112173679).with('textdescid', -1573357359).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 18)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'FHD 16:9 (60fps) 1920x1080')
.with('text', 'FHD 169 60fps 1920x1080')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Exit_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2071188370).with('textdescid', 469249158).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Close settings')
$ruiObj.click
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video_Resolution_FHD_16_9_Front(loopTime)
tcase = TestCase.new("Video_Resolution_FHD_16_9_Front")
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 3)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Video_Resolution) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 48019021).with('textdescid', 2046901823).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 18)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Video resolution')
.with('text', 'Video resolution')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Video_Resolution_FHD_16_9) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 1591833598).with('textdescid', 1225177506).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 15)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'FHD 16:9 1920x1080')
.with('text', 'FHD 169 1920x1080')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Exit_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2071188370).with('textdescid', 469249158).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Close settings')
$ruiObj.click
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video_Resolution_FHD_18_9(loopTime)
tcase = TestCase.new("Video_Resolution_FHD_18_9")
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 3)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Video_Resolution) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 48019021).with('textdescid', 2046901823).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 19)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Video resolution')
.with('text', 'Video resolution')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Video_Resolution_FHD_18_9) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 450107480).with('textdescid', 1439023304).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 17)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'FHD 18:9 2160x1080')
.with('text', 'FHD 189 2160x1080')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Exit_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2071188370).with('textdescid', 469249158).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Close settings')
$ruiObj.click
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video_Resolution_HD_16_9(loopTime)
tcase = TestCase.new("Video_Resolution_HD_16_9")
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 3)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Video_Resolution) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 48019021).with('textdescid', 2046901823).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 26)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Video resolution')
.with('text', 'Video resolution')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Video_Resolution_HD_16_9) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 223169256).with('textdescid', -50930888).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 21)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'HD 16:9 1280x720')
.with('text', 'HD 169 1280x720')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Exit_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2071188370).with('textdescid', 469249158).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Close settings')
$ruiObj.click
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video_Resolution_HD_16_9_Front(loopTime)
tcase = TestCase.new("Video_Resolution_HD_16_9_Front")
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 3)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Video_Resolution) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 48019021).with('textdescid', 2046901823).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 18)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Video resolution')
.with('text', 'Video resolution')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Video_Resolution_HD_16_9) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 223169256).with('textdescid', -50930888).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 17)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'HD 16:9 1280x720')
.with('text', 'HD 169 1280x720')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Exit_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2071188370).with('textdescid', 469249158).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Close settings')
$ruiObj.click
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video_Resolution_HD_18_9(loopTime)
tcase = TestCase.new("Video_Resolution_HD_18_9")
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 3)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Video_Resolution) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 48019021).with('textdescid', 2046901823).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 26)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Video resolution')
.with('text', 'Video resolution')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Video_Resolution_HD_18_9) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -1279034828).with('textdescid', 710939756).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 20)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'HD 18:9 1440x720')
.with('text', 'HD 189 1440x720')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Exit_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2071188370).with('textdescid', 469249158).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Close settings')
$ruiObj.click
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video_Resolution_HD_18_9_Front(loopTime)
tcase = TestCase.new("Video_Resolution_HD_18_9_Front")
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 3)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Video_Resolution) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 48019021).with('textdescid', 2046901823).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 18)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Video resolution')
.with('text', 'Video resolution')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Video_Resolution_HD_18_9) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', -1279034828).with('textdescid', 710939756).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 16)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'HD 18:9 1440x720')
.with('text', 'HD 189 1440x720')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Exit_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2071188370).with('textdescid', 469249158).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Close settings')
$ruiObj.click
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video_Resolution_UHD_16_9(loopTime)
tcase = TestCase.new("Video_Resolution_UHD_16_9")
tcase << TestAction.new(:Open_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 3)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Open settings')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Video_Resolution) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 48019021).with('textdescid', 2046901823).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 19)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Video resolution')
.with('text', 'Video resolution')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Video_Resolution_UHD_16_9) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 79288556).with('textdescid', 2081471604).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 16)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'UHD 16:9 3840x2160')
.with('text', 'UHD 169 3840x2160')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Exit_Camera_Settings) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2071188370).with('textdescid', 469249158).with('uniqueparentid', 0)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_setting_expand')
.with('content-desc', 'Close settings')
$ruiObj.click
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Wide_View(loopTime)
tcase = TestCase.new("Wide_View")
tcase << TestAction.new(:Change_Wide_View) do
$ruiObj = RUIObject.new.with('objectid', -355772886).with('selfid', -1759883529).with('textdescid', -2115781374).with('uniqueparentid', 0)
.with('uitreeindex', 16)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/btn_dualview_wide_range')
.with('content-desc', 'Wide angle lens')
$ruiObj.click
waitsecond(2)
end
tcase.run(loopTime)
end
def self.mainLoop(loopTime)
WebSocketXServer.setAutoUpdate(false)
index = $mainResumeMainLoop
$mainResumeMainLoop = 0
writelog("mainLoop::#{index}::Resume") if index > 0
while index < loopTime
$curMainLoopNum = index
$actionParamInput = "none"
Preconditions 1
waitsecond(2)
$actionParamInput = "none"
Video_Resolution_UHD_16_9 1
waitsecond(2)
$actionParamInput = "none"
Normal_View 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_3_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_3_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_4 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_5 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_6 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_7_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_7_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_8 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_9 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_10 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_11 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_12 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_13 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_14 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_15 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_16 1
waitsecond(2)
$actionParamInput = "none"
Wide_View 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_17 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_18 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_19 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_20 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_21 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_22_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_22_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_23 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_24 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_25 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_26 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_27 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_28 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_29 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_30 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_31 1
waitsecond(2)
$actionParamInput = "none"
Preconditions 1
waitsecond(2)
$actionParamInput = "none"
Video_Resolution_FHD_18_9 1
waitsecond(2)
$actionParamInput = "none"
Normal_View 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_3_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_3_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_4 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_5 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_6 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_7_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_7_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_8 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_9 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_10 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_11 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_12 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_13 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_14 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_15 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_16 1
waitsecond(2)
$actionParamInput = "none"
Wide_View 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_17 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_18 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_19 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_20 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_21 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_22_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_22_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_23 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_24 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_25 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_26 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_27 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_28 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_29 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_30 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_31 1
waitsecond(2)
$actionParamInput = "none"
Preconditions 1
waitsecond(2)
$actionParamInput = "none"
Video_Resolution_FHD_16_9_60fps 1
waitsecond(2)
$actionParamInput = "none"
Normal_View 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_3_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_3_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_4 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_5 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_6 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_7_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_7_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_8 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_9 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_10 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_11 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_12 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_13 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_14 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_15 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_16 1
waitsecond(2)
$actionParamInput = "none"
Wide_View 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_17 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_18 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_19 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_20 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_21 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_22_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_22_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_23 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_24 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_25 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_26 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_27 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_28 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_29 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_30 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_31 1
waitsecond(2)
$actionParamInput = "none"
Preconditions 1
waitsecond(2)
$actionParamInput = "none"
Video_Resolution_FHD_16_9 1
waitsecond(2)
$actionParamInput = "none"
Normal_View 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_3_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_3_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_4 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_5 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_6 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_7_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_7_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_8 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_9 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_10 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_11 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_12 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_13 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_14 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_15 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_16 1
waitsecond(2)
$actionParamInput = "none"
Wide_View 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_17 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_18 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_19 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_20 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_21 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_22_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_22_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_23 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_24 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_25 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_26 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_27 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_28 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_29 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_30 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_31 1
waitsecond(2)
$actionParamInput = "none"
Preconditions 1
waitsecond(2)
$actionParamInput = "none"
Video_Resolution_HD_18_9 1
waitsecond(2)
$actionParamInput = "none"
Normal_View 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_3_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_3_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_4 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_5 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_6 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_7_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_7_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_8 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_9 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_10 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_11 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_12 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_13 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_14 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_15 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_16 1
waitsecond(2)
$actionParamInput = "none"
Wide_View 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_17 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_18 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_19 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_20 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_21 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_22_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_22_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_23 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_24 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_25 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_26 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_27 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_28 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_29 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_30 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_31 1
waitsecond(2)
$actionParamInput = "none"
Preconditions 1
waitsecond(2)
$actionParamInput = "none"
Video_Resolution_HD_16_9 1
waitsecond(2)
$actionParamInput = "none"
Normal_View 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_3_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_3_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_4 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_5 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_6 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_7_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_7_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_8 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_9 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_10 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_11 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_12 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_13 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_14 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_15 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_16 1
waitsecond(2)
$actionParamInput = "none"
Wide_View 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_17 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_18 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_19 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_20 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_21 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_22_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_22_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_23 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_24 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_25 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_26 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_27 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_28 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_29 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_30 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_1_31 1
waitsecond(2)
$actionParamInput = "none"
Preconditions_Front 1
waitsecond(2)
$actionParamInput = "none"
Video_Resolution_FHD_16_9_Front 1
waitsecond(2)
$actionParamInput = "none"
Normal_View 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_3 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_4 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_5 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_6_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_6_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_7 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_8_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_8_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_9 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_10 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_11 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_12 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_13 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_14 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_15 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_16 1
waitsecond(2)
$actionParamInput = "none"
Wide_View 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_17 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_18 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_19 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_20 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_21 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_22 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_23_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_23_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_24 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_25 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_26 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_27 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_28 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_29 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_30 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_31 1
waitsecond(2)
$actionParamInput = "none"
Preconditions_Front 1
waitsecond(2)
$actionParamInput = "none"
Video_Resolution_HD_18_9_Front 1
waitsecond(2)
$actionParamInput = "none"
Normal_View 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_3 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_4 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_5 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_6_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_6_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_7 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_8_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_8_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_9 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_10 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_11 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_12 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_13 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_14 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_15 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_16 1
waitsecond(2)
$actionParamInput = "none"
Wide_View 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_17 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_18 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_19 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_20 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_21 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_22 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_23_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_23_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_24 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_25 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_26 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_27 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_28 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_29 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_30 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_31 1
waitsecond(2)
$actionParamInput = "none"
Preconditions_Front 1
waitsecond(2)
$actionParamInput = "none"
Video_Resolution_HD_16_9_Front 1
waitsecond(2)
$actionParamInput = "none"
Normal_View 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_3 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_4 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_5 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_6_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_6_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_7 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_8_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_8_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_9 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_10 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_11 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_12 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_13 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_14 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_15 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_16 1
waitsecond(2)
$actionParamInput = "none"
Wide_View 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_17 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_18 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_19 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_20 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_21 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_22 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_23_1 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_23_2 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_24 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_25 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_26 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_27 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_28 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_29 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_30 1
waitsecond(2)
$actionParamInput = "none"
VideoAuto_2_3_2_31 1
waitsecond(2)
sendStatus("Done::mainLoop::Loop::#{index}")
writelog("Finish::Loop::#{$curMainLoopNum}")
saveLogFileToGist if $saveLogToGist
index += 1
end
$engineStatus = "Idle"
resetStatus
sendStatus("Finish::mainLoop::END")
end
def self.exception_handler
puts "Module Exception Hanlder..."
end
def self.run(loop)
mainLoop loop
end
end
$exceptionPackageNameList = []
$exceptionPackageNameList_exclude = []
def exception_handler
Video_Auto_2_3.exception_handler
end
$curProjectLogFile = $useLastLogFile
$curProjectLogFile = "Video_Auto_2_3_#{getTimeStamp}.log" if $useLastLogFile.nil?
$useLastLogFile = nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment