Skip to content

Instantly share code, notes, and snippets.

@camerasanitytest
Created May 2, 2017 17:40
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/6d763d9018e3c9c943d61711d8683c6c to your computer and use it in GitHub Desktop.
Save camerasanitytest/6d763d9018e3c9c943d61711d8683c6c to your computer and use it in GitHub Desktop.
Picture_Auto_2_1_RubyRunGenerated
loadTestDB
module Picture_Auto_2_1
def self.Add_Signature(loopTime)
tcase = TestCase.new("Add_Signature")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
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(:AddSignature_On) do
$ruiObj = RUIObject.new.with('objectid', -683742256).with('selfid', -1808037368).with('textdescid', 1731452673).with('uniqueparentid', 0).with('classresourceid', -1698211271)
.with('uitreeindex', 34)
.with('classname', 'Switch')
.with('resource-id', 'com.lge.camera:id/setting_switch')
.with('text', 'OFF')
$ruiObj.select('ItemLast').click
waitsecond(2)
end
tcase << TestAction.new(:Add_Signature) do
$ruiObj = RUIObject.new.with('objectid', -367317206).with('selfid', 120621811).with('textdescid', -1407762699).with('uniqueparentid', 0)
.with('uitreeindex', 10)
.with('classname', 'Button')
.with('resource-id', 'com.android.gallery3d:id/selection_ok')
.with('text', 'ADD')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Shutter_Button) do
$ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
.with('content-desc', 'Shutter')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Brightness(loopTime)
tcase = TestCase.new("Brightness")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
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(:Shutter_Button) 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.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Camera_Roll_Off(loopTime)
tcase = TestCase.new("Camera_Roll_Off")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
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(:Shutter_Button) do
$ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
.with('uitreeindex', 30)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
.with('content-desc', 'Shutter')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Camera_Roll_On(loopTime)
tcase = TestCase.new("Camera_Roll_On")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
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(:Shutter_Button) do
$ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
.with('content-desc', 'Shutter')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Change_Film_Back(loopTime)
tcase = TestCase.new("Change_Film_Back")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
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(:Shutter_Button) 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.click
waitsecond(2)
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($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Change_Film_Front(loopTime)
tcase = TestCase.new("Change_Film_Front")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
waitsecond(2)
end
tcase << TestAction.new(:Open_Film_1) do
$ruiObj = RUIObject.new.with('objectid', 725470839).with('selfid', 489925877).with('textdescid', 838442273).with('uniqueparentid', 0)
.with('uitreeindex', 10)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/beauty_filter_button')
.with('content-desc', 'Filter')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Film_Bright) do
$ruiObj = RUIObject.new.with('objectid', 1938036272).with('selfid', 2090593688).with('textdescid', -156958582).with('uniqueparentid', 0).with('classresourceid', -2059470738)
.with('uitreeindex', 2)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/imageView1')
.with('content-desc', 'Bright')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Shutter_Button) 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.click
waitsecond(2)
end
tcase << TestAction.new(:Open_Film_2) do
$ruiObj = RUIObject.new.with('objectid', 725470839).with('selfid', 489925877).with('textdescid', 838442273).with('uniqueparentid', 0)
.with('uitreeindex', 11)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/beauty_filter_button')
.with('content-desc', 'Filter')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Film_Default) do
$ruiObj = RUIObject.new.with('objectid', 1938036272).with('selfid', -1823696486).with('textdescid', 1279307080).with('uniqueparentid', 0).with('classresourceid', -2059470738)
.with('uitreeindex', 8)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/imageView1')
.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($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Check_Normal_View(loopTime)
tcase = TestCase.new("Check_Normal_View")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
waitsecond(2)
end
tcase << TestAction.new(:Switch_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(:Shutter_Button) do
$ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
.with('uitreeindex', 12)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Check_Wide_View(loopTime)
tcase = TestCase.new("Check_Wide_View")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
waitsecond(2)
end
tcase << TestAction.new(:Switch_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 << TestAction.new(:Shutter_Button) 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.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Grid(loopTime)
tcase = TestCase.new("Grid")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
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(:Shutter_Button) do
$ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
.with('content-desc', 'Shutter')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.HDR_Auto(loopTime)
tcase = TestCase.new("HDR_Auto")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
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(:Shutter_Button) do
$ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
.with('content-desc', 'Shutter')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.HDR_Off(loopTime)
tcase = TestCase.new("HDR_Off")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
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(:Shutter_Button) do
$ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
.with('content-desc', 'Shutter')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.HDR_On(loopTime)
tcase = TestCase.new("HDR_On")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
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(:Shutter_Button) do
$ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
.with('content-desc', 'Shutter')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Lighting(loopTime)
tcase = TestCase.new("Lighting")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
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(:Shutter_Button) 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.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Normal_View(loopTime)
tcase = TestCase.new("Normal_View")
tcase << TestAction.new(:Set_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.run(loopTime)
end
def self.Photo_Size(loopTime)
tcase = TestCase.new("Photo_Size")
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(:Photo_Size) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -430869043).with('textdescid', -1531619265).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 16)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Photo size')
.with('text', 'Photo size')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Size_Input_Check) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 210818313).with('textdescid', -122535369).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('text', $actionParamInput)
$ruiObj.isNotExist
ifFailJumpTo(:Size_Input)
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(:Size_Input) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 210818313).with('textdescid', -122535369).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('text', $actionParamInput)
$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.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(: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(:Check_Shutter) do
$ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
.with('uitreeindex', 10)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Check_Gallery) do
$ruiObj = RUIObject.new.with('objectid', -2123601541).with('selfid', -135259702).with('textdescid', 357252685).with('uniqueparentid', 0)
.with('uitreeindex', 15)
.with('classname', 'ImageView')
.with('resource-id', 'com.lge.camera:id/thumbnail')
.with('content-desc', 'Gallery')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Default_Gallery) do
$ruiObj = RUIObject.new.with('objectid', 1736845148).with('selfid', 1695477105).with('textdescid', -880470158).with('uniqueparentid', 0).with('classresourceid', -472389065)
.with('uitreeindex', 2)
.with('classname', 'TextView')
.with('resource-id', 'com.lge:id/resolver_text')
.with('text', 'Gallery')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Ok_Gallery) do
$ruiObj = RUIObject.new.with('objectid', -1049422851).with('selfid', -808516471).with('textdescid', -374437087).with('uniqueparentid', 0).with('classresourceid', 771022871)
.with('uitreeindex', 8)
.with('classname', 'Button')
.with('resource-id', 'com.lge:id/allow_button')
.with('text', 'OK')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Allow_Gallery_Permission) do
$ruiObj = RUIObject.new.with('objectid', -1492498299).with('selfid', 1443382411).with('textdescid', -1772738030).with('uniqueparentid', 0).with('classresourceid', -227364920)
.with('uitreeindex', 3)
.with('classname', 'Button')
.with('resource-id', 'com.android.packageinstaller:id/permission_allow_button')
.with('text', 'ALLOW')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Exit_Gallery) do
pressBack
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(:Check_Shutter) do
$ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Check_Gallery) do
$ruiObj = RUIObject.new.with('objectid', -2123601541).with('selfid', -135259702).with('textdescid', 357252685).with('uniqueparentid', 0)
.with('uitreeindex', 18)
.with('classname', 'ImageView')
.with('resource-id', 'com.lge.camera:id/thumbnail')
.with('content-desc', 'Gallery')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Default_Gallery) do
$ruiObj = RUIObject.new.with('objectid', 1736845148).with('selfid', 1695477105).with('textdescid', -880470158).with('uniqueparentid', 0).with('classresourceid', -472389065)
.with('uitreeindex', 2)
.with('classname', 'TextView')
.with('resource-id', 'com.lge:id/resolver_text')
.with('text', 'Gallery')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Ok_Gallery) do
$ruiObj = RUIObject.new.with('objectid', -1049422851).with('selfid', -808516471).with('textdescid', -374437087).with('uniqueparentid', 0).with('classresourceid', 771022871)
.with('uitreeindex', 8)
.with('classname', 'Button')
.with('resource-id', 'com.lge:id/allow_button')
.with('text', 'OK')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Allow_Gallery_Permission) do
$ruiObj = RUIObject.new.with('objectid', -1492498299).with('selfid', 1443382411).with('textdescid', -1772738030).with('uniqueparentid', 0).with('classresourceid', -227364920)
.with('uitreeindex', 3)
.with('classname', 'Button')
.with('resource-id', 'com.android.packageinstaller:id/permission_allow_button')
.with('text', 'ALLOW')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Exit_Gallery) do
pressBack
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.Save_Flipped(loopTime)
tcase = TestCase.new("Save_Flipped")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
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(:Flipped_On) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -1630731240).with('textdescid', 197516924).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 Off switch')
.with('text', 'Save as flipped')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Shutter_Button) do
$ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
.with('content-desc', 'Shutter')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Selfie_Auto(loopTime)
tcase = TestCase.new("Selfie_Auto")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
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(:SelfieShot_Menu) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -918458438).with('textdescid', -1072017926).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 36)
.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(:Gesture_Auto) do
$ruiObj = RUIObject.new.with('objectid', 129023916).with('selfid', 891878210).with('textdescid', 452006750).with('uniqueparentid', 0).with('classresourceid', 2074814108)
.with('uitreeindex', 16)
.with('classname', 'CheckedTextView')
.with('resource-id', 'android:id/text1')
.with('content-desc', 'Auto shot')
.with('text', 'Auto shot')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Shutter_Button) do
$ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
.with('content-desc', 'Shutter')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Selfie_Gesture(loopTime)
tcase = TestCase.new("Selfie_Gesture")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
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(:SelfieShot_Menu) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -918458438).with('textdescid', -1072017926).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 36)
.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_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(:Shutter_Button) do
$ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
.with('content-desc', 'Shutter')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Selfie_Gesture2(loopTime)
tcase = TestCase.new("Selfie_Gesture2")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
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(:SelfieShot_Menu) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -918458438).with('textdescid', -1072017926).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 36)
.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_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(:Shutter_Button) do
$ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
.with('content-desc', 'Shutter')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Shutter_Button(loopTime)
tcase = TestCase.new("Shutter_Button")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
waitsecond(2)
end
tcase << TestAction.new(:Shutter_Button) 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.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Simple_View_Auto(loopTime)
tcase = TestCase.new("Simple_View_Auto")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
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(:Simple_View_Enter) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -1638459757).with('textdescid', -1395718599).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 35)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Simple view')
.with('text', 'Simple view')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Simple_View_Picture) do
click(getDisplayWidth/2, getDisplayHeight/2)
waitsecond(3)
end
tcase << TestAction.new(:Simple_View_Exit) do
$ruiObj = RUIObject.new.with('objectid', 1601410951).with('selfid', 2479282).with('textdescid', -1209880514).with('uniqueparentid', 0)
.with('uitreeindex', 3)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_clean_view_off')
.with('content-desc', 'View')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Simple_View_Gesture(loopTime)
tcase = TestCase.new("Simple_View_Gesture")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
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(:Simple_View_Enter) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -1638459757).with('textdescid', -1395718599).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 35)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Simple view')
.with('text', 'Simple view')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Simple_View_Picture) do
click(getDisplayWidth/2, getDisplayHeight/2)
waitsecond(3)
end
tcase << TestAction.new(:Simple_View_Exit) do
$ruiObj = RUIObject.new.with('objectid', 1601410951).with('selfid', 2479282).with('textdescid', -1209880514).with('uniqueparentid', 0)
.with('uitreeindex', 3)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_clean_view_off')
.with('content-desc', 'View')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Simple_View_Gesture2(loopTime)
tcase = TestCase.new("Simple_View_Gesture2")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
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(getDisplayHeight/2, getDisplayWidth/2, getDisplayWidth/2, getDisplayHeight/32, 10)
waitsecond(2)
end
tcase << TestAction.new(:Simple_View_Enter) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -1638459757).with('textdescid', -1395718599).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 35)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Simple view')
.with('text', 'Simple view')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Simple_View_Picture) do
click(getDisplayWidth/2, getDisplayHeight/2)
waitsecond(3)
end
tcase << TestAction.new(:Simple_View_Exit) do
$ruiObj = RUIObject.new.with('objectid', 1601410951).with('selfid', 2479282).with('textdescid', -1209880514).with('uniqueparentid', 0)
.with('uitreeindex', 3)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_clean_view_off')
.with('content-desc', 'View')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Simple_View_Tap(loopTime)
tcase = TestCase.new("Simple_View_Tap")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
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)
waitsecond(2)
end
tcase << TestAction.new(:Simple_View_Enter) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -1638459757).with('textdescid', -1395718599).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 35)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Simple view')
.with('text', 'Simple view')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Simple_View_Picture) do
click(getDisplayWidth/2, getDisplayHeight/2)
waitsecond(3)
end
tcase << TestAction.new(:Simple_View_Exit) do
$ruiObj = RUIObject.new.with('objectid', 1601410951).with('selfid', 2479282).with('textdescid', -1209880514).with('uniqueparentid', 0)
.with('uitreeindex', 3)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_clean_view_off')
.with('content-desc', 'View')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Simple_View_Volume(loopTime)
tcase = TestCase.new("Simple_View_Volume")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
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(:Simple_View_Enter) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -1638459757).with('textdescid', -1395718599).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 35)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Simple view')
.with('text', 'Simple view')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Simple_View_Volume_Key) do
pressVolumeKeyDown
waitsecond(3)
end
tcase << TestAction.new(:Simple_View_Exit) do
$ruiObj = RUIObject.new.with('objectid', 1601410951).with('selfid', 2479282).with('textdescid', -1209880514).with('uniqueparentid', 0)
.with('uitreeindex', 3)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_clean_view_off')
.with('content-desc', 'View')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Skin_Tone(loopTime)
tcase = TestCase.new("Skin_Tone")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
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(:Shutter_Button) 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.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
waitsecond(2)
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.Tag_Locations(loopTime)
tcase = TestCase.new("Tag_Locations")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
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(:Shutter_Button) do
$ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', -1650613875)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
.with('content-desc', 'Shutter')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Timer_10sec(loopTime)
tcase = TestCase.new("Timer_10sec")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
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(:Shutter_Button) do
$ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
.with('content-desc', 'Shutter')
$ruiObj.click
waitsecond(12)
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($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Timer_3sec(loopTime)
tcase = TestCase.new("Timer_3sec")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
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(:Shutter_Button) do
$ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
.with('content-desc', 'Shutter')
$ruiObj.click
waitsecond(5)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Timer_Off(loopTime)
tcase = TestCase.new("Timer_Off")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
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(:Shutter_Button) do
$ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
.with('content-desc', 'Shutter')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Toggle_Flash_Back(loopTime)
tcase = TestCase.new("Toggle_Flash_Back")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
waitsecond(2)
end
tcase << TestAction.new(:Toggle_Flash) do
$ruiObj = RUIObject.new.with('objectid', -1160005900).with('selfid', 183863686).with('textdescid', -1655596812).with('uniqueparentid', 0)
.with('uitreeindex', 7)
.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(:Shutter_Button) 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.click
waitsecond(5)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Toggle_Flash_Front(loopTime)
tcase = TestCase.new("Toggle_Flash_Front")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
waitsecond(2)
end
tcase << TestAction.new(:Flash_On) do
$ruiObj = RUIObject.new.with('objectid', -900526840).with('selfid', 1439491693).with('textdescid', 726990625).with('uniqueparentid', 0)
.with('uitreeindex', 5)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_light_frame')
.with('content-desc', 'Switch to flash off, on')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Shutter_Button) 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.click
waitsecond(2)
end
tcase << TestAction.new(:Open_Gallery) do
$ruiObj = RUIObject.new.with('objectid', -2123601541).with('selfid', -135259702).with('textdescid', 357252685).with('uniqueparentid', 0)
.with('uitreeindex', 14)
.with('classname', 'ImageView')
.with('resource-id', 'com.lge.camera:id/thumbnail')
.with('content-desc', 'Gallery')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Tracking_Focus(loopTime)
tcase = TestCase.new("Tracking_Focus")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
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(:Tracking_Focus_On) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', 540041269).with('textdescid', 1081855095).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 37)
.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) Off switch')
.with('text', 'Track and maintain focus on a moving object FHD and HD only')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Shutter_Button) do
$ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
.with('content-desc', 'Shutter')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Voice_Shutter(loopTime)
tcase = TestCase.new("Voice_Shutter")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
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(:Cheese_Shutter_On) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -805427468).with('textdescid', -450343400).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 34)
.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". Off switch')
.with('text', 'Take a photo by saying Cheese Smile Whiskey Kimchi or LG')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Shutter_Button) do
$ruiObj = RUIObject.new.with('objectid', -370752327).with('selfid', -92772729).with('textdescid', -1122186778).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp')
.with('content-desc', 'Shutter')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Volume_Key(loopTime)
tcase = TestCase.new("Volume_Key")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
waitsecond(2)
end
tcase << TestAction.new(:Volume_Key_Button) do
pressVolumeKeyDown
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
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.Zoom_In(loopTime)
tcase = TestCase.new("Zoom_In")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
waitsecond(2)
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(:Shutter_Button) do
$ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
.with('uitreeindex', 12)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkeAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Zoom_Out(loopTime)
tcase = TestCase.new("Zoom_Out")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
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(:Shutter_Button) 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.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
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.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 = "43 16MP 4656x3492"
Photo_Size 1
waitsecond(2)
$actionParamInput = "none"
Normal_View 1
waitsecond(2)
$actionParamInput = "2_1_1_1_Picture_Auto"
Shutter_Button 1
waitsecond(2)
$actionParamInput = "2_1_1_2_Picture_Auto"
Volume_Key 1
waitsecond(2)
$actionParamInput = "2_1_1_3_1_Picture_Auto"
Zoom_In 1
waitsecond(2)
$actionParamInput = "2_1_1_3_2_Picture_Auto"
Zoom_Out 1
waitsecond(2)
$actionParamInput = "2_1_1_4_1_Picture_Auto"
Check_Wide_View 1
waitsecond(2)
$actionParamInput = "2_1_1_4_2_Picture_Auto"
Check_Normal_View 1
waitsecond(2)
$actionParamInput = "2_1_1_5_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_6_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_7_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_8_Picture_Auto"
Change_Film_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_9_1_Picture_Auto"
Camera_Roll_On 1
waitsecond(2)
$actionParamInput = "2_1_1_9_2_Picture_Auto"
Camera_Roll_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_10_Picture_Auto"
HDR_Auto 1
waitsecond(2)
$actionParamInput = "2_1_1_11_Picture_Auto"
HDR_On 1
waitsecond(2)
$actionParamInput = "2_1_1_12_Picture_Auto"
HDR_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_13_Picture_Auto"
Timer_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_14_Picture_Auto"
Timer_3sec 1
waitsecond(2)
$actionParamInput = "2_1_1_15_Picture_Auto"
Timer_10sec 1
waitsecond(2)
$actionParamInput = "2_1_1_16_Picture_Auto"
Voice_Shutter 1
waitsecond(2)
$actionParamInput = "2_1_1_17_Picture_Auto"
Tracking_Focus 1
waitsecond(2)
$actionParamInput = "2_1_1_18_Picture_Auto"
Tag_Locations 1
waitsecond(2)
$actionParamInput = "2_1_1_19_Picture_Auto"
Grid 1
waitsecond(2)
$actionParamInput = "2_1_1_20_Picture_Auto"
Add_Signature 1
waitsecond(2)
$actionParamInput = "2_1_1_21_Picture_Auto"
Simple_View_Tap 1
waitsecond(2)
$actionParamInput = "2_1_1_22_Picture_Auto"
Simple_View_Volume 1
waitsecond(2)
$actionParamInput = "2_1_1_23_1_Picture_Auto"
Simple_View_Zoom_In 1
waitsecond(2)
$actionParamInput = "2_1_1_23_2_Picture_Auto"
Simple_View_Zoom_Out 1
waitsecond(2)
$actionParamInput = "none"
Wide_View 1
waitsecond(2)
$actionParamInput = "2_1_1_24_Picture_Auto"
Shutter_Button 1
waitsecond(2)
$actionParamInput = "2_1_1_25_Picture_Auto"
Volume_Key 1
waitsecond(2)
$actionParamInput = "2_1_1_26_1_Picture_Auto"
Zoom_In 1
waitsecond(2)
$actionParamInput = "2_1_1_26_2_Picture_Auto"
Zoom_Out 1
waitsecond(2)
$actionParamInput = "2_1_1_27_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_28_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_29_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_30_Picture_Auto"
Change_Film_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_31_1_Picture_Auto"
Camera_Roll_On 1
waitsecond(2)
$actionParamInput = "2_1_1_31_2_Picture_Auto"
Camera_Roll_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_32_Picture_Auto"
HDR_Auto 1
waitsecond(2)
$actionParamInput = "2_1_1_33_Picture_Auto"
HDR_On 1
waitsecond(2)
$actionParamInput = "2_1_1_34_Picture_Auto"
HDR_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_35_Picture_Auto"
Timer_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_36_Picture_Auto"
Timer_3sec 1
waitsecond(2)
$actionParamInput = "2_1_1_37_Picture_Auto"
Timer_10sec 1
waitsecond(2)
$actionParamInput = "2_1_1_38_Picture_Auto"
Voice_Shutter 1
waitsecond(2)
$actionParamInput = "2_1_1_39_Picture_Auto"
Tracking_Focus 1
waitsecond(2)
$actionParamInput = "2_1_1_40_Picture_Auto"
Tag_Locations 1
waitsecond(2)
$actionParamInput = "2_1_1_41_Picture_Auto"
Grid 1
waitsecond(2)
$actionParamInput = "2_1_1_42_Picture_Auto"
Add_Signature 1
waitsecond(2)
$actionParamInput = "2_1_1_43_Picture_Auto"
Simple_View_Tap 1
waitsecond(2)
$actionParamInput = "2_1_1_44_Picture_Auto"
Simple_View_Volume 1
waitsecond(2)
$actionParamInput = "2_1_1_45_1_Picture_Auto"
Simple_View_Zoom_In 1
waitsecond(2)
$actionParamInput = "2_1_1_45_2_Picture_Auto"
Simple_View_Zoom_Out 1
waitsecond(2)
$actionParamInput = "none"
Preconditions 1
waitsecond(2)
$actionParamInput = "43 80MP 3264x2448"
Photo_Size 1
waitsecond(2)
$actionParamInput = "none"
Normal_View 1
waitsecond(2)
$actionParamInput = "2_1_1_1_Picture_Auto"
Shutter_Button 1
waitsecond(2)
$actionParamInput = "2_1_1_2_Picture_Auto"
Volume_Key 1
waitsecond(2)
$actionParamInput = "2_1_1_3_1_Picture_Auto"
Zoom_In 1
waitsecond(2)
$actionParamInput = "2_1_1_3_2_Picture_Auto"
Zoom_Out 1
waitsecond(2)
$actionParamInput = "2_1_1_4_1_Picture_Auto"
Check_Wide_View 1
waitsecond(2)
$actionParamInput = "2_1_1_4_2_Picture_Auto"
Check_Normal_View 1
waitsecond(2)
$actionParamInput = "2_1_1_5_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_6_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_7_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_8_Picture_Auto"
Change_Film_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_9_1_Picture_Auto"
Camera_Roll_On 1
waitsecond(2)
$actionParamInput = "2_1_1_9_2_Picture_Auto"
Camera_Roll_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_10_Picture_Auto"
HDR_Auto 1
waitsecond(2)
$actionParamInput = "2_1_1_11_Picture_Auto"
HDR_On 1
waitsecond(2)
$actionParamInput = "2_1_1_12_Picture_Auto"
HDR_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_13_Picture_Auto"
Timer_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_14_Picture_Auto"
Timer_3sec 1
waitsecond(2)
$actionParamInput = "2_1_1_15_Picture_Auto"
Timer_10sec 1
waitsecond(2)
$actionParamInput = "2_1_1_16_Picture_Auto"
Voice_Shutter 1
waitsecond(2)
$actionParamInput = "2_1_1_17_Picture_Auto"
Tracking_Focus 1
waitsecond(2)
$actionParamInput = "2_1_1_18_Picture_Auto"
Tag_Locations 1
waitsecond(2)
$actionParamInput = "2_1_1_19_Picture_Auto"
Grid 1
waitsecond(2)
$actionParamInput = "2_1_1_20_Picture_Auto"
Add_Signature 1
waitsecond(2)
$actionParamInput = "2_1_1_21_Picture_Auto"
Simple_View_Tap 1
waitsecond(2)
$actionParamInput = "2_1_1_22_Picture_Auto"
Simple_View_Volume 1
waitsecond(2)
$actionParamInput = "2_1_1_23_1_Picture_Auto"
Simple_View_Zoom_In 1
waitsecond(2)
$actionParamInput = "2_1_1_23_2_Picture_Auto"
Simple_View_Zoom_Out 1
waitsecond(2)
$actionParamInput = "none"
Wide_View 1
waitsecond(2)
$actionParamInput = "2_1_1_24_Picture_Auto"
Shutter_Button 1
waitsecond(2)
$actionParamInput = "2_1_1_25_Picture_Auto"
Volume_Key 1
waitsecond(2)
$actionParamInput = "2_1_1_26_1_Picture_Auto"
Zoom_In 1
waitsecond(2)
$actionParamInput = "2_1_1_26_2_Picture_Auto"
Zoom_Out 1
waitsecond(2)
$actionParamInput = "2_1_1_27_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_28_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_29_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_30_Picture_Auto"
Change_Film_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_31_1_Picture_Auto"
Camera_Roll_On 1
waitsecond(2)
$actionParamInput = "2_1_1_31_2_Picture_Auto"
Camera_Roll_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_32_Picture_Auto"
HDR_Auto 1
waitsecond(2)
$actionParamInput = "2_1_1_33_Picture_Auto"
HDR_On 1
waitsecond(2)
$actionParamInput = "2_1_1_34_Picture_Auto"
HDR_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_35_Picture_Auto"
Timer_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_36_Picture_Auto"
Timer_3sec 1
waitsecond(2)
$actionParamInput = "2_1_1_37_Picture_Auto"
Timer_10sec 1
waitsecond(2)
$actionParamInput = "2_1_1_38_Picture_Auto"
Voice_Shutter 1
waitsecond(2)
$actionParamInput = "2_1_1_39_Picture_Auto"
Tracking_Focus 1
waitsecond(2)
$actionParamInput = "2_1_1_40_Picture_Auto"
Tag_Locations 1
waitsecond(2)
$actionParamInput = "2_1_1_41_Picture_Auto"
Grid 1
waitsecond(2)
$actionParamInput = "2_1_1_42_Picture_Auto"
Add_Signature 1
waitsecond(2)
$actionParamInput = "2_1_1_43_Picture_Auto"
Simple_View_Tap 1
waitsecond(2)
$actionParamInput = "2_1_1_44_Picture_Auto"
Simple_View_Volume 1
waitsecond(2)
$actionParamInput = "2_1_1_45_1_Picture_Auto"
Simple_View_Zoom_In 1
waitsecond(2)
$actionParamInput = "2_1_1_45_2_Picture_Auto"
Simple_View_Zoom_Out 1
waitsecond(2)
$actionParamInput = "none"
Preconditions 1
waitsecond(2)
$actionParamInput = "169 12MP 4656x2620"
Photo_Size 1
waitsecond(2)
$actionParamInput = "none"
Normal_View 1
waitsecond(2)
$actionParamInput = "2_1_1_1_Picture_Auto"
Shutter_Button 1
waitsecond(2)
$actionParamInput = "2_1_1_2_Picture_Auto"
Volume_Key 1
waitsecond(2)
$actionParamInput = "2_1_1_3_1_Picture_Auto"
Zoom_In 1
waitsecond(2)
$actionParamInput = "2_1_1_3_2_Picture_Auto"
Zoom_Out 1
waitsecond(2)
$actionParamInput = "2_1_1_4_1_Picture_Auto"
Check_Wide_View 1
waitsecond(2)
$actionParamInput = "2_1_1_4_2_Picture_Auto"
Check_Wide_View 1
waitsecond(2)
$actionParamInput = "2_1_1_5_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_6_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_7_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_8_Picture_Auto"
Change_Film_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_9_1_Picture_Auto"
Camera_Roll_On 1
waitsecond(2)
$actionParamInput = "2_1_1_9_2_Picture_Auto"
Camera_Roll_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_10_Picture_Auto"
HDR_Auto 1
waitsecond(2)
$actionParamInput = "2_1_1_11_Picture_Auto"
HDR_On 1
waitsecond(2)
$actionParamInput = "2_1_1_12_Picture_Auto"
HDR_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_13_Picture_Auto"
Timer_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_14_Picture_Auto"
Timer_3sec 1
waitsecond(2)
$actionParamInput = "2_1_1_15_Picture_Auto"
Timer_10sec 1
waitsecond(2)
$actionParamInput = "2_1_1_16_Picture_Auto"
Voice_Shutter 1
waitsecond(2)
$actionParamInput = "2_1_1_17_Picture_Auto"
Tracking_Focus 1
waitsecond(2)
$actionParamInput = "2_1_1_18_Picture_Auto"
Tag_Locations 1
waitsecond(2)
$actionParamInput = "2_1_1_19_Picture_Auto"
Grid 1
waitsecond(2)
$actionParamInput = "2_1_1_20_Picture_Auto"
Add_Signature 1
waitsecond(2)
$actionParamInput = "2_1_1_21_Picture_Auto"
Simple_View_Tap 1
waitsecond(2)
$actionParamInput = "2_1_1_22_Picture_Auto"
Simple_View_Volume 1
waitsecond(2)
$actionParamInput = "2_1_1_23_1_Picture_Auto"
Simple_View_Zoom_In 1
waitsecond(2)
$actionParamInput = "2_1_1_23_2_Picture_Auto"
Simple_View_Zoom_Out 1
waitsecond(2)
$actionParamInput = "none"
Wide_View 1
waitsecond(2)
$actionParamInput = "2_1_1_24_Picture_Auto"
Shutter_Button 1
waitsecond(2)
$actionParamInput = "2_1_1_25_Picture_Auto"
Volume_Key 1
waitsecond(2)
$actionParamInput = "2_1_1_26_1_Picture_Auto"
Zoom_In 1
waitsecond(2)
$actionParamInput = "2_1_1_26_2_Picture_Auto"
Zoom_Out 1
waitsecond(2)
$actionParamInput = "2_1_1_27_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_28_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_29_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_30_Picture_Auto"
Change_Film_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_31_1_Picture_Auto"
Camera_Roll_On 1
waitsecond(2)
$actionParamInput = "2_1_1_31_2_Picture_Auto"
Camera_Roll_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_32_Picture_Auto"
HDR_Auto 1
waitsecond(2)
$actionParamInput = "2_1_1_33_Picture_Auto"
HDR_On 1
waitsecond(2)
$actionParamInput = "2_1_1_34_Picture_Auto"
HDR_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_35_Picture_Auto"
Timer_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_36_Picture_Auto"
Timer_3sec 1
waitsecond(2)
$actionParamInput = "2_1_1_37_Picture_Auto"
Timer_10sec 1
waitsecond(2)
$actionParamInput = "2_1_1_38_Picture_Auto"
Voice_Shutter 1
waitsecond(2)
$actionParamInput = "2_1_1_39_Picture_Auto"
Tracking_Focus 1
waitsecond(2)
$actionParamInput = "2_1_1_40_Picture_Auto"
Tag_Locations 1
waitsecond(2)
$actionParamInput = "2_1_1_41_Picture_Auto"
Grid 1
waitsecond(2)
$actionParamInput = "2_1_1_42_Picture_Auto"
Add_Signature 1
waitsecond(2)
$actionParamInput = "2_1_1_43_Picture_Auto"
Simple_View_Tap 1
waitsecond(2)
$actionParamInput = "2_1_1_44_Picture_Auto"
Simple_View_Volume 1
waitsecond(2)
$actionParamInput = "2_1_1_45_1_Picture_Auto"
Simple_View_Zoom_In 1
waitsecond(2)
$actionParamInput = "2_1_1_45_2_Picture_Auto"
Simple_View_Zoom_Out 1
waitsecond(2)
$actionParamInput = "none"
Preconditions 1
waitsecond(2)
$actionParamInput = "169 60MP 3264x1836"
Photo_Size 1
waitsecond(2)
$actionParamInput = "none"
Normal_View 1
waitsecond(2)
$actionParamInput = "2_1_1_1_Picture_Auto"
Shutter_Button 1
waitsecond(2)
$actionParamInput = "2_1_1_2_Picture_Auto"
Volume_Key 1
waitsecond(2)
$actionParamInput = "2_1_1_3_1_Picture_Auto"
Zoom_In 1
waitsecond(2)
$actionParamInput = "2_1_1_3_2_Picture_Auto"
Zoom_Out 1
waitsecond(2)
$actionParamInput = "2_1_1_4_1_Picture_Auto"
Check_Wide_View 1
waitsecond(2)
$actionParamInput = "2_1_1_4_2_Picture_Auto"
Check_Wide_View 1
waitsecond(2)
$actionParamInput = "2_1_1_5_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_6_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_7_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_8_Picture_Auto"
Change_Film_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_9_1_Picture_Auto"
Camera_Roll_On 1
waitsecond(2)
$actionParamInput = "2_1_1_9_2_Picture_Auto"
Camera_Roll_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_10_Picture_Auto"
HDR_Auto 1
waitsecond(2)
$actionParamInput = "2_1_1_11_Picture_Auto"
HDR_On 1
waitsecond(2)
$actionParamInput = "2_1_1_12_Picture_Auto"
HDR_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_13_Picture_Auto"
Timer_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_14_Picture_Auto"
Timer_3sec 1
waitsecond(2)
$actionParamInput = "2_1_1_15_Picture_Auto"
Timer_10sec 1
waitsecond(2)
$actionParamInput = "2_1_1_16_Picture_Auto"
Voice_Shutter 1
waitsecond(2)
$actionParamInput = "2_1_1_17_Picture_Auto"
Tracking_Focus 1
waitsecond(2)
$actionParamInput = "2_1_1_18_Picture_Auto"
Tag_Locations 1
waitsecond(2)
$actionParamInput = "2_1_1_19_Picture_Auto"
Grid 1
waitsecond(2)
$actionParamInput = "2_1_1_20_Picture_Auto"
Add_Signature 1
waitsecond(2)
$actionParamInput = "2_1_1_21_Picture_Auto"
Simple_View_Tap 1
waitsecond(2)
$actionParamInput = "2_1_1_22_Picture_Auto"
Simple_View_Volume 1
waitsecond(2)
$actionParamInput = "2_1_1_23_1_Picture_Auto"
Simple_View_Zoom_In 1
waitsecond(2)
$actionParamInput = "2_1_1_23_2_Picture_Auto"
Simple_View_Zoom_Out 1
waitsecond(2)
$actionParamInput = "none"
Wide_View 1
waitsecond(2)
$actionParamInput = "2_1_1_24_Picture_Auto"
Shutter_Button 1
waitsecond(2)
$actionParamInput = "2_1_1_25_Picture_Auto"
Volume_Key 1
waitsecond(2)
$actionParamInput = "2_1_1_26_1_Picture_Auto"
Zoom_In 1
waitsecond(2)
$actionParamInput = "2_1_1_26_2_Picture_Auto"
Zoom_Out 1
waitsecond(2)
$actionParamInput = "2_1_1_27_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_28_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_29_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_30_Picture_Auto"
Change_Film_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_31_1_Picture_Auto"
Camera_Roll_On 1
waitsecond(2)
$actionParamInput = "2_1_1_31_2_Picture_Auto"
Camera_Roll_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_32_Picture_Auto"
HDR_Auto 1
waitsecond(2)
$actionParamInput = "2_1_1_33_Picture_Auto"
HDR_On 1
waitsecond(2)
$actionParamInput = "2_1_1_34_Picture_Auto"
HDR_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_35_Picture_Auto"
Timer_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_36_Picture_Auto"
Timer_3sec 1
waitsecond(2)
$actionParamInput = "2_1_1_37_Picture_Auto"
Timer_10sec 1
waitsecond(2)
$actionParamInput = "2_1_1_38_Picture_Auto"
Voice_Shutter 1
waitsecond(2)
$actionParamInput = "2_1_1_39_Picture_Auto"
Tracking_Focus 1
waitsecond(2)
$actionParamInput = "2_1_1_40_Picture_Auto"
Tag_Locations 1
waitsecond(2)
$actionParamInput = "2_1_1_41_Picture_Auto"
Grid 1
waitsecond(2)
$actionParamInput = "2_1_1_42_Picture_Auto"
Add_Signature 1
waitsecond(2)
$actionParamInput = "2_1_1_43_Picture_Auto"
Simple_View_Tap 1
waitsecond(2)
$actionParamInput = "2_1_1_44_Picture_Auto"
Simple_View_Volume 1
waitsecond(2)
$actionParamInput = "2_1_1_45_1_Picture_Auto"
Simple_View_Zoom_In 1
waitsecond(2)
$actionParamInput = "2_1_1_45_2_Picture_Auto"
Simple_View_Zoom_Out 1
waitsecond(2)
$actionParamInput = "none"
Preconditions 1
waitsecond(2)
$actionParamInput = "189 11MP 4656x2328"
Photo_Size 1
waitsecond(2)
$actionParamInput = "none"
Normal_View 1
waitsecond(2)
$actionParamInput = "2_1_1_1_Picture_Auto"
Shutter_Button 1
waitsecond(2)
$actionParamInput = "2_1_1_2_Picture_Auto"
Volume_Key 1
waitsecond(2)
$actionParamInput = "2_1_1_3_1_Picture_Auto"
Zoom_In 1
waitsecond(2)
$actionParamInput = "2_1_1_3_2_Picture_Auto"
Zoom_Out 1
waitsecond(2)
$actionParamInput = "2_1_1_4_1_Picture_Auto"
Check_Wide_View 1
waitsecond(2)
$actionParamInput = "2_1_1_4_2_Picture_Auto"
Check_Wide_View 1
waitsecond(2)
$actionParamInput = "2_1_1_5_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_6_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_7_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_8_Picture_Auto"
Change_Film_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_9_1_Picture_Auto"
Camera_Roll_On 1
waitsecond(2)
$actionParamInput = "2_1_1_9_2_Picture_Auto"
Camera_Roll_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_10_Picture_Auto"
HDR_Auto 1
waitsecond(2)
$actionParamInput = "2_1_1_11_Picture_Auto"
HDR_On 1
waitsecond(2)
$actionParamInput = "2_1_1_12_Picture_Auto"
HDR_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_13_Picture_Auto"
Timer_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_14_Picture_Auto"
Timer_3sec 1
waitsecond(2)
$actionParamInput = "2_1_1_15_Picture_Auto"
Timer_10sec 1
waitsecond(2)
$actionParamInput = "2_1_1_16_Picture_Auto"
Voice_Shutter 1
waitsecond(2)
$actionParamInput = "2_1_1_17_Picture_Auto"
Tracking_Focus 1
waitsecond(2)
$actionParamInput = "2_1_1_18_Picture_Auto"
Tag_Locations 1
waitsecond(2)
$actionParamInput = "2_1_1_19_Picture_Auto"
Grid 1
waitsecond(2)
$actionParamInput = "2_1_1_20_Picture_Auto"
Add_Signature 1
waitsecond(2)
$actionParamInput = "2_1_1_21_Picture_Auto"
Simple_View_Tap 1
waitsecond(2)
$actionParamInput = "2_1_1_22_Picture_Auto"
Simple_View_Volume 1
waitsecond(2)
$actionParamInput = "2_1_1_23_1_Picture_Auto"
Simple_View_Zoom_In 1
waitsecond(2)
$actionParamInput = "2_1_1_23_2_Picture_Auto"
Simple_View_Zoom_Out 1
waitsecond(2)
$actionParamInput = "none"
Wide_View 1
waitsecond(2)
$actionParamInput = "2_1_1_24_Picture_Auto"
Shutter_Button 1
waitsecond(2)
$actionParamInput = "2_1_1_25_Picture_Auto"
Volume_Key 1
waitsecond(2)
$actionParamInput = "2_1_1_26_1_Picture_Auto"
Zoom_In 1
waitsecond(2)
$actionParamInput = "2_1_1_26_2_Picture_Auto"
Zoom_Out 1
waitsecond(2)
$actionParamInput = "2_1_1_27_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_28_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_29_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_30_Picture_Auto"
Change_Film_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_31_1_Picture_Auto"
Camera_Roll_On 1
waitsecond(2)
$actionParamInput = "2_1_1_31_2_Picture_Auto"
Camera_Roll_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_32_Picture_Auto"
HDR_Auto 1
waitsecond(2)
$actionParamInput = "2_1_1_33_Picture_Auto"
HDR_On 1
waitsecond(2)
$actionParamInput = "2_1_1_34_Picture_Auto"
HDR_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_35_Picture_Auto"
Timer_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_36_Picture_Auto"
Timer_3sec 1
waitsecond(2)
$actionParamInput = "2_1_1_37_Picture_Auto"
Timer_10sec 1
waitsecond(2)
$actionParamInput = "2_1_1_38_Picture_Auto"
Voice_Shutter 1
waitsecond(2)
$actionParamInput = "2_1_1_39_Picture_Auto"
Tracking_Focus 1
waitsecond(2)
$actionParamInput = "2_1_1_40_Picture_Auto"
Tag_Locations 1
waitsecond(2)
$actionParamInput = "2_1_1_41_Picture_Auto"
Grid 1
waitsecond(2)
$actionParamInput = "2_1_1_42_Picture_Auto"
Add_Signature 1
waitsecond(2)
$actionParamInput = "2_1_1_43_Picture_Auto"
Simple_View_Tap 1
waitsecond(2)
$actionParamInput = "2_1_1_44_Picture_Auto"
Simple_View_Volume 1
waitsecond(2)
$actionParamInput = "2_1_1_45_1_Picture_Auto"
Simple_View_Zoom_In 1
waitsecond(2)
$actionParamInput = "2_1_1_45_2_Picture_Auto"
Simple_View_Zoom_Out 1
waitsecond(2)
$actionParamInput = "none"
Preconditions 1
waitsecond(2)
$actionParamInput = "189 33MP 2560x1280"
Photo_Size 1
waitsecond(2)
$actionParamInput = "none"
Normal_View 1
waitsecond(2)
$actionParamInput = "2_1_1_1_Picture_Auto"
Shutter_Button 1
waitsecond(2)
$actionParamInput = "2_1_1_2_Picture_Auto"
Volume_Key 1
waitsecond(2)
$actionParamInput = "2_1_1_3_1_Picture_Auto"
Zoom_In 1
waitsecond(2)
$actionParamInput = "2_1_1_3_2_Picture_Auto"
Zoom_Out 1
waitsecond(2)
$actionParamInput = "2_1_1_4_1_Picture_Auto"
Check_Wide_View 1
waitsecond(2)
$actionParamInput = "2_1_1_4_2_Picture_Auto"
Check_Wide_View 1
waitsecond(2)
$actionParamInput = "2_1_1_5_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_6_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_7_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_8_Picture_Auto"
Change_Film_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_9_1_Picture_Auto"
Camera_Roll_On 1
waitsecond(2)
$actionParamInput = "2_1_1_9_2_Picture_Auto"
Camera_Roll_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_10_Picture_Auto"
HDR_Auto 1
waitsecond(2)
$actionParamInput = "2_1_1_11_Picture_Auto"
HDR_On 1
waitsecond(2)
$actionParamInput = "2_1_1_12_Picture_Auto"
HDR_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_13_Picture_Auto"
Timer_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_14_Picture_Auto"
Timer_3sec 1
waitsecond(2)
$actionParamInput = "2_1_1_15_Picture_Auto"
Timer_10sec 1
waitsecond(2)
$actionParamInput = "2_1_1_16_Picture_Auto"
Voice_Shutter 1
waitsecond(2)
$actionParamInput = "2_1_1_17_Picture_Auto"
Tracking_Focus 1
waitsecond(2)
$actionParamInput = "2_1_1_18_Picture_Auto"
Tag_Locations 1
waitsecond(2)
$actionParamInput = "2_1_1_19_Picture_Auto"
Grid 1
waitsecond(2)
$actionParamInput = "2_1_1_20_Picture_Auto"
Add_Signature 1
waitsecond(2)
$actionParamInput = "2_1_1_21_Picture_Auto"
Simple_View_Tap 1
waitsecond(2)
$actionParamInput = "2_1_1_22_Picture_Auto"
Simple_View_Volume 1
waitsecond(2)
$actionParamInput = "2_1_1_23_1_Picture_Auto"
Simple_View_Zoom_In 1
waitsecond(2)
$actionParamInput = "2_1_1_23_2_Picture_Auto"
Simple_View_Zoom_Out 1
waitsecond(2)
$actionParamInput = "none"
Wide_View 1
waitsecond(2)
$actionParamInput = "2_1_1_24_Picture_Auto"
Shutter_Button 1
waitsecond(2)
$actionParamInput = "2_1_1_25_Picture_Auto"
Volume_Key 1
waitsecond(2)
$actionParamInput = "2_1_1_26_1_Picture_Auto"
Zoom_In 1
waitsecond(2)
$actionParamInput = "2_1_1_26_2_Picture_Auto"
Zoom_Out 1
waitsecond(2)
$actionParamInput = "2_1_1_27_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_28_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_29_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_30_Picture_Auto"
Change_Film_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_31_1_Picture_Auto"
Camera_Roll_On 1
waitsecond(2)
$actionParamInput = "2_1_1_31_2_Picture_Auto"
Camera_Roll_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_32_Picture_Auto"
HDR_Auto 1
waitsecond(2)
$actionParamInput = "2_1_1_33_Picture_Auto"
HDR_On 1
waitsecond(2)
$actionParamInput = "2_1_1_34_Picture_Auto"
HDR_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_35_Picture_Auto"
Timer_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_36_Picture_Auto"
Timer_3sec 1
waitsecond(2)
$actionParamInput = "2_1_1_37_Picture_Auto"
Timer_10sec 1
waitsecond(2)
$actionParamInput = "2_1_1_38_Picture_Auto"
Voice_Shutter 1
waitsecond(2)
$actionParamInput = "2_1_1_39_Picture_Auto"
Tracking_Focus 1
waitsecond(2)
$actionParamInput = "2_1_1_40_Picture_Auto"
Tag_Locations 1
waitsecond(2)
$actionParamInput = "2_1_1_41_Picture_Auto"
Grid 1
waitsecond(2)
$actionParamInput = "2_1_1_42_Picture_Auto"
Add_Signature 1
waitsecond(2)
$actionParamInput = "2_1_1_43_Picture_Auto"
Simple_View_Tap 1
waitsecond(2)
$actionParamInput = "2_1_1_44_Picture_Auto"
Simple_View_Volume 1
waitsecond(2)
$actionParamInput = "2_1_1_45_1_Picture_Auto"
Simple_View_Zoom_In 1
waitsecond(2)
$actionParamInput = "2_1_1_45_2_Picture_Auto"
Simple_View_Zoom_Out 1
waitsecond(2)
$actionParamInput = "none"
Preconditions 1
waitsecond(2)
$actionParamInput = "11 12MP 3492x2492"
Photo_Size 1
waitsecond(2)
$actionParamInput = "none"
Normal_View 1
waitsecond(2)
$actionParamInput = "2_1_1_1_Picture_Auto"
Shutter_Button 1
waitsecond(2)
$actionParamInput = "2_1_1_2_Picture_Auto"
Volume_Key 1
waitsecond(2)
$actionParamInput = "2_1_1_3_1_Picture_Auto"
Zoom_In 1
waitsecond(2)
$actionParamInput = "2_1_1_3_2_Picture_Auto"
Zoom_Out 1
waitsecond(2)
$actionParamInput = "2_1_1_4_1_Picture_Auto"
Check_Wide_View 1
waitsecond(2)
$actionParamInput = "2_1_1_4_2_Picture_Auto"
Check_Wide_View 1
waitsecond(2)
$actionParamInput = "2_1_1_5_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_6_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_7_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_8_Picture_Auto"
Change_Film_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_9_1_Picture_Auto"
Camera_Roll_On 1
waitsecond(2)
$actionParamInput = "2_1_1_9_2_Picture_Auto"
Camera_Roll_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_10_Picture_Auto"
HDR_Auto 1
waitsecond(2)
$actionParamInput = "2_1_1_11_Picture_Auto"
HDR_On 1
waitsecond(2)
$actionParamInput = "2_1_1_12_Picture_Auto"
HDR_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_13_Picture_Auto"
Timer_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_14_Picture_Auto"
Timer_3sec 1
waitsecond(2)
$actionParamInput = "2_1_1_15_Picture_Auto"
Timer_10sec 1
waitsecond(2)
$actionParamInput = "2_1_1_16_Picture_Auto"
Voice_Shutter 1
waitsecond(2)
$actionParamInput = "2_1_1_17_Picture_Auto"
Tracking_Focus 1
waitsecond(2)
$actionParamInput = "2_1_1_18_Picture_Auto"
Tag_Locations 1
waitsecond(2)
$actionParamInput = "2_1_1_19_Picture_Auto"
Grid 1
waitsecond(2)
$actionParamInput = "2_1_1_20_Picture_Auto"
Add_Signature 1
waitsecond(2)
$actionParamInput = "2_1_1_21_Picture_Auto"
Simple_View_Tap 1
waitsecond(2)
$actionParamInput = "2_1_1_22_Picture_Auto"
Simple_View_Volume 1
waitsecond(2)
$actionParamInput = "2_1_1_23_1_Picture_Auto"
Simple_View_Zoom_In 1
waitsecond(2)
$actionParamInput = "2_1_1_23_2_Picture_Auto"
Simple_View_Zoom_Out 1
waitsecond(2)
$actionParamInput = "none"
Wide_View 1
waitsecond(2)
$actionParamInput = "2_1_1_24_Picture_Auto"
Shutter_Button 1
waitsecond(2)
$actionParamInput = "2_1_1_25_Picture_Auto"
Volume_Key 1
waitsecond(2)
$actionParamInput = "2_1_1_26_1_Picture_Auto"
Zoom_In 1
waitsecond(2)
$actionParamInput = "2_1_1_26_2_Picture_Auto"
Zoom_Out 1
waitsecond(2)
$actionParamInput = "2_1_1_27_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_28_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_29_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_30_Picture_Auto"
Change_Film_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_31_1_Picture_Auto"
Camera_Roll_On 1
waitsecond(2)
$actionParamInput = "2_1_1_31_2_Picture_Auto"
Camera_Roll_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_32_Picture_Auto"
HDR_Auto 1
waitsecond(2)
$actionParamInput = "2_1_1_33_Picture_Auto"
HDR_On 1
waitsecond(2)
$actionParamInput = "2_1_1_34_Picture_Auto"
HDR_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_35_Picture_Auto"
Timer_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_36_Picture_Auto"
Timer_3sec 1
waitsecond(2)
$actionParamInput = "2_1_1_37_Picture_Auto"
Timer_10sec 1
waitsecond(2)
$actionParamInput = "2_1_1_38_Picture_Auto"
Voice_Shutter 1
waitsecond(2)
$actionParamInput = "2_1_1_39_Picture_Auto"
Tracking_Focus 1
waitsecond(2)
$actionParamInput = "2_1_1_40_Picture_Auto"
Tag_Locations 1
waitsecond(2)
$actionParamInput = "2_1_1_41_Picture_Auto"
Grid 1
waitsecond(2)
$actionParamInput = "2_1_1_42_Picture_Auto"
Add_Signature 1
waitsecond(2)
$actionParamInput = "2_1_1_43_Picture_Auto"
Simple_View_Tap 1
waitsecond(2)
$actionParamInput = "2_1_1_44_Picture_Auto"
Simple_View_Volume 1
waitsecond(2)
$actionParamInput = "2_1_1_45_1_Picture_Auto"
Simple_View_Zoom_In 1
waitsecond(2)
$actionParamInput = "2_1_1_45_2_Picture_Auto"
Simple_View_Zoom_Out 1
waitsecond(2)
$actionParamInput = "none"
Preconditions 1
waitsecond(2)
$actionParamInput = "11 34MP 1836x1836"
Photo_Size 1
waitsecond(2)
$actionParamInput = "none"
Normal_View 1
waitsecond(2)
$actionParamInput = "2_1_1_1_Picture_Auto"
Shutter_Button 1
waitsecond(2)
$actionParamInput = "2_1_1_2_Picture_Auto"
Volume_Key 1
waitsecond(2)
$actionParamInput = "2_1_1_3_1_Picture_Auto"
Zoom_In 1
waitsecond(2)
$actionParamInput = "2_1_1_3_2_Picture_Auto"
Zoom_Out 1
waitsecond(2)
$actionParamInput = "2_1_1_4_1_Picture_Auto"
Check_Wide_View 1
waitsecond(2)
$actionParamInput = "2_1_1_4_2_Picture_Auto"
Check_Wide_View 1
waitsecond(2)
$actionParamInput = "2_1_1_5_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_6_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_7_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_8_Picture_Auto"
Change_Film_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_9_1_Picture_Auto"
Camera_Roll_On 1
waitsecond(2)
$actionParamInput = "2_1_1_9_2_Picture_Auto"
Camera_Roll_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_10_Picture_Auto"
HDR_Auto 1
waitsecond(2)
$actionParamInput = "2_1_1_11_Picture_Auto"
HDR_On 1
waitsecond(2)
$actionParamInput = "2_1_1_12_Picture_Auto"
HDR_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_13_Picture_Auto"
Timer_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_14_Picture_Auto"
Timer_3sec 1
waitsecond(2)
$actionParamInput = "2_1_1_15_Picture_Auto"
Timer_10sec 1
waitsecond(2)
$actionParamInput = "2_1_1_16_Picture_Auto"
Voice_Shutter 1
waitsecond(2)
$actionParamInput = "2_1_1_17_Picture_Auto"
Tracking_Focus 1
waitsecond(2)
$actionParamInput = "2_1_1_18_Picture_Auto"
Tag_Locations 1
waitsecond(2)
$actionParamInput = "2_1_1_19_Picture_Auto"
Grid 1
waitsecond(2)
$actionParamInput = "2_1_1_20_Picture_Auto"
Add_Signature 1
waitsecond(2)
$actionParamInput = "2_1_1_21_Picture_Auto"
Simple_View_Tap 1
waitsecond(2)
$actionParamInput = "2_1_1_22_Picture_Auto"
Simple_View_Volume 1
waitsecond(2)
$actionParamInput = "2_1_1_23_1_Picture_Auto"
Simple_View_Zoom_In 1
waitsecond(2)
$actionParamInput = "2_1_1_23_2_Picture_Auto"
Simple_View_Zoom_Out 1
waitsecond(2)
$actionParamInput = "none"
Wide_View 1
waitsecond(2)
$actionParamInput = "2_1_1_24_Picture_Auto"
Shutter_Button 1
waitsecond(2)
$actionParamInput = "2_1_1_25_Picture_Auto"
Volume_Key 1
waitsecond(2)
$actionParamInput = "2_1_1_26_1_Picture_Auto"
Zoom_In 1
waitsecond(2)
$actionParamInput = "2_1_1_26_2_Picture_Auto"
Zoom_Out 1
waitsecond(2)
$actionParamInput = "2_1_1_27_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_28_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_29_Picture_Auto"
Toggle_Flash_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_30_Picture_Auto"
Change_Film_Back 1
waitsecond(2)
$actionParamInput = "2_1_1_31_1_Picture_Auto"
Camera_Roll_On 1
waitsecond(2)
$actionParamInput = "2_1_1_31_2_Picture_Auto"
Camera_Roll_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_32_Picture_Auto"
HDR_Auto 1
waitsecond(2)
$actionParamInput = "2_1_1_33_Picture_Auto"
HDR_On 1
waitsecond(2)
$actionParamInput = "2_1_1_34_Picture_Auto"
HDR_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_35_Picture_Auto"
Timer_Off 1
waitsecond(2)
$actionParamInput = "2_1_1_36_Picture_Auto"
Timer_3sec 1
waitsecond(2)
$actionParamInput = "2_1_1_37_Picture_Auto"
Timer_10sec 1
waitsecond(2)
$actionParamInput = "2_1_1_38_Picture_Auto"
Voice_Shutter 1
waitsecond(2)
$actionParamInput = "2_1_1_39_Picture_Auto"
Tracking_Focus 1
waitsecond(2)
$actionParamInput = "2_1_1_40_Picture_Auto"
Tag_Locations 1
waitsecond(2)
$actionParamInput = "2_1_1_41_Picture_Auto"
Grid 1
waitsecond(2)
$actionParamInput = "2_1_1_42_Picture_Auto"
Add_Signature 1
waitsecond(2)
$actionParamInput = "2_1_1_43_Picture_Auto"
Simple_View_Tap 1
waitsecond(2)
$actionParamInput = "2_1_1_44_Picture_Auto"
Simple_View_Volume 1
waitsecond(2)
$actionParamInput = "2_1_1_45_1_Picture_Auto"
Simple_View_Zoom_In 1
waitsecond(2)
$actionParamInput = "2_1_1_45_2_Picture_Auto"
Simple_View_Zoom_Out 1
waitsecond(2)
$actionParamInput = "none"
Preconditions_Front 1
waitsecond(2)
$actionParamInput = "43 50MP 2560x1920"
Photo_Size 1
waitsecond(2)
$actionParamInput = "none"
Normal_View 1
waitsecond(2)
$actionParamInput = "2_1_2_1_Picture_Auto"
Shutter_Button 1
waitsecond(2)
$actionParamInput = "2_1_2_2_Picture_Auto"
Volume_Key 1
waitsecond(2)
$actionParamInput = "2_1_2_3_Picture_Auto"
Brightness 1
waitsecond(2)
$actionParamInput = "2_1_2_4_Picture_Auto"
Skin_Tone 1
waitsecond(2)
$actionParamInput = "2_1_2_5_Picture_Auto"
Lighting 1
waitsecond(2)
$actionParamInput = "2_1_2_6_1_Picture_Auto"
Check_Wide_View 1
waitsecond(2)
$actionParamInput = "2_1_2_6_2_Picture_Auto"
Check_Normal_View 1
waitsecond(2)
$actionParamInput = "2_1_2_7_Picture_Auto"
Toggle_Flash_Front 1
waitsecond(2)
$actionParamInput = "2_1_2_8_Picture_Auto"
Toggle_Flash_Front 1
waitsecond(2)
$actionParamInput = "2_1_2_9_Picture_Auto"
Change_Film_Front 1
waitsecond(2)
$actionParamInput = "2_1_2_10_1_Picture_Auto"
Camera_Roll_On 1
waitsecond(2)
$actionParamInput = "2_1_2_10_2_Picture_Auto"
Camera_Roll_Off 1
waitsecond(2)
$actionParamInput = "2_1_2_11_Picture_Auto"
HDR_Auto 1
waitsecond(2)
$actionParamInput = "2_1_2_12_Picture_Auto"
HDR_On 1
waitsecond(2)
$actionParamInput = "2_1_2_13_Picture_Auto"
HDR_Off 1
waitsecond(2)
$actionParamInput = "2_1_2_14_Picture_Auto"
Timer_Off 1
waitsecond(2)
$actionParamInput = "2_1_2_15_Picture_Auto"
Timer_3sec 1
waitsecond(2)
$actionParamInput = "2_1_2_16_Picture_Auto"
Timer_10sec 1
waitsecond(2)
$actionParamInput = "2_1_2_17_Picture_Auto"
Voice_Shutter 1
waitsecond(2)
$actionParamInput = "2_1_2_18_Picture_Auto"
Selfie_Gesture 1
waitsecond(2)
$actionParamInput = "2_1_2_19_Picture_Auto"
Selfie_Gesture2 1
waitsecond(2)
$actionParamInput = "2_1_2_20_Picture_Auto"
Selfie_Auto 1
waitsecond(2)
$actionParamInput = "2_1_2_21_Picture_Auto"
Tag_Locations 1
waitsecond(2)
$actionParamInput = "2_1_2_22_Picture_Auto"
Save_Flipped 1
waitsecond(2)
$actionParamInput = "2_1_2_23_Picture_Auto"
Add_Signature 1
waitsecond(2)
$actionParamInput = "2_1_2_24_Picture_Auto"
Simple_View_Tap 1
waitsecond(2)
$actionParamInput = "2_1_2_25_Picture_Auto"
Simple_View_Volume 1
waitsecond(2)
$actionParamInput = "2_1_2_26_Picture_Auto"
Simple_View_Gesture 1
waitsecond(2)
$actionParamInput = "2_1_2_27_Picture_Auto"
Simple_View_Gesture2 1
waitsecond(2)
$actionParamInput = "2_1_2_28_Picture_Auto"
Simple_View_Auto 1
waitsecond(2)
$actionParamInput = "none"
Wide_View 1
waitsecond(2)
$actionParamInput = "2_1_2_29_Picture_Auto"
Shutter_Button 1
waitsecond(2)
$actionParamInput = "2_1_2_30_Picture_Auto"
Volume_Key 1
waitsecond(2)
$actionParamInput = "2_1_2_31_Picture_Auto"
Brightness 1
waitsecond(2)
$actionParamInput = "2_1_2_32_Picture_Auto"
Skin_Tone 1
waitsecond(2)
$actionParamInput = "2_1_2_33_Picture_Auto"
Lighting 1
waitsecond(2)
$actionParamInput = "2_1_2_34_Picture_Auto"
Toggle_Flash_Front 1
waitsecond(2)
$actionParamInput = "2_1_2_35_Picture_Auto"
Toggle_Flash_Front 1
waitsecond(2)
$actionParamInput = "2_1_2_36_Picture_Auto"
Change_Film_Front 1
waitsecond(2)
$actionParamInput = "2_1_2_37_1_Picture_Auto"
Change_Film_Front 1
waitsecond(2)
$actionParamInput = "2_1_2_37_2_Picture_Auto"
Camera_Roll_Off 1
waitsecond(2)
$actionParamInput = "2_1_2_38_Picture_Auto"
HDR_Auto 1
waitsecond(2)
$actionParamInput = "2_1_2_39_Picture_Auto"
HDR_On 1
waitsecond(2)
$actionParamInput = "2_1_2_40_Picture_Auto"
HDR_Off 1
waitsecond(2)
$actionParamInput = "2_1_2_41_Picture_Auto"
Timer_Off 1
waitsecond(2)
$actionParamInput = "2_1_2_42_Picture_Auto"
Timer_3sec 1
waitsecond(2)
$actionParamInput = "2_1_2_43_Picture_Auto"
Timer_10sec 1
waitsecond(2)
$actionParamInput = "2_1_2_44_Picture_Auto"
Voice_Shutter 1
waitsecond(2)
$actionParamInput = "2_1_2_45_Picture_Auto"
Selfie_Gesture 1
waitsecond(2)
$actionParamInput = "2_1_2_46_Picture_Auto"
Selfie_Gesture2 1
waitsecond(2)
$actionParamInput = "2_1_2_47_Picture_Auto"
Selfie_Auto 1
waitsecond(2)
$actionParamInput = "2_1_2_48_Picture_Auto"
Tag_Locations 1
waitsecond(2)
$actionParamInput = "2_1_2_49_Picture_Auto"
Save_Flipped 1
waitsecond(2)
$actionParamInput = "2_1_2_50_Picture_Auto"
Add_Signature 1
waitsecond(2)
$actionParamInput = "2_1_2_51_Picture_Auto"
Simple_View_Tap 1
waitsecond(2)
$actionParamInput = "2_1_2_52_Picture_Auto"
Simple_View_Volume 1
waitsecond(2)
$actionParamInput = "2_1_2_53_Picture_Auto"
Simple_View_Gesture 1
waitsecond(2)
$actionParamInput = "2_1_2_54_Picture_Auto"
Simple_View_Gesture2 1
waitsecond(2)
$actionParamInput = "2_1_2_55_Picture_Auto"
Simple_View_Auto 1
waitsecond(2)
$actionParamInput = "none"
Preconditions_Front 1
waitsecond(2)
$actionParamInput = "169 37MP 2560x1440"
Photo_Size 1
waitsecond(2)
$actionParamInput = "none"
Normal_View 1
waitsecond(2)
$actionParamInput = "2_1_2_1_Picture_Auto"
Shutter_Button 1
waitsecond(2)
$actionParamInput = "2_1_2_2_Picture_Auto"
Volume_Key 1
waitsecond(2)
$actionParamInput = "2_1_2_3_Picture_Auto"
Brightness 1
waitsecond(2)
$actionParamInput = "2_1_2_4_Picture_Auto"
Skin_Tone 1
waitsecond(2)
$actionParamInput = "2_1_2_5_Picture_Auto"
Lighting 1
waitsecond(2)
$actionParamInput = "2_1_2_6_1_Picture_Auto"
Check_Wide_View 1
waitsecond(2)
$actionParamInput = "2_1_2_6_2_Picture_Auto"
Check_Normal_View 1
waitsecond(2)
$actionParamInput = "2_1_2_7_Picture_Auto"
Toggle_Flash_Front 1
waitsecond(2)
$actionParamInput = "2_1_2_8_Picture_Auto"
Toggle_Flash_Front 1
waitsecond(2)
$actionParamInput = "2_1_2_9_Picture_Auto"
Change_Film_Front 1
waitsecond(2)
$actionParamInput = "2_1_2_10_1_Picture_Auto"
Camera_Roll_On 1
waitsecond(2)
$actionParamInput = "2_1_2_10_2_Picture_Auto"
Camera_Roll_Off 1
waitsecond(2)
$actionParamInput = "2_1_2_11_Picture_Auto"
HDR_Auto 1
waitsecond(2)
$actionParamInput = "2_1_2_12_Picture_Auto"
HDR_On 1
waitsecond(2)
$actionParamInput = "2_1_2_13_Picture_Auto"
HDR_Off 1
waitsecond(2)
$actionParamInput = "2_1_2_14_Picture_Auto"
Timer_Off 1
waitsecond(2)
$actionParamInput = "2_1_2_15_Picture_Auto"
Timer_3sec 1
waitsecond(2)
$actionParamInput = "2_1_2_16_Picture_Auto"
Timer_10sec 1
waitsecond(2)
$actionParamInput = "2_1_2_17_Picture_Auto"
Voice_Shutter 1
waitsecond(2)
$actionParamInput = "2_1_2_18_Picture_Auto"
Selfie_Gesture 1
waitsecond(2)
$actionParamInput = "2_1_2_19_Picture_Auto"
Selfie_Gesture2 1
waitsecond(2)
$actionParamInput = "2_1_2_20_Picture_Auto"
Selfie_Auto 1
waitsecond(2)
$actionParamInput = "2_1_2_21_Picture_Auto"
Tag_Locations 1
waitsecond(2)
$actionParamInput = "2_1_2_22_Picture_Auto"
Save_Flipped 1
waitsecond(2)
$actionParamInput = "2_1_2_23_Picture_Auto"
Add_Signature 1
waitsecond(2)
$actionParamInput = "2_1_2_24_Picture_Auto"
Simple_View_Tap 1
waitsecond(2)
$actionParamInput = "2_1_2_25_Picture_Auto"
Simple_View_Volume 1
waitsecond(2)
$actionParamInput = "2_1_2_26_Picture_Auto"
Simple_View_Gesture 1
waitsecond(2)
$actionParamInput = "2_1_2_27_Picture_Auto"
Simple_View_Gesture2 1
waitsecond(2)
$actionParamInput = "2_1_2_28_Picture_Auto"
Simple_View_Auto 1
waitsecond(2)
$actionParamInput = "none"
Wide_View 1
waitsecond(2)
$actionParamInput = "2_1_2_29_Picture_Auto"
Shutter_Button 1
waitsecond(2)
$actionParamInput = "2_1_2_30_Picture_Auto"
Volume_Key 1
waitsecond(2)
$actionParamInput = "2_1_2_31_Picture_Auto"
Brightness 1
waitsecond(2)
$actionParamInput = "2_1_2_32_Picture_Auto"
Skin_Tone 1
waitsecond(2)
$actionParamInput = "2_1_2_33_Picture_Auto"
Lighting 1
waitsecond(2)
$actionParamInput = "2_1_2_34_Picture_Auto"
Toggle_Flash_Front 1
waitsecond(2)
$actionParamInput = "2_1_2_35_Picture_Auto"
Toggle_Flash_Front 1
waitsecond(2)
$actionParamInput = "2_1_2_36_Picture_Auto"
Change_Film_Front 1
waitsecond(2)
$actionParamInput = "2_1_2_37_1_Picture_Auto"
Change_Film_Front 1
waitsecond(2)
$actionParamInput = "2_1_2_37_2_Picture_Auto"
Camera_Roll_Off 1
waitsecond(2)
$actionParamInput = "2_1_2_38_Picture_Auto"
HDR_Auto 1
waitsecond(2)
$actionParamInput = "2_1_2_39_Picture_Auto"
HDR_On 1
waitsecond(2)
$actionParamInput = "2_1_2_40_Picture_Auto"
HDR_Off 1
waitsecond(2)
$actionParamInput = "2_1_2_41_Picture_Auto"
Timer_Off 1
waitsecond(2)
$actionParamInput = "2_1_2_42_Picture_Auto"
Timer_3sec 1
waitsecond(2)
$actionParamInput = "2_1_2_43_Picture_Auto"
Timer_10sec 1
waitsecond(2)
$actionParamInput = "2_1_2_44_Picture_Auto"
Voice_Shutter 1
waitsecond(2)
$actionParamInput = "2_1_2_45_Picture_Auto"
Selfie_Gesture 1
waitsecond(2)
$actionParamInput = "2_1_2_46_Picture_Auto"
Selfie_Gesture2 1
waitsecond(2)
$actionParamInput = "2_1_2_47_Picture_Auto"
Selfie_Auto 1
waitsecond(2)
$actionParamInput = "2_1_2_48_Picture_Auto"
Tag_Locations 1
waitsecond(2)
$actionParamInput = "2_1_2_49_Picture_Auto"
Save_Flipped 1
waitsecond(2)
$actionParamInput = "2_1_2_50_Picture_Auto"
Add_Signature 1
waitsecond(2)
$actionParamInput = "2_1_2_51_Picture_Auto"
Simple_View_Tap 1
waitsecond(2)
$actionParamInput = "2_1_2_52_Picture_Auto"
Simple_View_Volume 1
waitsecond(2)
$actionParamInput = "2_1_2_53_Picture_Auto"
Simple_View_Gesture 1
waitsecond(2)
$actionParamInput = "2_1_2_54_Picture_Auto"
Simple_View_Gesture2 1
waitsecond(2)
$actionParamInput = "2_1_2_55_Picture_Auto"
Simple_View_Auto 1
waitsecond(2)
$actionParamInput = "none"
Preconditions_Front 1
waitsecond(2)
$actionParamInput = "189 33MP 2560x1280"
Photo_Size 1
waitsecond(2)
$actionParamInput = "none"
Normal_View 1
waitsecond(2)
$actionParamInput = "2_1_2_1_Picture_Auto"
Shutter_Button 1
waitsecond(2)
$actionParamInput = "2_1_2_2_Picture_Auto"
Volume_Key 1
waitsecond(2)
$actionParamInput = "2_1_2_3_Picture_Auto"
Brightness 1
waitsecond(2)
$actionParamInput = "2_1_2_4_Picture_Auto"
Skin_Tone 1
waitsecond(2)
$actionParamInput = "2_1_2_5_Picture_Auto"
Lighting 1
waitsecond(2)
$actionParamInput = "2_1_2_6_1_Picture_Auto"
Check_Wide_View 1
waitsecond(2)
$actionParamInput = "2_1_2_6_2_Picture_Auto"
Check_Normal_View 1
waitsecond(2)
$actionParamInput = "2_1_2_7_Picture_Auto"
Toggle_Flash_Front 1
waitsecond(2)
$actionParamInput = "2_1_2_8_Picture_Auto"
Toggle_Flash_Front 1
waitsecond(2)
$actionParamInput = "2_1_2_9_Picture_Auto"
Change_Film_Front 1
waitsecond(2)
$actionParamInput = "2_1_2_10_1_Picture_Auto"
Camera_Roll_On 1
waitsecond(2)
$actionParamInput = "2_1_2_10_2_Picture_Auto"
Camera_Roll_Off 1
waitsecond(2)
$actionParamInput = "2_1_2_11_Picture_Auto"
HDR_Auto 1
waitsecond(2)
$actionParamInput = "2_1_2_12_Picture_Auto"
HDR_On 1
waitsecond(2)
$actionParamInput = "2_1_2_13_Picture_Auto"
HDR_Off 1
waitsecond(2)
$actionParamInput = "2_1_2_14_Picture_Auto"
Timer_Off 1
waitsecond(2)
$actionParamInput = "2_1_2_15_Picture_Auto"
Timer_3sec 1
waitsecond(2)
$actionParamInput = "2_1_2_16_Picture_Auto"
Timer_10sec 1
waitsecond(2)
$actionParamInput = "2_1_2_17_Picture_Auto"
Voice_Shutter 1
waitsecond(2)
$actionParamInput = "2_1_2_18_Picture_Auto"
Selfie_Gesture 1
waitsecond(2)
$actionParamInput = "2_1_2_19_Picture_Auto"
Selfie_Gesture2 1
waitsecond(2)
$actionParamInput = "2_1_2_20_Picture_Auto"
Selfie_Auto 1
waitsecond(2)
$actionParamInput = "2_1_2_21_Picture_Auto"
Tag_Locations 1
waitsecond(2)
$actionParamInput = "2_1_2_22_Picture_Auto"
Save_Flipped 1
waitsecond(2)
$actionParamInput = "2_1_2_23_Picture_Auto"
Add_Signature 1
waitsecond(2)
$actionParamInput = "2_1_2_24_Picture_Auto"
Simple_View_Tap 1
waitsecond(2)
$actionParamInput = "2_1_2_25_Picture_Auto"
Simple_View_Volume 1
waitsecond(2)
$actionParamInput = "2_1_2_26_Picture_Auto"
Simple_View_Gesture 1
waitsecond(2)
$actionParamInput = "2_1_2_27_Picture_Auto"
Simple_View_Gesture2 1
waitsecond(2)
$actionParamInput = "2_1_2_28_Picture_Auto"
Simple_View_Auto 1
waitsecond(2)
$actionParamInput = "none"
Wide_View 1
waitsecond(2)
$actionParamInput = "2_1_2_29_Picture_Auto"
Shutter_Button 1
waitsecond(2)
$actionParamInput = "2_1_2_30_Picture_Auto"
Volume_Key 1
waitsecond(2)
$actionParamInput = "2_1_2_31_Picture_Auto"
Brightness 1
waitsecond(2)
$actionParamInput = "2_1_2_32_Picture_Auto"
Skin_Tone 1
waitsecond(2)
$actionParamInput = "2_1_2_33_Picture_Auto"
Lighting 1
waitsecond(2)
$actionParamInput = "2_1_2_34_Picture_Auto"
Toggle_Flash_Front 1
waitsecond(2)
$actionParamInput = "2_1_2_35_Picture_Auto"
Toggle_Flash_Front 1
waitsecond(2)
$actionParamInput = "2_1_2_36_Picture_Auto"
Change_Film_Front 1
waitsecond(2)
$actionParamInput = "2_1_2_37_1_Picture_Auto"
Change_Film_Front 1
waitsecond(2)
$actionParamInput = "2_1_2_37_2_Picture_Auto"
Camera_Roll_Off 1
waitsecond(2)
$actionParamInput = "2_1_2_38_Picture_Auto"
HDR_Auto 1
waitsecond(2)
$actionParamInput = "2_1_2_39_Picture_Auto"
HDR_On 1
waitsecond(2)
$actionParamInput = "2_1_2_40_Picture_Auto"
HDR_Off 1
waitsecond(2)
$actionParamInput = "2_1_2_41_Picture_Auto"
Timer_Off 1
waitsecond(2)
$actionParamInput = "2_1_2_42_Picture_Auto"
Timer_3sec 1
waitsecond(2)
$actionParamInput = "2_1_2_43_Picture_Auto"
Timer_10sec 1
waitsecond(2)
$actionParamInput = "2_1_2_44_Picture_Auto"
Voice_Shutter 1
waitsecond(2)
$actionParamInput = "2_1_2_45_Picture_Auto"
Selfie_Gesture 1
waitsecond(2)
$actionParamInput = "2_1_2_46_Picture_Auto"
Selfie_Gesture2 1
waitsecond(2)
$actionParamInput = "2_1_2_47_Picture_Auto"
Selfie_Auto 1
waitsecond(2)
$actionParamInput = "2_1_2_48_Picture_Auto"
Tag_Locations 1
waitsecond(2)
$actionParamInput = "2_1_2_49_Picture_Auto"
Save_Flipped 1
waitsecond(2)
$actionParamInput = "2_1_2_50_Picture_Auto"
Add_Signature 1
waitsecond(2)
$actionParamInput = "2_1_2_51_Picture_Auto"
Simple_View_Tap 1
waitsecond(2)
$actionParamInput = "2_1_2_52_Picture_Auto"
Simple_View_Volume 1
waitsecond(2)
$actionParamInput = "2_1_2_53_Picture_Auto"
Simple_View_Gesture 1
waitsecond(2)
$actionParamInput = "2_1_2_54_Picture_Auto"
Simple_View_Gesture2 1
waitsecond(2)
$actionParamInput = "2_1_2_55_Picture_Auto"
Simple_View_Auto 1
waitsecond(2)
$actionParamInput = "none"
Preconditions_Front 1
waitsecond(2)
$actionParamInput = "11 37MP 1920x1920"
Photo_Size 1
waitsecond(2)
$actionParamInput = "none"
Normal_View 1
waitsecond(2)
$actionParamInput = "2_1_2_1_Picture_Auto"
Shutter_Button 1
waitsecond(2)
$actionParamInput = "2_1_2_2_Picture_Auto"
Volume_Key 1
waitsecond(2)
$actionParamInput = "2_1_2_3_Picture_Auto"
Brightness 1
waitsecond(2)
$actionParamInput = "2_1_2_4_Picture_Auto"
Skin_Tone 1
waitsecond(2)
$actionParamInput = "2_1_2_5_Picture_Auto"
Lighting 1
waitsecond(2)
$actionParamInput = "2_1_2_6_1_Picture_Auto"
Check_Wide_View 1
waitsecond(2)
$actionParamInput = "2_1_2_6_2_Picture_Auto"
Check_Normal_View 1
waitsecond(2)
$actionParamInput = "2_1_2_7_Picture_Auto"
Toggle_Flash_Front 1
waitsecond(2)
$actionParamInput = "2_1_2_8_Picture_Auto"
Toggle_Flash_Front 1
waitsecond(2)
$actionParamInput = "2_1_2_9_Picture_Auto"
Change_Film_Front 1
waitsecond(2)
$actionParamInput = "2_1_2_10_1_Picture_Auto"
Camera_Roll_On 1
waitsecond(2)
$actionParamInput = "2_1_2_10_2_Picture_Auto"
Camera_Roll_Off 1
waitsecond(2)
$actionParamInput = "2_1_2_11_Picture_Auto"
HDR_Auto 1
waitsecond(2)
$actionParamInput = "2_1_2_12_Picture_Auto"
HDR_On 1
waitsecond(2)
$actionParamInput = "2_1_2_13_Picture_Auto"
HDR_Off 1
waitsecond(2)
$actionParamInput = "2_1_2_14_Picture_Auto"
Timer_Off 1
waitsecond(2)
$actionParamInput = "2_1_2_15_Picture_Auto"
Timer_3sec 1
waitsecond(2)
$actionParamInput = "2_1_2_16_Picture_Auto"
Timer_10sec 1
waitsecond(2)
$actionParamInput = "2_1_2_17_Picture_Auto"
Voice_Shutter 1
waitsecond(2)
$actionParamInput = "2_1_2_18_Picture_Auto"
Selfie_Gesture 1
waitsecond(2)
$actionParamInput = "2_1_2_19_Picture_Auto"
Selfie_Gesture2 1
waitsecond(2)
$actionParamInput = "2_1_2_20_Picture_Auto"
Selfie_Auto 1
waitsecond(2)
$actionParamInput = "2_1_2_21_Picture_Auto"
Tag_Locations 1
waitsecond(2)
$actionParamInput = "2_1_2_22_Picture_Auto"
Save_Flipped 1
waitsecond(2)
$actionParamInput = "2_1_2_23_Picture_Auto"
Add_Signature 1
waitsecond(2)
$actionParamInput = "2_1_2_24_Picture_Auto"
Simple_View_Tap 1
waitsecond(2)
$actionParamInput = "2_1_2_25_Picture_Auto"
Simple_View_Volume 1
waitsecond(2)
$actionParamInput = "2_1_2_26_Picture_Auto"
Simple_View_Gesture 1
waitsecond(2)
$actionParamInput = "2_1_2_27_Picture_Auto"
Simple_View_Gesture2 1
waitsecond(2)
$actionParamInput = "2_1_2_28_Picture_Auto"
Simple_View_Auto 1
waitsecond(2)
$actionParamInput = "none"
Wide_View 1
waitsecond(2)
$actionParamInput = "2_1_2_29_Picture_Auto"
Shutter_Button 1
waitsecond(2)
$actionParamInput = "2_1_2_30_Picture_Auto"
Volume_Key 1
waitsecond(2)
$actionParamInput = "2_1_2_31_Picture_Auto"
Brightness 1
waitsecond(2)
$actionParamInput = "2_1_2_32_Picture_Auto"
Skin_Tone 1
waitsecond(2)
$actionParamInput = "2_1_2_33_Picture_Auto"
Lighting 1
waitsecond(2)
$actionParamInput = "2_1_2_34_Picture_Auto"
Toggle_Flash_Front 1
waitsecond(2)
$actionParamInput = "2_1_2_35_Picture_Auto"
Toggle_Flash_Front 1
waitsecond(2)
$actionParamInput = "2_1_2_36_Picture_Auto"
Change_Film_Front 1
waitsecond(2)
$actionParamInput = "2_1_2_37_1_Picture_Auto"
Change_Film_Front 1
waitsecond(2)
$actionParamInput = "2_1_2_37_2_Picture_Auto"
Camera_Roll_Off 1
waitsecond(2)
$actionParamInput = "2_1_2_38_Picture_Auto"
HDR_Auto 1
waitsecond(2)
$actionParamInput = "2_1_2_39_Picture_Auto"
HDR_On 1
waitsecond(2)
$actionParamInput = "2_1_2_40_Picture_Auto"
HDR_Off 1
waitsecond(2)
$actionParamInput = "2_1_2_41_Picture_Auto"
Timer_Off 1
waitsecond(2)
$actionParamInput = "2_1_2_42_Picture_Auto"
Timer_3sec 1
waitsecond(2)
$actionParamInput = "2_1_2_43_Picture_Auto"
Timer_10sec 1
waitsecond(2)
$actionParamInput = "2_1_2_44_Picture_Auto"
Voice_Shutter 1
waitsecond(2)
$actionParamInput = "2_1_2_45_Picture_Auto"
Selfie_Gesture 1
waitsecond(2)
$actionParamInput = "2_1_2_46_Picture_Auto"
Selfie_Gesture2 1
waitsecond(2)
$actionParamInput = "2_1_2_47_Picture_Auto"
Selfie_Auto 1
waitsecond(2)
$actionParamInput = "2_1_2_48_Picture_Auto"
Tag_Locations 1
waitsecond(2)
$actionParamInput = "2_1_2_49_Picture_Auto"
Save_Flipped 1
waitsecond(2)
$actionParamInput = "2_1_2_50_Picture_Auto"
Add_Signature 1
waitsecond(2)
$actionParamInput = "2_1_2_51_Picture_Auto"
Simple_View_Tap 1
waitsecond(2)
$actionParamInput = "2_1_2_52_Picture_Auto"
Simple_View_Volume 1
waitsecond(2)
$actionParamInput = "2_1_2_53_Picture_Auto"
Simple_View_Gesture 1
waitsecond(2)
$actionParamInput = "2_1_2_54_Picture_Auto"
Simple_View_Gesture2 1
waitsecond(2)
$actionParamInput = "2_1_2_55_Picture_Auto"
Simple_View_Auto 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.Simple_View_Zoom_In(loopTime)
tcase = TestCase.new("Simple_View_Zoom_In")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
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(:Simple_View_Enter) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -1638459757).with('textdescid', -1395718599).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 35)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Simple view')
.with('text', 'Simple view')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Zoom_In) do
zoomIn
zoomIn
zoomIn
zoomIn
zoomIn
zoomIn
zoomIn
zoomIn
zoomIn
zoomIn
waitsecond(2)
end
tcase << TestAction.new(:Simple_View_Picture) do
pressVolumeKeyDown
waitsecond(3)
end
tcase << TestAction.new(:Simple_View_Exit) do
$ruiObj = RUIObject.new.with('objectid', 1601410951).with('selfid', 2479282).with('textdescid', -1209880514).with('uniqueparentid', 0)
.with('uitreeindex', 3)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_clean_view_off')
.with('content-desc', 'View')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Simple_View_Zoom_Out(loopTime)
tcase = TestCase.new("Simple_View_Zoom_Out")
tcase << TestAction.new(:LogStart) do
logStartTest($actionParamInput)
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(:Simple_View_Enter) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -1638459757).with('textdescid', -1395718599).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 35)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Simple view')
.with('text', 'Simple view')
$ruiObj.click
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(:Simple_View_Picture) do
pressVolumeKeyDown
waitsecond(3)
end
tcase << TestAction.new(:Simple_View_Exit) do
$ruiObj = RUIObject.new.with('objectid', 1601410951).with('selfid', 2479282).with('textdescid', -1209880514).with('uniqueparentid', 0)
.with('uitreeindex', 3)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_clean_view_off')
.with('content-desc', 'View')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest($actionParamInput)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.exception_handler
puts "Module Exception Hanlder..."
end
def self.run(loop)
mainLoop loop
end
end
$exceptionPackageNameList = []
$exceptionPackageNameList_exclude = []
def exception_handler
Picture_Auto_2_1.exception_handler
end
$curProjectLogFile = $useLastLogFile
$curProjectLogFile = "Picture_Auto_2_1_#{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