Skip to content

Instantly share code, notes, and snippets.

@camerasanitytest
Created May 5, 2017 16:21
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/27dcbde29eff0f35756b698166ea083b to your computer and use it in GitHub Desktop.
Save camerasanitytest/27dcbde29eff0f35756b698166ea083b to your computer and use it in GitHub Desktop.
Video_Manual_2_4_RubyRunGenerated
loadTestDB
module Video_Manual_2_4
def self.ChangeToWideView(loopTime)
tcase = TestCase.new("ChangeToWideView")
tcase << TestAction.new(:ChangeToWideView) do
$ruiObj = RUIObject.new.with('objectid', -355772886).with('selfid', -1759883529).with('textdescid', -2115781374).with('uniqueparentid', 0)
.with('uitreeindex', 26)
.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(:Makesureitiswideview) do
$ruiObj = RUIObject.new.with('objectid', -355772886).with('selfid', -1759883529).with('textdescid', -2115781374).with('uniqueparentid', 0)
.with('uitreeindex', 26)
.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(:waitsecond2) do
waitsecond(2)
end
tcase.run(loopTime)
end
def self.FHD1920_1080(loopTime)
tcase = TestCase.new("FHD1920_1080")
tcase << TestAction.new(:GoToSetting) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 16)
.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(:VideoResolution) do
$ruiObj = RUIObject.new.with('objectid', 131560620).with('selfid', -655177368).with('textdescid', -250869121).with('uniqueparentid', 0).with('classresourceid', 90511853)
.with('uitreeindex', 27)
.with('pretext', 'Timer')
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/current_setting_value_text')
.with('content-desc', 'FHD 16:9 1920x1080')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:clickXY_1161_8145_2) do
click(1161,814.5)
waitsecond(2)
end
tcase << TestAction.new(:BackToCamera) do
$ruiObj = RUIObject.new.with('objectid', -1549616416).with('selfid', -767978611).with('textdescid', -793468608).with('uniqueparentid', 0)
.with('uitreeindex', 41)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/back_button')
$ruiObj.click
waitsecond(2)
end
tcase.run(loopTime)
end
def self.FHD2160_1080(loopTime)
tcase = TestCase.new("FHD2160_1080")
tcase << TestAction.new(:GoToSetting) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 16)
.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(:VideoResolution) do
$ruiObj = RUIObject.new.with('objectid', 131560620).with('selfid', -655177368).with('textdescid', -250869121).with('uniqueparentid', 0).with('classresourceid', 90511853)
.with('uitreeindex', 27)
.with('pretext', 'Timer')
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/current_setting_value_text')
.with('content-desc', 'FHD 16:9 1920x1080')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:CLICK2160_1080) do
click(1179,1282.5)
waitsecond(2)
end
tcase << TestAction.new(:BackToCamera) do
$ruiObj = RUIObject.new.with('objectid', -1549616416).with('selfid', -767978611).with('textdescid', -793468608).with('uniqueparentid', 0)
.with('uitreeindex', 41)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/back_button')
$ruiObj.click
waitsecond(2)
end
tcase.run(loopTime)
end
def self.FHD2560_1080(loopTime)
tcase = TestCase.new("FHD2560_1080")
tcase << TestAction.new(:GoToSetting) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 16)
.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(:VideoResolution) do
$ruiObj = RUIObject.new.with('objectid', 131560620).with('selfid', -655177368).with('textdescid', -250869121).with('uniqueparentid', 0).with('classresourceid', 90511853)
.with('uitreeindex', 27)
.with('pretext', 'Timer')
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/current_setting_value_text')
.with('content-desc', 'FHD 16:9 1920x1080')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:CLICKFHD2560_1080) do
click(1156.5,1062)
waitsecond(2)
end
tcase << TestAction.new(:BackToCamera) do
$ruiObj = RUIObject.new.with('objectid', -1549616416).with('selfid', -767978611).with('textdescid', -793468608).with('uniqueparentid', 0)
.with('uitreeindex', 41)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/back_button')
$ruiObj.click
waitsecond(2)
end
tcase.run(loopTime)
end
def self.HD1280_720(loopTime)
tcase = TestCase.new("HD1280_720")
tcase << TestAction.new(:GoToSetting) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 16)
.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(:VideoResolution) do
$ruiObj = RUIObject.new.with('objectid', 131560620).with('selfid', -655177368).with('textdescid', -250869121).with('uniqueparentid', 0).with('classresourceid', 90511853)
.with('uitreeindex', 27)
.with('pretext', 'Timer')
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/current_setting_value_text')
.with('content-desc', 'FHD 16:9 1920x1080')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:CLICK1280_720) do
click(1188,1507.5)
waitsecond(2)
end
tcase << TestAction.new(:BackToCamera) do
$ruiObj = RUIObject.new.with('objectid', -1549616416).with('selfid', -767978611).with('textdescid', -793468608).with('uniqueparentid', 0)
.with('uitreeindex', 41)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/back_button')
$ruiObj.click
waitsecond(2)
end
tcase.run(loopTime)
end
def self.HD1440_720(loopTime)
tcase = TestCase.new("HD1440_720")
tcase << TestAction.new(:gotosetting) 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(:ClickVideoResolution) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 48019021).with('textdescid', 2046901823).with('uniqueparentid', 0).with('classresourceid', -1956269507)
.with('uitreeindex', 26)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Video resolution')
.with('text', 'Video resolution')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:swipedown) do
swipe(1026,1737,1035,1156.5,100)
waitsecond(2)
end
tcase << TestAction.new(:click1440_720) do
click(1161,1800)
waitsecond(2)
end
tcase << TestAction.new(:BacktoCamera) do
pressBack
waitsecond(2)
end
tcase.run(loopTime)
end
def self.HD1680_720(loopTime)
tcase = TestCase.new("HD1680_720")
tcase << TestAction.new(:GoToSetting) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 16)
.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(:VideoResolution) do
$ruiObj = RUIObject.new.with('objectid', 131560620).with('selfid', -655177368).with('textdescid', -250869121).with('uniqueparentid', 0).with('classresourceid', 90511853)
.with('uitreeindex', 27)
.with('pretext', 'Timer')
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/current_setting_value_text')
.with('content-desc', 'FHD 16:9 1920x1080')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:CLICK1680_720) do
click(1188,1741.5)
waitsecond(2)
end
tcase << TestAction.new(:BackToCamera) do
$ruiObj = RUIObject.new.with('objectid', -1549616416).with('selfid', -767978611).with('textdescid', -793468608).with('uniqueparentid', 0)
.with('uitreeindex', 41)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/back_button')
$ruiObj.click
waitsecond(2)
end
tcase.run(loopTime)
end
def self.OriginalSetting(loopTime)
tcase = TestCase.new("OriginalSetting")
tcase << TestAction.new(:pressHome_2) do
pressHome
waitsecond(2)
end
tcase << TestAction.new(:gotoApp_2) do
gotoApp('Settings')
waitsecond(2)
end
tcase << TestAction.new(:Gotogeneral) 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(:swipeDown_5) do
swipe_vertical 500
waitsecond(2)
end
tcase << TestAction.new(:swipeDown_6) do
swipe_vertical 500
waitsecond(2)
end
tcase << TestAction.new(:ClickApplication) do
$ruiObj = RUIObject.new.with('objectid', -2099539841).with('selfid', -590378381).with('textdescid', -1400202003).with('uniqueparentid', 0).with('classresourceid', 490183159)
.with('uitreeindex', 19)
.with('classname', 'TextView')
.with('resource-id', 'android:id/title')
.with('text', 'Apps')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:SearchForCamera) do
scrollAndSearchText("Camera", speed = 1000)
waitsecond(2)
end
tcase << TestAction.new(:GotoCamera) 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(:Storage) do
$ruiObj = RUIObject.new.with('objectid', -2103271856).with('selfid', -1162414374).with('textdescid', -249377547).with('uniqueparentid', 0).with('classresourceid', 490183159)
.with('uitreeindex', 10)
.with('classname', 'TextView')
.with('resource-id', 'android:id/title')
.with('text', 'Storage')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Cleardata) 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) do
$ruiObj = RUIObject.new.with('objectid', -1004548822).with('selfid', -1318451484).with('textdescid', -405740082).with('uniqueparentid', -1993216232).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(:GoBackHome) do
pressHome
waitsecond(2)
end
tcase << TestAction.new(:Recentapp) do
pressRecentApps
waitsecond(2)
end
tcase << TestAction.new(:Clearall) do
$ruiObj = RUIObject.new.with('objectid', -213794734).with('selfid', -204985471).with('textdescid', 1763854688).with('uniqueparentid', 0)
.with('uitreeindex', 5)
.with('classname', 'TextView')
.with('resource-id', 'com.android.systemui:id/button')
.with('text', 'CLEAR ALL')
$ruiObj.click
waitsecond(2)
end
tcase.run(loopTime)
end
def self.PassFailAPI(loopTime)
tcase = TestCase.new("PassFailAPI")
tcase << TestAction.new(:scriptAction_1) do
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').click
#gotogallery
waitsecond(2)
RUIObject.new.with('objectid', -2123601541).with('selfid', -135259702).with('textdescid', 357252685).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageView')
.with('resource-id', 'com.lge.camera:id/thumbnail')
.with('content-desc', 'Gallery').click
#clickgalleryasdefault
waitsecond(2)
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').click
#clickok
waitsecond(2)
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').click
#clickok
waitsecond(2)
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').click
#clickallowforaccess
waitsecond(2)
$Favorite=RUIObject.new.with('objectid', 1481027516).with('selfid', 1160615955).with('textdescid', 1411750676).with('uniqueparentid', 0)
.with('uitreeindex', 7)
.with('classname', 'TextView')
.with('resource-id', 'com.android.gallery3d:id/action_favorite_star')
.with('content-desc', 'Add favorites')
#savefavoriteterm
waitsecond(1)
logStartTest("Result")
waitsecond(1)
if $Favorite.isExist
$myTestResult = true
else $myTestResult == false
end
logStopTest("Messaging_05_01_02_03")
$Setting = 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')
waitsecond(1)
while $Setting.isNotExist
RUIObject.new.with('objectid', 722824296).with('selfid', 700531896).with('textdescid', 309025048).with('uniqueparentid', 0)
.with('uitreeindex', 3)
.with('classname', 'Button')
.with('resource-id', 'com.android.gallery3d:id/bottom_menu_layer_item4')
.with('content-desc', 'Delete')
.with('text', 'Delete').click
RUIObject.new.with('objectid', 722824297).with('selfid', -296540457).with('textdescid', -201509129).with('uniqueparentid', 0)
.with('uitreeindex', 4)
.with('classname', 'Button')
.with('resource-id', 'com.android.gallery3d:id/bottom_menu_layer_item5')
.with('content-desc', 'Delete')
.with('text', 'Delete').click
end
waitsecond(1)
waitsecond(2)
end
tcase.run(loopTime)
end
def self.UHD3840_2160(loopTime)
tcase = TestCase.new("UHD3840_2160")
tcase << TestAction.new(:GoToSetting) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 16)
.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(:VideoResolution) do
$ruiObj = RUIObject.new.with('objectid', 131560620).with('selfid', -655177368).with('textdescid', -250869121).with('uniqueparentid', 0).with('classresourceid', 90511853)
.with('uitreeindex', 27)
.with('pretext', 'Timer')
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/current_setting_value_text')
.with('content-desc', 'FHD 16:9 1920x1080')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:CLICKUHD3840_2160) do
click(1183.5,612)
waitsecond(2)
end
tcase << TestAction.new(:BackToCamera) do
$ruiObj = RUIObject.new.with('objectid', -1549616416).with('selfid', -767978611).with('textdescid', -793468608).with('uniqueparentid', 0)
.with('uitreeindex', 41)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/back_button')
$ruiObj.click
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_1(loopTime)
tcase = TestCase.new("Video2_4_1")
tcase << TestAction.new(:LogStart) do
logStartTest("2_4_1_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:RecordStart_1) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 23)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.longClick
waitsecond(2)
end
tcase << TestAction.new(:StopRecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkanddelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitsecond) do
waitsecond(2)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_1_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_11(loopTime)
tcase = TestCase.new("Video2_4_11")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_11_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:ClickFocus_1) do
$ruiObj = RUIObject.new.with('objectid', -796423007).with('selfid', -1559473835).with('textdescid', -457114628).with('uniqueparentid', 0)
.with('uitreeindex', 6)
.with('pretext', '17 Mbps')
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/manual_panel_mf')
.with('content-desc', 'Focus, Auto')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Swipe) do
swipe(922.5,2407.5,508.5,2380.5,100)
waitsecond(3)
end
tcase << TestAction.new(:CloseFocus) do
$ruiObj = RUIObject.new.with('objectid', -796423007).with('selfid', -1559473835).with('textdescid', -457114628).with('uniqueparentid', 0)
.with('uitreeindex', 6)
.with('pretext', '17 Mbps')
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/manual_panel_mf')
.with('content-desc', 'Focus, Auto')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StartRecord) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 26)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StopRecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitsecond) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_11_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_12(loopTime)
tcase = TestCase.new("Video2_4_12")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_12_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:ClickEV_1) do
$ruiObj = RUIObject.new.with('objectid', -796423239).with('selfid', 2027793019).with('textdescid', 1593230918).with('uniqueparentid', 0)
.with('uitreeindex', 7)
.with('pretext', '17 Mbps')
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/manual_panel_ev')
.with('content-desc', 'Brightness, 0.0')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:ChangeEVsetting) do
click(414,2389.5)
waitsecond(2)
end
tcase << TestAction.new(:CloseEV) do
$ruiObj = RUIObject.new.with('objectid', -796423239).with('selfid', 2027793019).with('textdescid', 1593230918).with('uniqueparentid', 0)
.with('uitreeindex', 7)
.with('pretext', '17 Mbps')
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/manual_panel_ev')
.with('content-desc', 'Brightness, 0.0')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StartRecording) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StopRecording) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitsecond) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_12_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_14(loopTime)
tcase = TestCase.new("Video2_4_14")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_14_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:ClickShutterSpeed_1) do
$ruiObj = RUIObject.new.with('objectid', -796422808).with('selfid', -1010089203).with('textdescid', 1230382612).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('pretext', '17 Mbps')
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/manual_panel_ss')
.with('content-desc', 'Shutter speed, 1/30Seconds')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:ChangeSsetting) do
click(846,2412)
waitsecond(2)
end
tcase << TestAction.new(:CloseShutterSpeed) do
$ruiObj = RUIObject.new.with('objectid', -796422808).with('selfid', -1010089203).with('textdescid', 1230382612).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('pretext', '17 Mbps')
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/manual_panel_ss')
.with('content-desc', 'Shutter speed, 1/30Seconds')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StartRecording) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StopRecording) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitsecond) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_14_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_17(loopTime)
tcase = TestCase.new("Video2_4_17")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_17_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:ClickSetting_1) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 16)
.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(:FrameRate) do
$ruiObj = RUIObject.new.with('objectid', 131560620).with('selfid', -419551475).with('textdescid', -1563225094).with('uniqueparentid', 0).with('classresourceid', 90511853)
.with('uitreeindex', 16)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/current_setting_value_text')
.with('content-desc', '30 FPS')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Changeto2FPS) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -167296038).with('textdescid', 459960218).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', 'Record a video in high quality sound. Off switch')
.with('text', 'Record a video in high quality sound')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:BacktoCamera) do
$ruiObj = RUIObject.new.with('objectid', -1549616416).with('selfid', -767978611).with('textdescid', -793468608).with('uniqueparentid', 0)
.with('uitreeindex', 41)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/back_button')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StartRecord) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StopRecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:ClickSetting) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 16)
.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(:ClickFrameRate) do
$ruiObj = RUIObject.new.with('objectid', 131560620).with('selfid', -1579818350).with('textdescid', 1825984935).with('uniqueparentid', 0).with('classresourceid', 90511853)
.with('uitreeindex', 30)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/current_setting_value_text')
.with('content-desc', '2 FPS')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:changeto24) do
click(1174.5,1309.5)
waitsecond(2)
end
tcase << TestAction.new(:BacktoCamera) do
$ruiObj = RUIObject.new.with('objectid', -1549616416).with('selfid', -767978611).with('textdescid', -793468608).with('uniqueparentid', 0)
.with('uitreeindex', 41)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/back_button')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:startrecord) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:stoprecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitsecond) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_17_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_18(loopTime)
tcase = TestCase.new("Video2_4_18")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_18_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:GotoSetting_1) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 16)
.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(:ClickBitrate) do
$ruiObj = RUIObject.new.with('objectid', 131560620).with('selfid', -1533036066).with('textdescid', -1721509047).with('uniqueparentid', 0).with('classresourceid', 90511853)
.with('uitreeindex', 33)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/current_setting_value_text')
.with('content-desc', 'Medium')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:ClickHigh) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -167296038).with('textdescid', 459960218).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', 'Record a video in high quality sound. Off switch')
.with('text', 'Record a video in high quality sound')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:BacktoCamera) do
$ruiObj = RUIObject.new.with('objectid', -1549616416).with('selfid', -767978611).with('textdescid', -793468608).with('uniqueparentid', 0)
.with('uitreeindex', 41)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/back_button')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StartRecord) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StopRecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:GotoSetting) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 16)
.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(:ClickBitRate) do
$ruiObj = RUIObject.new.with('objectid', 131560620).with('selfid', 1357036049).with('textdescid', -1182496970).with('uniqueparentid', 0).with('classresourceid', 90511853)
.with('uitreeindex', 19)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/current_setting_value_text')
.with('content-desc', 'High')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:ClickLow) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', 824475326).with('textdescid', -1862512754).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 28)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('content-desc', 'Reduce motion blur in videos Off switch')
.with('text', 'Reduce motion blur in videos')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:BacktoCamera) do
$ruiObj = RUIObject.new.with('objectid', -1549616416).with('selfid', -767978611).with('textdescid', -793468608).with('uniqueparentid', 0)
.with('uitreeindex', 41)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/back_button')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StartRecord) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:stoprecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitsecond) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_18_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_19(loopTime)
tcase = TestCase.new("Video2_4_19")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_19_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:ClickSetting_1) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 16)
.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(:TurnonHiFi) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -1349548728).with('textdescid', -1007774452).with('uniqueparentid', 55853521).with('classresourceid', -1956269507)
.with('uitreeindex', 21)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Hi-Fi')
.with('text', 'HiFi')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:OK) do
$ruiObj = RUIObject.new.with('objectid', 598194823).with('selfid', -2071126929).with('textdescid', 1018748075).with('uniqueparentid', 0)
.with('uitreeindex', 41)
.with('classname', 'Button')
.with('resource-id', 'com.lge.camera:id/ok_button')
.with('text', 'OK')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:BackToCamera) do
$ruiObj = RUIObject.new.with('objectid', -1549616416).with('selfid', -767978611).with('textdescid', -793468608).with('uniqueparentid', 0)
.with('uitreeindex', 39)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/back_button')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:RecordVideo) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:stoprecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitsecond) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_19_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_2(loopTime)
tcase = TestCase.new("Video2_4_2")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_2_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:Pressvolumedown) do
pressVolumeKeyDown
waitsecond(2)
end
tcase << TestAction.new(:stoprecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:waitseconds) do
waitsecond(1)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitsecond) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_2_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_20(loopTime)
tcase = TestCase.new("Video2_4_20")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_20_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:GotoSetting_1) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 16)
.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(:gototimer_1) do
$ruiObj = RUIObject.new.with('objectid', 131560620).with('selfid', -371661090).with('textdescid', -1555793637).with('uniqueparentid', 0).with('classresourceid', 90511853)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/current_setting_value_text')
.with('content-desc', 'Off')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:SetTimerto3sec) do
$ruiObj = RUIObject.new.with('objectid', 131560620).with('selfid', -371661090).with('textdescid', -1555793637).with('uniqueparentid', 0).with('classresourceid', 90511853)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/current_setting_value_text')
.with('content-desc', 'Off')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:backtoCamera) do
$ruiObj = RUIObject.new.with('objectid', -1549616416).with('selfid', -767978611).with('textdescid', -793468608).with('uniqueparentid', 0)
.with('uitreeindex', 41)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/back_button')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StartRecord) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(5)
end
tcase << TestAction.new(:stoprecord) do
$ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
.with('uitreeindex', 22)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
$ruiObj.click
waitsecond(3)
end
tcase << TestAction.new(:ImageButton_ShutterTopCompType_4) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(3)
end
tcase << TestAction.new(:GotoSetting_1_1) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 16)
.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(:gototimer) do
$ruiObj = RUIObject.new.with('objectid', 131560620).with('selfid', -1549827927).with('textdescid', -1539279248).with('uniqueparentid', 0).with('classresourceid', 90511853)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/current_setting_value_text')
.with('content-desc', '3 sec')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Settimerto10sec) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', 824475326).with('textdescid', -1862512754).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 28)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('content-desc', 'Reduce motion blur in videos Off switch')
.with('text', 'Reduce motion blur in videos')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:BacktoCamera) do
$ruiObj = RUIObject.new.with('objectid', -1549616416).with('selfid', -767978611).with('textdescid', -793468608).with('uniqueparentid', 0)
.with('uitreeindex', 41)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/back_button')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StartRecording) do
$ruiObj = RUIObject.new.with('objectid', -1054310016).with('selfid', 808427083).with('textdescid', -59753133).with('uniqueparentid', 0)
.with('uitreeindex', 22)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp')
.with('content-desc', 'Stop recording')
$ruiObj.click
waitsecond(13)
end
tcase << TestAction.new(:stoprecord_2) do
$ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
.with('uitreeindex', 22)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
$ruiObj.click
waitsecond(3)
end
tcase << TestAction.new(:ImageButton_ShutterTopCompType_4_1) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(3)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitsecond) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_20_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_21(loopTime)
tcase = TestCase.new("Video2_4_21")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_21_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:GotoSetting_1) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 16)
.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(:TurnonSteadyRecording) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', 824475326).with('textdescid', -1862512754).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 28)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('content-desc', 'Reduce motion blur in videos Off switch')
.with('text', 'Reduce motion blur in videos')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:BacktoCamera) do
$ruiObj = RUIObject.new.with('objectid', -1549616416).with('selfid', -767978611).with('textdescid', -793468608).with('uniqueparentid', 0)
.with('uitreeindex', 39)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/back_button')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StartRecord) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StopRecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitsecond) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_21_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_22(loopTime)
tcase = TestCase.new("Video2_4_22")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_22_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:ClickSetting_1) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 16)
.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(:TurnonTrackingFocus) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -1090823404).with('textdescid', -2035401096).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 31)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('content-desc', 'Track and maintain focus on a moving object Off switch')
.with('text', 'Track and maintain focus on a moving object')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:BacktoCamera) do
$ruiObj = RUIObject.new.with('objectid', -1549616416).with('selfid', -767978611).with('textdescid', -793468608).with('uniqueparentid', 0)
.with('uitreeindex', 39)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/back_button')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:RecordVideo) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 23)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StopRecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitsecond) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_22_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_23(loopTime)
tcase = TestCase.new("Video2_4_23")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_23_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:GotoSetting_1) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 16)
.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(:TurnonTagLocation) do
$ruiObj = RUIObject.new.with('objectid', -683742256).with('selfid', -1808037368).with('textdescid', 1731452673).with('uniqueparentid', 2111102453).with('classresourceid', -1698211271)
.with('uitreeindex', 48)
.with('classname', 'Switch')
.with('resource-id', 'com.lge.camera:id/setting_switch')
.with('text', 'OFF')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:BacktoCamera) do
$ruiObj = RUIObject.new.with('objectid', -1549616416).with('selfid', -767978611).with('textdescid', -793468608).with('uniqueparentid', 0)
.with('uitreeindex', 39)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/back_button')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StartRecord) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:stoprecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitseconds) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_23_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_24(loopTime)
tcase = TestCase.new("Video2_4_24")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_24_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:GotoSetting_1) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 16)
.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(:TurnonGrid) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 2128769562).with('textdescid', -1368287878).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', 'Grid Off switch')
.with('text', 'Grid')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:BacktoCamera) do
$ruiObj = RUIObject.new.with('objectid', -1549616416).with('selfid', -767978611).with('textdescid', -793468608).with('uniqueparentid', 0)
.with('uitreeindex', 39)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/back_button')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:RecordVideo) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 10)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:stopvideo) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitsecond) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_24_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_25(loopTime)
tcase = TestCase.new("Video2_4_25")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_25_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:ChangetoWideAngle_1) do
$ruiObj = RUIObject.new.with('objectid', -355772886).with('selfid', -1759883529).with('textdescid', -2115781374).with('uniqueparentid', 0)
.with('uitreeindex', 27)
.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(:RecordVideo) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:stoprecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitsecond) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_25_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_26(loopTime)
tcase = TestCase.new("Video2_4_26")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_26_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:ChangetoWideAngle_1) do
$ruiObj = RUIObject.new.with('objectid', -355772886).with('selfid', -1759883529).with('textdescid', -2115781374).with('uniqueparentid', 0)
.with('uitreeindex', 27)
.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(:pressvolumedown) do
pressVolumeKeyDown
waitsecond(2)
end
tcase << TestAction.new(:stoprecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitseconds) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_26_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_27(loopTime)
tcase = TestCase.new("Video2_4_27")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_27_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:Zoomin_1) do
zoomIn
zoomIn
zoomIn
waitsecond(2)
end
tcase << TestAction.new(:ZoomOut) do
zoomOut
zoomOut
zoomOut
waitsecond(2)
end
tcase << TestAction.new(:StartRecording) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:stoprecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitsecond) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_27_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_28(loopTime)
tcase = TestCase.new("Video2_4_28")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_28_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:StartRecording_1) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:zoomin) do
zoomIn
zoomIn
zoomIn
waitsecond(2)
end
tcase << TestAction.new(:zoomout) do
zoomOut
zoomOut
zoomOut
waitsecond(2)
end
tcase << TestAction.new(:stoprecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitseconds) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_28_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_29(loopTime)
tcase = TestCase.new("Video2_4_29")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_29_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:StartRecording_1) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:PauseRecording) do
$ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
.with('uitreeindex', 23)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:ResumeRecording) do
$ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
.with('uitreeindex', 23)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:stoprecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitseconds) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_29_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_3(loopTime)
tcase = TestCase.new("Video2_4_3")
tcase << TestAction.new(:Logstart) do
logStartTest("2_4_3_VideoManual")
waitsecond(0)
end
tcase << TestAction.new(:ZoomIn_1) do
zoomIn
waitsecond(2)
end
tcase << TestAction.new(:ImageButton_ShutterLargeComp_4) do
$ruiObj = RUIObject.new.with('objectid', -1054310016).with('selfid', 1481655151).with('textdescid', 1619942451).with('uniqueparentid', 0)
.with('uitreeindex', 22)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp')
.with('content-desc', 'Start recording')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:stoprecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:zoomOut) do
zoomOut
waitsecond(2)
end
tcase << TestAction.new(:startrecord) do
$ruiObj = RUIObject.new.with('objectid', -1054310016).with('selfid', 1481655151).with('textdescid', 1619942451).with('uniqueparentid', 0)
.with('uitreeindex', 22)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp')
.with('content-desc', 'Start recording')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:stopRecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitsecond) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_3_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_30(loopTime)
tcase = TestCase.new("Video2_4_30")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_30_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:StartRecording_1) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:FlashOn) do
click(94.5,153)
waitsecond(2)
end
tcase << TestAction.new(:stoprecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitseconds) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_30_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_31(loopTime)
tcase = TestCase.new("Video2_4_31")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_31_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:StartRecording_1) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Flashon) do
click(94.5,139.5)
waitsecond(2)
end
tcase << TestAction.new(:FlashOFF) do
click(108,153)
waitsecond(2)
end
tcase << TestAction.new(:StopRecording) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitseconds) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_31_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_32(loopTime)
tcase = TestCase.new("Video2_4_32")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_32_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:ChangeToWideView_1) do
$ruiObj = RUIObject.new.with('objectid', -355772886).with('selfid', -1759883529).with('textdescid', -2115781374).with('uniqueparentid', 0)
.with('uitreeindex', 26)
.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(:ClickMicButton) do
$ruiObj = RUIObject.new.with('objectid', 2134502226).with('selfid', 1877702583).with('textdescid', 1327999192).with('uniqueparentid', 0)
.with('uitreeindex', 4)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/manual_panel_audio')
.with('content-desc', 'Microphone')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:adjust_gain) do
click(486,859.5)
waitsecond(2)
end
tcase << TestAction.new(:adjustLCF) do
click(688.5,1219.5)
waitsecond(2)
end
tcase << TestAction.new(:adjust_LMT) do
click(688.5,1548)
waitsecond(2)
end
tcase << TestAction.new(:adjust_Directivity) do
click(990,1908)
waitsecond(2)
end
tcase << TestAction.new(:CloseMic) do
$ruiObj = RUIObject.new.with('objectid', 2134502226).with('selfid', 1877702583).with('textdescid', 1327999192).with('uniqueparentid', 0)
.with('uitreeindex', 4)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/manual_panel_audio')
.with('content-desc', 'Microphone')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StartRecord) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 32)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StopRecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 32)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitseconds) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_32_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_33(loopTime)
tcase = TestCase.new("Video2_4_33")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_33_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:ChangeToWideView_1) do
$ruiObj = RUIObject.new.with('objectid', -355772886).with('selfid', -1759883529).with('textdescid', -2115781374).with('uniqueparentid', 0)
.with('uitreeindex', 26)
.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(:Click_WB) do
$ruiObj = RUIObject.new.with('objectid', -796422701).with('selfid', -913871014).with('textdescid', 563537595).with('uniqueparentid', 0)
.with('uitreeindex', 5)
.with('pretext', '17 Mbps')
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/manual_panel_wb')
.with('content-desc', 'White balance, Auto')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:adjustWB) do
click(891,2407.5)
waitsecond(2)
end
tcase << TestAction.new(:CloseWB) do
$ruiObj = RUIObject.new.with('objectid', -796422701).with('selfid', -913871014).with('textdescid', 563537595).with('uniqueparentid', 0)
.with('uitreeindex', 5)
.with('pretext', '17 Mbps')
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/manual_panel_wb')
.with('content-desc', 'White balance, Auto')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:RecordVideo) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StopVideo) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitseconds) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_33_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_35(loopTime)
tcase = TestCase.new("Video2_4_35")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_35_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:ChangeToWideView_1) do
$ruiObj = RUIObject.new.with('objectid', -355772886).with('selfid', -1759883529).with('textdescid', -2115781374).with('uniqueparentid', 0)
.with('uitreeindex', 26)
.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(:ClickEV_1) do
$ruiObj = RUIObject.new.with('objectid', -796423239).with('selfid', 2027793019).with('textdescid', 1593230918).with('uniqueparentid', 0)
.with('uitreeindex', 7)
.with('pretext', '17 Mbps')
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/manual_panel_ev')
.with('content-desc', 'Brightness, 0.0')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:ChangeEVsetting) do
click(414,2389.5)
waitsecond(2)
end
tcase << TestAction.new(:CloseEV) do
$ruiObj = RUIObject.new.with('objectid', -796423239).with('selfid', 2027793019).with('textdescid', 1593230918).with('uniqueparentid', 0)
.with('uitreeindex', 7)
.with('pretext', '17 Mbps')
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/manual_panel_ev')
.with('content-desc', 'Brightness, 0.0')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StartRecording) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StopRecording) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitseconds) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_35_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_36(loopTime)
tcase = TestCase.new("Video2_4_36")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_36_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:ChangeToWideView_1) do
$ruiObj = RUIObject.new.with('objectid', -355772886).with('selfid', -1759883529).with('textdescid', -2115781374).with('uniqueparentid', 0)
.with('uitreeindex', 26)
.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(:ClickISO_1) do
$ruiObj = RUIObject.new.with('objectid', 1080687229).with('selfid', 785568525).with('textdescid', -1878184514).with('uniqueparentid', 0)
.with('uitreeindex', 8)
.with('pretext', '17 Mbps')
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/manual_panel_iso')
.with('content-desc', 'I S O, 2400')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:ChangeISOsetting) do
click(850.5,2403)
waitsecond(2)
end
tcase << TestAction.new(:CloseISO) do
$ruiObj = RUIObject.new.with('objectid', 1080687229).with('selfid', 785568525).with('textdescid', -1878184514).with('uniqueparentid', 0)
.with('uitreeindex', 8)
.with('pretext', '17 Mbps')
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/manual_panel_iso')
.with('content-desc', 'I S O, 2400')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StartRecord) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StopRecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitseconds) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_36_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_37(loopTime)
tcase = TestCase.new("Video2_4_37")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_37_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:ChangeToWideView_1) do
$ruiObj = RUIObject.new.with('objectid', -355772886).with('selfid', -1759883529).with('textdescid', -2115781374).with('uniqueparentid', 0)
.with('uitreeindex', 26)
.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(:ClickShutterSpeed_1) do
$ruiObj = RUIObject.new.with('objectid', -796422808).with('selfid', -1010089203).with('textdescid', 1230382612).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('pretext', '17 Mbps')
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/manual_panel_ss')
.with('content-desc', 'Shutter speed, 1/30Seconds')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:ChangeSsetting) do
click(846,2412)
waitsecond(2)
end
tcase << TestAction.new(:CloseShutterSpeed) do
$ruiObj = RUIObject.new.with('objectid', -796422808).with('selfid', -1010089203).with('textdescid', 1230382612).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('pretext', '17 Mbps')
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/manual_panel_ss')
.with('content-desc', 'Shutter speed, 1/30Seconds')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StartRecording) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StopRecording) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitseconds) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_37_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_38(loopTime)
tcase = TestCase.new("Video2_4_38")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_38_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:ChangeToWideView_1) do
$ruiObj = RUIObject.new.with('objectid', -355772886).with('selfid', -1759883529).with('textdescid', -2115781374).with('uniqueparentid', 0)
.with('uitreeindex', 26)
.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(:Click_AE_Lfunc_1) do
click(85.5,2385)
waitsecond(2)
end
tcase << TestAction.new(:StartRecording) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 23)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StopRecording) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitseconds) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_38_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_39(loopTime)
tcase = TestCase.new("Video2_4_39")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_39_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:ChangeToWideView_1) do
$ruiObj = RUIObject.new.with('objectid', -355772886).with('selfid', -1759883529).with('textdescid', -2115781374).with('uniqueparentid', 0)
.with('uitreeindex', 26)
.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(:ClickFilmChange_1) do
$ruiObj = RUIObject.new.with('objectid', 1447192180).with('selfid', -170779466).with('textdescid', -373050940).with('uniqueparentid', 0)
.with('uitreeindex', 17)
.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(:ChangetoViolet) do
$ruiObj = RUIObject.new.with('objectid', -1164565508).with('selfid', 658571602).with('textdescid', 890851459).with('uniqueparentid', 0)
.with('uitreeindex', 45)
.with('classname', 'android.view.View')
.with('content-desc', 'Violet')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:startrecord) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 23)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:stoprecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 25)
.with('pretext', 'R')
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:scriptAction_2) do
waitsecond(2)
end
tcase << TestAction.new(:scriptAction_7) do
waitsecond(2)
waitsecond(2)
end
tcase << TestAction.new(:scriptAction_8) do
$myTestResult = checkLastExistResult
logStopTest("2_4_39_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_4(loopTime)
tcase = TestCase.new("Video2_4_4")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_4_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:ZoomintonormalView_1) do
zoomIn
zoomIn
zoomIn
zoomIn
zoomIn
zoomIn
zoomIn
zoomIn
waitsecond(2)
end
tcase << TestAction.new(:zoomOuttoWide) do
zoomOut
zoomOut
zoomOut
zoomOut
zoomOut
zoomOut
zoomOut
waitsecond(2)
end
tcase << TestAction.new(:StartRecord) do
$ruiObj = RUIObject.new.with('objectid', -1054310016).with('selfid', 1481655151).with('textdescid', 1619942451).with('uniqueparentid', 0)
.with('uitreeindex', 8)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp')
.with('content-desc', 'Start recording')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StopRecord) do
$ruiObj = RUIObject.new.with('objectid', -1272519145).with('selfid', -1930433243).with('textdescid', -1819100772).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp')
.with('content-desc', 'Stop recording')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitsecond) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_4_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_40(loopTime)
tcase = TestCase.new("Video2_4_40")
tcase << TestAction.new(:startlog) do
logStartTest("2_4_40_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:ChangeToWideView_1) do
$ruiObj = RUIObject.new.with('objectid', -355772886).with('selfid', -1759883529).with('textdescid', -2115781374).with('uniqueparentid', 0)
.with('uitreeindex', 26)
.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(:ClickSetting_1) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 16)
.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(:FrameRate) do
$ruiObj = RUIObject.new.with('objectid', 131560620).with('selfid', -419551475).with('textdescid', -1563225094).with('uniqueparentid', 0).with('classresourceid', 90511853)
.with('uitreeindex', 16)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/current_setting_value_text')
.with('content-desc', '30 FPS')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Changeto2FPS) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -167296038).with('textdescid', 459960218).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', 'Record a video in high quality sound. Off switch')
.with('text', 'Record a video in high quality sound')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:BacktoCamera) do
$ruiObj = RUIObject.new.with('objectid', -1549616416).with('selfid', -767978611).with('textdescid', -793468608).with('uniqueparentid', 0)
.with('uitreeindex', 41)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/back_button')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StartRecord) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StopRecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:ClickSetting) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 16)
.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(:ClickFrameRate) do
$ruiObj = RUIObject.new.with('objectid', 131560620).with('selfid', -1579818350).with('textdescid', 1825984935).with('uniqueparentid', 0).with('classresourceid', 90511853)
.with('uitreeindex', 30)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/current_setting_value_text')
.with('content-desc', '2 FPS')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:changeto24fps) do
click(1161,1210.5)
waitsecond(2)
end
tcase << TestAction.new(:BacktoCamera) do
$ruiObj = RUIObject.new.with('objectid', -1549616416).with('selfid', -767978611).with('textdescid', -793468608).with('uniqueparentid', 0)
.with('uitreeindex', 41)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/back_button')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:startrecord) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:stoprecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitseconds) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_40_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_41(loopTime)
tcase = TestCase.new("Video2_4_41")
tcase << TestAction.new(:startlog) do
logStartTest("2_4_41_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:ChangeToWideView_1) do
$ruiObj = RUIObject.new.with('objectid', -355772886).with('selfid', -1759883529).with('textdescid', -2115781374).with('uniqueparentid', 0)
.with('uitreeindex', 26)
.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(:GotoSetting_1) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 16)
.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(:ClickBitrate) do
$ruiObj = RUIObject.new.with('objectid', 131560620).with('selfid', -1533036066).with('textdescid', -1721509047).with('uniqueparentid', 0).with('classresourceid', 90511853)
.with('uitreeindex', 33)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/current_setting_value_text')
.with('content-desc', 'Medium')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:ClickHigh) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', -167296038).with('textdescid', 459960218).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', 'Record a video in high quality sound. Off switch')
.with('text', 'Record a video in high quality sound')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:BacktoCamera) do
$ruiObj = RUIObject.new.with('objectid', -1549616416).with('selfid', -767978611).with('textdescid', -793468608).with('uniqueparentid', 0)
.with('uitreeindex', 41)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/back_button')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StartRecord) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StopRecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:GotoSetting) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 16)
.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(:ClickBitRate) do
$ruiObj = RUIObject.new.with('objectid', 131560620).with('selfid', 1357036049).with('textdescid', -1182496970).with('uniqueparentid', 0).with('classresourceid', 90511853)
.with('uitreeindex', 19)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/current_setting_value_text')
.with('content-desc', 'High')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:ClickLow) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', 824475326).with('textdescid', -1862512754).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 28)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('content-desc', 'Reduce motion blur in videos Off switch')
.with('text', 'Reduce motion blur in videos')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:BacktoCamera) do
$ruiObj = RUIObject.new.with('objectid', -1549616416).with('selfid', -767978611).with('textdescid', -793468608).with('uniqueparentid', 0)
.with('uitreeindex', 41)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/back_button')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StartRecord) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:stoprecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitseconds) do
waitsecond(2)
end
tcase << TestAction.new(:stoplog) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_41_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_42(loopTime)
tcase = TestCase.new("Video2_4_42")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_42_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:ChangeToWideView_1) do
$ruiObj = RUIObject.new.with('objectid', -355772886).with('selfid', -1759883529).with('textdescid', -2115781374).with('uniqueparentid', 0)
.with('uitreeindex', 26)
.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(:ClickSetting_1) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 16)
.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(:TurnonHiFi) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', -1349548728).with('textdescid', -1007774452).with('uniqueparentid', 55853521).with('classresourceid', -1956269507)
.with('uitreeindex', 21)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_title_textview')
.with('content-desc', 'Hi-Fi')
.with('text', 'HiFi')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:OK) do
$ruiObj = RUIObject.new.with('objectid', 598194823).with('selfid', -2071126929).with('textdescid', 1018748075).with('uniqueparentid', 0)
.with('uitreeindex', 41)
.with('classname', 'Button')
.with('resource-id', 'com.lge.camera:id/ok_button')
.with('text', 'OK')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:BackToCamera) do
$ruiObj = RUIObject.new.with('objectid', -1549616416).with('selfid', -767978611).with('textdescid', -793468608).with('uniqueparentid', 0)
.with('uitreeindex', 39)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/back_button')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:RecordVideo) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:stoprecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitseconds) do
waitsecond(2)
end
tcase << TestAction.new(:stoplog) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_42_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_43(loopTime)
tcase = TestCase.new("Video2_4_43")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_43_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:ImageButton_BtnDualviewWideRange_2) do
$ruiObj = RUIObject.new.with('objectid', -355772886).with('selfid', -1759883529).with('textdescid', -2115781374).with('uniqueparentid', 0)
.with('uitreeindex', 26)
.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(:GotoSetting_1) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 16)
.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(:gototimer_1) do
$ruiObj = RUIObject.new.with('objectid', 131560620).with('selfid', -371661090).with('textdescid', -1555793637).with('uniqueparentid', 0).with('classresourceid', 90511853)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/current_setting_value_text')
.with('content-desc', 'Off')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:SetTimerto3sec) do
$ruiObj = RUIObject.new.with('objectid', 131560620).with('selfid', -371661090).with('textdescid', -1555793637).with('uniqueparentid', 0).with('classresourceid', 90511853)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/current_setting_value_text')
.with('content-desc', 'Off')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:backtoCamera) do
$ruiObj = RUIObject.new.with('objectid', -1549616416).with('selfid', -767978611).with('textdescid', -793468608).with('uniqueparentid', 0)
.with('uitreeindex', 41)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/back_button')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StartRecord) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(5)
end
tcase << TestAction.new(:recordstop) do
$ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
.with('uitreeindex', 22)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
$ruiObj.click
waitsecond(3)
end
tcase << TestAction.new(:ImageButton_ShutterTopCompType_4) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(3)
end
tcase << TestAction.new(:GotoSetting_1_1) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 16)
.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(:gototimer) do
$ruiObj = RUIObject.new.with('objectid', 131560620).with('selfid', -1549827927).with('textdescid', -1539279248).with('uniqueparentid', 0).with('classresourceid', 90511853)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/current_setting_value_text')
.with('content-desc', '3 sec')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Settimerto10sec) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', 824475326).with('textdescid', -1862512754).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 28)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('content-desc', 'Reduce motion blur in videos Off switch')
.with('text', 'Reduce motion blur in videos')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:BacktoCamera) do
$ruiObj = RUIObject.new.with('objectid', -1549616416).with('selfid', -767978611).with('textdescid', -793468608).with('uniqueparentid', 0)
.with('uitreeindex', 41)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/back_button')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StartRecording) do
$ruiObj = RUIObject.new.with('objectid', -1054310016).with('selfid', 808427083).with('textdescid', -59753133).with('uniqueparentid', 0)
.with('uitreeindex', 22)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp')
.with('content-desc', 'Stop recording')
$ruiObj.click
waitsecond(13)
end
tcase << TestAction.new(:recordstop2) do
$ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
.with('uitreeindex', 22)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
$ruiObj.click
waitsecond(3)
end
tcase << TestAction.new(:ImageButton_ShutterTopCompType_4_1) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(3)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitseconds) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_43_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_44(loopTime)
tcase = TestCase.new("Video2_4_44")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_44_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:ChangeToWideView_1) do
$ruiObj = RUIObject.new.with('objectid', -355772886).with('selfid', -1759883529).with('textdescid', -2115781374).with('uniqueparentid', 0)
.with('uitreeindex', 26)
.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(:GotoSetting_1) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 16)
.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(:TurnonSteadyRecording) do
$ruiObj = RUIObject.new.with('objectid', 475935229).with('selfid', 824475326).with('textdescid', -1862512754).with('uniqueparentid', 0).with('classresourceid', 1165955609)
.with('uitreeindex', 28)
.with('classname', 'TextView')
.with('resource-id', 'com.lge.camera:id/settings_guide_textview')
.with('content-desc', 'Reduce motion blur in videos Off switch')
.with('text', 'Reduce motion blur in videos')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:BacktoCamera) do
$ruiObj = RUIObject.new.with('objectid', -1549616416).with('selfid', -767978611).with('textdescid', -793468608).with('uniqueparentid', 0)
.with('uitreeindex', 39)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/back_button')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StartRecord) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StopRecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitseoncds) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_44_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_46(loopTime)
tcase = TestCase.new("Video2_4_46")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_46_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:ChangeToWideView_1) do
$ruiObj = RUIObject.new.with('objectid', -355772886).with('selfid', -1759883529).with('textdescid', -2115781374).with('uniqueparentid', 0)
.with('uitreeindex', 26)
.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(:GotoSetting_1) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 16)
.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(:TurnonTagLocation) do
$ruiObj = RUIObject.new.with('objectid', -683742256).with('selfid', -1808037368).with('textdescid', 1731452673).with('uniqueparentid', 2111102453).with('classresourceid', -1698211271)
.with('uitreeindex', 48)
.with('classname', 'Switch')
.with('resource-id', 'com.lge.camera:id/setting_switch')
.with('text', 'OFF')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:BacktoCamera) do
$ruiObj = RUIObject.new.with('objectid', -1549616416).with('selfid', -767978611).with('textdescid', -793468608).with('uniqueparentid', 0)
.with('uitreeindex', 39)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/back_button')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StartRecord) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 9)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:stoprecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitseoncds) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_46_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_5(loopTime)
tcase = TestCase.new("Video2_4_5")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_5_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:StartRecord_1) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 23)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Zoomin) do
zoomIn
zoomIn
waitsecond(2)
end
tcase << TestAction.new(:zoomOut) do
zoomOut
zoomOut
waitsecond(2)
end
tcase << TestAction.new(:StopRecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:wait1second_4) do
waitsecond(1)
end
tcase << TestAction.new(:LogStop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_5_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_6(loopTime)
tcase = TestCase.new("Video2_4_6")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_6_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:StartRecord_1) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 23)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:PauseRecording) do
$ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
.with('uitreeindex', 22)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:ResumeRecording) do
$ruiObj = RUIObject.new.with('objectid', 215322368).with('selfid', -857985467).with('textdescid', -1914941152).with('uniqueparentid', 0)
.with('uitreeindex', 22)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_bottom_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StopRecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitsecond) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_6_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_7(loopTime)
tcase = TestCase.new("Video2_4_7")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_7_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:TurnonFlash_1) do
$ruiObj = RUIObject.new.with('objectid', -1160005900).with('selfid', 183863686).with('textdescid', -1655596812).with('uniqueparentid', 0)
.with('uitreeindex', 19)
.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(:StartRecord) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 23)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StopRecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitsecond) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_7_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_8(loopTime)
tcase = TestCase.new("Video2_4_8")
tcase << TestAction.new(:LogStart) do
logStartTest("2_4_8_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:FlashOn_1) do
$ruiObj = RUIObject.new.with('objectid', -1160005900).with('selfid', 183863686).with('textdescid', -1655596812).with('uniqueparentid', 0)
.with('uitreeindex', 19)
.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(:FlashOff) do
$ruiObj = RUIObject.new.with('objectid', -1160005900).with('selfid', 183863686).with('textdescid', -1655596812).with('uniqueparentid', 0)
.with('uitreeindex', 19)
.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(:RecordVideo) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 23)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StopRecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 24)
.with('pretext', 'R')
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitsecond) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_8_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_9(loopTime)
tcase = TestCase.new("Video2_4_9")
tcase << TestAction.new(:Logstart) do
logStartTest("2_4_9_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:ClickMicButton_1) do
$ruiObj = RUIObject.new.with('objectid', 2134502226).with('selfid', 1877702583).with('textdescid', 1327999192).with('uniqueparentid', 0)
.with('uitreeindex', 4)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/manual_panel_audio')
.with('content-desc', 'Microphone')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:adjust_gain) do
click(486,859.5)
waitsecond(2)
end
tcase << TestAction.new(:adjustLCF) do
click(688.5,1219.5)
waitsecond(2)
end
tcase << TestAction.new(:adjust_LMT) do
click(688.5,1548)
waitsecond(2)
end
tcase << TestAction.new(:adjust_Directivity) do
click(990,1908)
waitsecond(2)
end
tcase << TestAction.new(:CloseMic) do
$ruiObj = RUIObject.new.with('objectid', 2134502226).with('selfid', 1877702583).with('textdescid', 1327999192).with('uniqueparentid', 0)
.with('uitreeindex', 4)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/manual_panel_audio')
.with('content-desc', 'Microphone')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StartRecord) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 32)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StopRecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 32)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitsecond) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_9_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video_2_4_47(loopTime)
tcase = TestCase.new("Video_2_4_47")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_47_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:ChangeToWideView_1) do
$ruiObj = RUIObject.new.with('objectid', -355772886).with('selfid', -1759883529).with('textdescid', -2115781374).with('uniqueparentid', 0)
.with('uitreeindex', 26)
.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(:GotoSetting_1) do
$ruiObj = RUIObject.new.with('objectid', 999682277).with('selfid', -2110235986).with('textdescid', -1677427298).with('uniqueparentid', 0)
.with('uitreeindex', 16)
.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(:TurnonGrid) do
$ruiObj = RUIObject.new.with('objectid', 1648677409).with('selfid', 2128769562).with('textdescid', -1368287878).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', 'Grid Off switch')
.with('text', 'Grid')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:BacktoCamera) do
$ruiObj = RUIObject.new.with('objectid', -1549616416).with('selfid', -767978611).with('textdescid', -793468608).with('uniqueparentid', 0)
.with('uitreeindex', 39)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/back_button')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:RecordVideo) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 10)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:stoprecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitseconds) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_47_VideoManual")
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.DefaultSetting(loopTime)
tcase = TestCase.new("DefaultSetting")
tcase << TestAction.new(:pressHome_2) do
pressHome
waitsecond(2)
end
tcase << TestAction.new(:gotoApp_2) do
gotoApp('Settings')
waitsecond(2)
end
tcase << TestAction.new(:Gotogeneral) 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(:swipeDown_5) do
swipe_vertical 500
waitsecond(2)
end
tcase << TestAction.new(:swipeDown_6) do
swipe_vertical 500
waitsecond(2)
end
tcase << TestAction.new(:ClickApplication) do
$ruiObj = RUIObject.new.with('objectid', -2099539841).with('selfid', -590378381).with('textdescid', -1400202003).with('uniqueparentid', 0).with('classresourceid', 490183159)
.with('uitreeindex', 19)
.with('classname', 'TextView')
.with('resource-id', 'android:id/title')
.with('text', 'Apps')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:SearchForCamera) do
scrollAndSearchText("Camera", speed = 1000)
waitsecond(2)
end
tcase << TestAction.new(:GotoCamera) 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(:Storage) do
$ruiObj = RUIObject.new.with('objectid', -2103271856).with('selfid', -1162414374).with('textdescid', -249377547).with('uniqueparentid', 0).with('classresourceid', 490183159)
.with('uitreeindex', 10)
.with('classname', 'TextView')
.with('resource-id', 'android:id/title')
.with('text', 'Storage')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Cleardata) 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) do
$ruiObj = RUIObject.new.with('objectid', -1004548822).with('selfid', -1318451484).with('textdescid', -405740082).with('uniqueparentid', -1993216232).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(:GoBackHome) do
pressHome
waitsecond(2)
end
tcase << TestAction.new(:Recentapp) do
pressRecentApps
waitsecond(2)
end
tcase << TestAction.new(:Clearall) do
$ruiObj = RUIObject.new.with('objectid', -213794734).with('selfid', -204985471).with('textdescid', 1763854688).with('uniqueparentid', 0)
.with('uitreeindex', 5)
.with('classname', 'TextView')
.with('resource-id', 'com.android.systemui:id/button')
.with('text', 'CLEAR ALL')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:gotoApp_16) do
gotoApp('Camera')
waitsecond(2)
end
tcase << TestAction.new(:pressBack_17) do
pressBack
waitsecond(4)
end
tcase << TestAction.new(:Laterbutton) 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(4)
end
tcase << TestAction.new(:VideoSetting_1) do
$ruiObj = RUIObject.new.with('objectid', 579583575).with('selfid', -1659256094).with('textdescid', -1654112402).with('uniqueparentid', 0)
.with('uitreeindex', 8)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_button_clean_view')
.with('content-desc', 'View')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:Manaulrecord) do
$ruiObj = RUIObject.new.with('objectid', -238556145).with('selfid', -610645263).with('textdescid', -28106543).with('uniqueparentid', 0)
.with('uitreeindex', 13)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/quick_manual_video_view')
.with('content-desc', 'Manual Video Mode')
$ruiObj.click
waitsecond(4)
end
tcase << TestAction.new(:Changetomanual) do
click(274.5,553.5)
waitsecond(4)
end
tcase << TestAction.new(:ViewGroup_1) do
$ruiObj = RUIObject.new.with('objectid', -802848546).with('selfid', 868115472).with('textdescid', 546031900).with('uniqueparentid', 0)
.with('classname', 'android.view.ViewGroup')
$ruiObj.click
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_10(loopTime)
tcase = TestCase.new("Video2_4_10")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_10_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:Click_WB_1) do
$ruiObj = RUIObject.new.with('objectid', -796422701).with('selfid', -913871014).with('textdescid', 563537595).with('uniqueparentid', 0)
.with('uitreeindex', 5)
.with('pretext', '17 Mbps')
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/manual_panel_wb')
.with('content-desc', 'White balance, Auto')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:adjustWB) do
click(891,2407.5)
waitsecond(2)
end
tcase << TestAction.new(:CloseWB) do
$ruiObj = RUIObject.new.with('objectid', -796422701).with('selfid', -913871014).with('textdescid', 563537595).with('uniqueparentid', 0)
.with('uitreeindex', 5)
.with('pretext', '17 Mbps')
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/manual_panel_wb')
.with('content-desc', 'White balance, Auto')
$ruiObj.click
waitsecond(3)
end
tcase << TestAction.new(:RecordVideo) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StopVideo) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitsecond) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_10_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_13(loopTime)
tcase = TestCase.new("Video2_4_13")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_13_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:ClickISO_1) do
$ruiObj = RUIObject.new.with('objectid', 1080687229).with('selfid', 785568525).with('textdescid', -1878184514).with('uniqueparentid', 0)
.with('uitreeindex', 8)
.with('pretext', '17 Mbps')
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/manual_panel_iso')
.with('content-desc', 'I S O, 2400')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:ChangeISOsetting) do
click(850.5,2403)
waitsecond(2)
end
tcase << TestAction.new(:CloseISO) do
$ruiObj = RUIObject.new.with('objectid', 1080687229).with('selfid', 785568525).with('textdescid', -1878184514).with('uniqueparentid', 0)
.with('uitreeindex', 8)
.with('pretext', '17 Mbps')
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/manual_panel_iso')
.with('content-desc', 'I S O, 2400')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StartRecord) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StopRecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitsecond) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_13_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_16(loopTime)
tcase = TestCase.new("Video2_4_16")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_16_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:ClickFilmChange_1) do
$ruiObj = RUIObject.new.with('objectid', 1447192180).with('selfid', -170779466).with('textdescid', -373050940).with('uniqueparentid', 0)
.with('uitreeindex', 17)
.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(:ChangetoViolet) do
$ruiObj = RUIObject.new.with('objectid', -1164565508).with('selfid', 658571602).with('textdescid', 890851459).with('uniqueparentid', 0)
.with('uitreeindex', 45)
.with('classname', 'android.view.View')
.with('content-desc', 'Violet')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:startrecord) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 23)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:stoprecord) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 25)
.with('pretext', 'R')
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitsecond) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_16_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.Video2_4_15(loopTime)
tcase = TestCase.new("Video2_4_15")
tcase << TestAction.new(:logstart) do
logStartTest("2_4_15_VideoManual")
waitsecond(2)
end
tcase << TestAction.new(:Click_AE_Lfunc_1) do
click(85.5,2385)
waitsecond(3)
end
tcase << TestAction.new(:StartRecording) do
$ruiObj = RUIObject.new.with('objectid', -1193429351).with('selfid', -160100457).with('textdescid', 1658395815).with('uniqueparentid', 0)
.with('uitreeindex', 23)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_large_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:StopRecording) do
$ruiObj = RUIObject.new.with('objectid', -1695967134).with('selfid', 685856113).with('textdescid', -1035373570).with('uniqueparentid', 0)
.with('uitreeindex', 25)
.with('classname', 'ImageButton')
.with('resource-id', 'com.lge.camera:id/shutter_top_comp_type')
$ruiObj.click
waitsecond(2)
end
tcase << TestAction.new(:checkAndDelete) do
checkAndDelete
waitsecond(2)
end
tcase << TestAction.new(:waitsecond) do
waitsecond(2)
end
tcase << TestAction.new(:logstop) do
$myTestResult = !checkLastExistResult
logStopTest("2_4_15_VideoManual")
waitsecond(2)
end
tcase.run(loopTime)
end
def self.mainLoop(loopTime)
WebSocketXServer.setAutoUpdate(false)
index = $mainResumeMainLoop
$mainResumeMainLoop = 0
writelog("mainLoop::#{index}::Resume") if index > 0
while index < loopTime
$curMainLoopNum = index
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
UHD3840_2160 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_1 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_2 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_3 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_4 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_5 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_6 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_7 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
UHD3840_2160 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_8 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
UHD3840_2160 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_9 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_10 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_11 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_12 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_13 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_14 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_15 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
UHD3840_2160 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_16 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
UHD3840_2160 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_17 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
UHD3840_2160 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_18 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_19 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_20 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
UHD3840_2160 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_23 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_24 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
UHD3840_2160 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_25 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_26 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_27 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_28 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_29 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_30 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
UHD3840_2160 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_31 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_32 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_33 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_35 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_36 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_37 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_38 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
UHD3840_2160 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_40 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_41 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_42 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_43 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
UHD3840_2160 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_46 1
waitsecond(2)
$actionParamInput = "none"
Video_2_4_47 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_1 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_2 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_3 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_4 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_5 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_6 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_7 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_8 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_9 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_10 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_11 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_12 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_13 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_14 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_15 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_16 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_17 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_18 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_19 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_20 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_21 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_22 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_23 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_24 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_25 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_26 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_27 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_28 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_29 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_30 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_31 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_32 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_33 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_35 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_36 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_37 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_38 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_39 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_40 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_41 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_42 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_43 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_44 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_46 1
waitsecond(2)
$actionParamInput = "none"
Video_2_4_47 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
FHD2560_1080 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_1 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_2 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_3 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_4 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_5 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_6 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_7 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
FHD2560_1080 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_8 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_9 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_10 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_11 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_12 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_13 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_14 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_15 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
FHD2560_1080 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_16 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
FHD2560_1080 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_17 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_18 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_19 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_20 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
FHD2560_1080 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_21 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_22 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_23 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_24 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_25 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_26 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_27 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_28 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_29 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_30 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
FHD2560_1080 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_31 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_32 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_33 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_35 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_36 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_37 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_38 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
FHD2560_1080 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_39 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
FHD2560_1080 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_40 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_41 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_42 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_43 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
FHD2560_1080 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_44 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_46 1
waitsecond(2)
$actionParamInput = "none"
Video_2_4_47 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
FHD2160_1080 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_1 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_2 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_3 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_4 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_5 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_6 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_7 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
FHD2160_1080 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_8 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_9 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_10 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_11 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_12 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_13 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_14 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_15 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
FHD2160_1080 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_16 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
FHD2160_1080 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_17 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_18 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_19 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_20 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
FHD2160_1080 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_21 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_22 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_23 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_24 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_25 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_26 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_27 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_28 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_29 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_30 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
FHD2160_1080 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_31 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_32 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_33 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_35 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_36 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_37 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_38 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
FHD2160_1080 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_39 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
FHD2160_1080 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_40 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_41 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_42 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_43 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
FHD2160_1080 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_44 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_46 1
waitsecond(2)
$actionParamInput = "none"
Video_2_4_47 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
HD1280_720 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_1 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_2 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_3 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_4 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_5 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_6 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_7 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
HD1280_720 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_8 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_9 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_10 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_11 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_12 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_13 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_14 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_15 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
FHD2160_1080 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_16 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
FHD2160_1080 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_17 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_18 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_19 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_20 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
HD1280_720 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_21 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_22 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_23 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_24 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_25 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_26 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_27 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_28 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_29 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_30 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
HD1280_720 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_31 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_32 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_33 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_35 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_36 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_37 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_38 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
HD1280_720 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_39 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
HD1280_720 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_40 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_41 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_42 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_43 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
HD1280_720 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_44 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_46 1
waitsecond(2)
$actionParamInput = "none"
Video_2_4_47 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
HD1680_720 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_1 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_2 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_3 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_4 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_5 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_6 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_7 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
HD1680_720 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_8 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_9 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_10 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_11 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_12 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_13 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_14 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_15 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
HD1680_720 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_16 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
HD1680_720 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_17 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_18 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_19 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_20 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
HD1680_720 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_21 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_22 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_23 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_24 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_25 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_26 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_27 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_28 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_29 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_30 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
HD1680_720 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_31 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_32 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_33 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_35 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_36 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_37 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_38 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
HD1680_720 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_39 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
HD1680_720 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_40 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_41 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_42 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_43 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
HD1680_720 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_44 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_46 1
waitsecond(2)
$actionParamInput = "none"
Video_2_4_47 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
HD1440_720 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_1 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_2 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_3 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_4 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_5 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_6 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_7 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
HD1440_720 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_8 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_9 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_10 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_11 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_12 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_13 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_14 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_15 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
HD1440_720 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_16 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
HD1440_720 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_17 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_18 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_19 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_20 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
HD1440_720 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_21 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_22 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_23 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_24 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_25 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_26 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_27 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_28 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_29 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_30 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
HD1440_720 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_31 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_32 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_33 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_35 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_36 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_37 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_38 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
HD1440_720 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_39 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
HD1440_720 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_40 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_41 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_42 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_43 1
waitsecond(2)
$actionParamInput = "none"
DefaultSetting 1
waitsecond(2)
$actionParamInput = "none"
HD1440_720 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_44 1
waitsecond(2)
$actionParamInput = "none"
Video2_4_46 1
waitsecond(2)
$actionParamInput = "none"
Video_2_4_47 1
waitsecond(2)
$actionParamInput = "none"
OriginalSetting 1
waitsecond(2)
sendStatus("Done::mainLoop::Loop::#{index}")
writelog("Finish::Loop::#{$curMainLoopNum}")
saveLogFileToGist if $saveLogToGist
index += 1
end
$engineStatus = "Idle"
resetStatus
sendStatus("Finish::mainLoop::END")
end
def self.exception_handler
puts "Module Exception Hanlder..."
end
def self.run(loop)
mainLoop loop
end
end
$exceptionPackageNameList = []
$exceptionPackageNameList_exclude = []
def exception_handler
Video_Manual_2_4.exception_handler
end
$curProjectLogFile = $useLastLogFile
$curProjectLogFile = "Video_Manual_2_4_#{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