本文整理汇总了Python中PF_common_FF.verify方法的典型用法代码示例。如果您正苦于以下问题:Python PF_common_FF.verify方法的具体用法?Python PF_common_FF.verify怎么用?Python PF_common_FF.verify使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类PF_common_FF
的用法示例。
在下文中一共展示了PF_common_FF.verify方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: PF_SearchHistoryOn_AllowedToMostPrivate_416
# 需要导入模块: import PF_common_FF [as 别名]
# 或者: from PF_common_FF import verify [as 别名]
def PF_SearchHistoryOn_AllowedToMostPrivate_416(log_file):
search_history_on_allowed=("allowed.png")
search_history_on_allowed_mouseover=("mouseover.png")
search_history_on_allowed_click=("mouseoverclick.png")
top_bar=("topbar.png")
turn_on=("turnon.png")
turn_off=("turnoff.png")
fixes_icon=("fixes.png")
search_history_most_private=("mostprivate.png")
PF_common.verify(log_file, search_history_on_allowed)
hover(search_history_on_allowed)
PF_common.verify(log_file, search_history_on_allowed_mouseover)
hover(search_history_on_allowed)
sleep(1)
click(search_history_on_allowed_click)
sleep(5)
PF_common.verify(log_file, top_bar)
click(turn_off)
PF_common.verify(log_file, turn_on)
click(fixes_icon)
sleep(5)
PF_common.verify(log_file, search_history_most_private)
示例2: PF_WebApp_FB06_InFacebookAds_OrangeToGrey_1373
# 需要导入模块: import PF_common_FF [as 别名]
# 或者: from PF_common_FF import verify [as 别名]
def PF_WebApp_FB06_InFacebookAds_OrangeToGrey_1373(log_file):
in_facebook_ads=("orange.png")
in_facebook_ads_hover=("orange_hover.png")
only_my_friends=("settings.png")
top_bar=("top_bar.png")
fix_icon=("Fixes.png")
in_facebook_ads_grey=("gray.png")
PF_common.locate_item_page_by_page(log_file,in_facebook_ads)
PF_common.verify(log_file,in_facebook_ads)
hover(in_facebook_ads)
PF_common.verify(log_file,in_facebook_ads_hover)
mouseMove(Location(1000,120))
click(in_facebook_ads)
sleep(2)
PF_common.verify(log_file,top_bar)
PF_common.verify(log_file,only_my_friends)
click(fix_icon)
sleep(2)
PF_common.verify(log_file,in_facebook_ads_grey)
示例3: PF_WebApp_LK03_ProfileChengesVisable_OrangeToGrey_1325
# 需要导入模块: import PF_common_FF [as 别名]
# 或者: from PF_common_FF import verify [as 别名]
def PF_WebApp_LK03_ProfileChengesVisable_OrangeToGrey_1325(log_file):
ProfileChengesVisable_Orange=("orange.png")
ProfileChengesVisable_hover=("orange_hover.png")
top_bar=("top_bar.png")
CheckYourProfile_Settings=("Settings.png")
fix_icon=("fix_icon.png")
CheckYourProfile_grey=("grey.png")
PF_common_FF.locate_linkedIn_section(log_file)
PF_common_FF.verify(log_file,ProfileChengesVisable_Orange)
hover(ProfileChengesVisable_Orange)
PF_common_FF.verify(log_file,ProfileChengesVisable_hover)
click(ProfileChengesVisable_Orange)
sleep(2)
PF_common_FF.ifPassword(log_file)
PF_common_FF.verify(log_file,CheckYourProfile_Settings)
PF_common_FF.verify(log_file, top_bar)
click(fix_icon)
sleep(2)
PF_common_FF.verify(log_file,CheckYourProfile_grey)
开发者ID:avgqa,项目名称:qa-scripts,代码行数:30,代码来源:PF_WebApp_LK03_ProfileChengesVisable_OrangeToGrey_FF_1325.py
示例4: PF_WebApp_FB07_CrowdControl_OrangeToGreen_FF_255
# 需要导入模块: import PF_common_FF [as 别名]
# 或者: from PF_common_FF import verify [as 别名]
def PF_WebApp_FB07_CrowdControl_OrangeToGreen_FF_255(log_file):
orange=("orange.png")
hover_orange=("orange_hover.png")
okay=(Pattern("okay.png").similar(0.91))
crowdcontrol=("top_bar.png")
fixes=("fixes.png")
green=("green.png")
hover_green=("green_hover.png")
PF_common.locate_item_page_by_page(log_file,orange)
PF_common.verify(log_file,orange)
hover(orange)
PF_common.verify(log_file,hover_orange)
mouseMove(Location(1000,120))
click(orange)
sleep(5)
while exists(okay):
click(okay)
sleep(5)
PF_common.verify(log_file,crowdcontrol)
click(fixes)
PF_common.verify(log_file,green)
hover(green)
PF_common.verify(log_file,hover_green)
示例5: PF_WebApp_LK05_ConnectionsVisible_OrangeToGray_FF_357
# 需要导入模块: import PF_common_FF [as 别名]
# 或者: from PF_common_FF import verify [as 别名]
def PF_WebApp_LK05_ConnectionsVisible_OrangeToGray_FF_357(log_file):
connections_visible_orange=("orange.png")
connections_visible_orange_hover=("orange_hover.png")
top_bar=("top_bar.png")
fix_icon=("fix_icon.png")
settings_window="settings.png"
connections_visible_grey=("grey.png")
PF_common_FF.locate_linkedIn_section(log_file)
PF_common_FF.verify(log_file, connections_visible_orange)
hover(connections_visible_orange)
PF_common_FF.verify(log_file, connections_visible_orange_hover)
click(connections_visible_orange)
sleep(2)
PF_common_FF.ifPassword(log_file)
PF_common_FF.verify(log_file, top_bar)
PF_common_FF.verify(log_file, settings_window)
click(fix_icon)
sleep(2)
PF_common_FF.verify(log_file, connections_visible_grey)
示例6: PF_WebApp_FB05_App_Access_On_OrangeToGreen_1342
# 需要导入模块: import PF_common_FF [as 别名]
# 或者: from PF_common_FF import verify [as 别名]
def PF_WebApp_FB05_App_Access_On_OrangeToGreen_1342(log_file):
apps_access_orange=("orange.png")
apps_access_orange_mouseover=("orange_hover.png")
top_bar=("top_bar.png")
fixes_icon=("fixes.png")
settings=("settings.png")
apps_access_gray=("gray.png")
#verify the above images
#print str(top_bar)
PF_common.locate_item_page_by_page(log_file,apps_access_orange)
PF_common.verify(log_file,apps_access_orange)
hover(apps_access_orange)
PF_common.verify(log_file,apps_access_orange_mouseover)
mouseMove(Location(1000,120))
click(apps_access_orange)
sleep(2)
PF_common.verify(log_file,top_bar)
PF_common.verify(log_file,settings)
click(fixes_icon)
sleep(2)
PF_common.verify(log_file,apps_access_gray)
示例7: PF_WebApp_TW02_LocationMayBeTweeted_OrangeToGrey_2381
# 需要导入模块: import PF_common_FF [as 别名]
# 或者: from PF_common_FF import verify [as 别名]
def PF_WebApp_TW02_LocationMayBeTweeted_OrangeToGrey_2381(log_file):
Location_orange=("1400845033555.png")
Location_orange_hover=("1400845113837.png")
top_bar=("1400845140328.png")
Location_settings=("1400845165882.png")
fix_icon=("1400833112992.png")
Location_grey=("1400845205725.png")
PF_common.locate_item_page_by_page(log_file,Location_orange)
PF_common.verify(log_file,Location_orange)
hover(Location_orange)
PF_common.verify(log_file,Location_orange_hover)
mouseMove(Location(1000,120))
click(Location_orange)
sleep(2)
PF_common.verify(log_file,top_bar)
PF_common.verify(log_file,Location_settings)
click(fix_icon)
sleep(2)
PF_common.verify(log_file,Location_grey)
示例8: PF_WebApp_LK02_ProfileChecked_GreenToGreen_FF_1332
# 需要导入模块: import PF_common_FF [as 别名]
# 或者: from PF_common_FF import verify [as 别名]
def PF_WebApp_LK02_ProfileChecked_GreenToGreen_FF_1332(log_file):
ProfileChecked_Green=("green.png")
ProfileChecked_hover=("green_hover.png")
top_bar=("top_bar.png")
CheckYourProfile_Settings=("settings.png")
fix_icon=("fixes.png")
PF_common_FF.locate_linkedIn_section(log_file)
PF_common_FF.verify(log_file,ProfileChecked_Green)
hover(ProfileChecked_Green)
PF_common_FF.verify(log_file,ProfileChecked_hover)
click(ProfileChecked_Green)
sleep(2)
PF_common_FF.verify(log_file,CheckYourProfile_Settings)
PF_common_FF.verify(log_file, top_bar)
click(fix_icon)
mouseMove(Location(1000,100))
PF_common_FF.verify(log_file,ProfileChecked_Green)
示例9: PF_WebApp_LK04_AppsChecked_GreenToGreen_FF_356
# 需要导入模块: import PF_common_FF [as 别名]
# 或者: from PF_common_FF import verify [as 别名]
def PF_WebApp_LK04_AppsChecked_GreenToGreen_FF_356(log_file):
apps_checked_green=("green.png")
apps_checked_hover=("green_hover.png")
top_bar=("top_bar.png")
fix_icon=("fix_icon.png")
pop_up =("settings.png")
PF_common_FF.locate_linkedIn_section(log_file)
PF_common_FF.verify(log_file,apps_checked_green)
hover(apps_checked_green)
PF_common_FF.verify(log_file, apps_checked_hover)
click(apps_checked_green)
sleep(2)
PF_common_FF.ifPassword(log_file)
PF_common_FF.verify(log_file, top_bar)
PF_common_FF.verify(log_file, pop_up)
click(fix_icon)
sleep(2)
PF_common_FF.verify(log_file, apps_checked_green)
示例10: PF_WebApp_FB06_InFacebookAds_GreyToGreen_1374
# 需要导入模块: import PF_common_FF [as 别名]
# 或者: from PF_common_FF import verify [as 别名]
def PF_WebApp_FB06_InFacebookAds_GreyToGreen_1374(log_file):
in_facebook_ads_grey=("gray.png")
in_facebook_ads_grey_hover=("gray_hover.png")
top_bar=("top_bar.png")
only_my_friends=("settings.png")
no_one=("no_one.png")
save_changes=("save.png")
fix_icon=("Fixes.png")
facebook_ads_green=("green.png")
PF_common.locate_item_page_by_page(log_file,in_facebook_ads_grey)
PF_common.verify(log_file,in_facebook_ads_grey)
hover(in_facebook_ads_grey)
PF_common.verify(log_file,in_facebook_ads_grey_hover)
mouseMove(Location(1000,120))
click(in_facebook_ads_grey)
sleep(2)
PF_common.verify(log_file,top_bar)
click(only_my_friends)
sleep(1)
click(no_one)
sleep(1)
click(save_changes)
sleep(1)
click(fix_icon)
PF_common.verify(log_file, facebook_ads_green)
示例11: PF_WebApp_FB06_NotInFacebookAds_GreenToGrey_1375
# 需要导入模块: import PF_common_FF [as 别名]
# 或者: from PF_common_FF import verify [as 别名]
def PF_WebApp_FB06_NotInFacebookAds_GreenToGrey_1375(log_file):
facebook_ads_green=("green.png")
facebook_ads_green_hover=("green_hover.png")
top_bar=("top_bar.png")
settings_window=("settings.png")
friends=("friends.png")
save_changes=("save.png")
fix_icon=("Fixes.png")
in_facebook_ads_grey=("gray.png")
PF_common.locate_item_page_by_page(log_file,facebook_ads_green)
PF_common.verify(log_file,facebook_ads_green)
hover(facebook_ads_green)
PF_common.verify(log_file,facebook_ads_green_hover)
mouseMove(Location(1000,120))
click(facebook_ads_green)
sleep(2)
PF_common.verify(log_file,top_bar)
click(settings_window)
sleep(1)
click(friends)
sleep(1)
click(save_changes)
sleep(1)
click(fix_icon)
PF_common.verify(log_file, in_facebook_ads_grey)
示例12: PF_WebApp_FB01_NotFindableOnGoogle_GreenToGrey_FF1333
# 需要导入模块: import PF_common_FF [as 别名]
# 或者: from PF_common_FF import verify [as 别名]
def PF_WebApp_FB01_NotFindableOnGoogle_GreenToGrey_FF1333(log_file):
not_findable_on_google_selection=("1397117471782.png")
not_findable_on_google_checkbox=("1397117479256.png")
fix_icon=("1386167059528.png")
not_findable_on_google_grey=("1400241967433.png")
not_findable_on_google_grey_tooltip=("1389608848128.png")
not_findable_on_google_green=("1400245107042.png")
not_findable_on_google_tooltip=("1389608625303.png")
not_findable_on_google_tooltipclick=("1389608639369.png")
not_findable_on_google_topbar=("1391002661583.png")
#verify the above images
#print str(fix_icon)
PF_common.verify(log_file,not_findable_on_google_green)
sleep(1)
hover(not_findable_on_google_green)
PF_common.verify(log_file,not_findable_on_google_tooltip)
mouseMove(Location(1000,120))
click(not_findable_on_google_green)
PF_common.verify(log_file,not_findable_on_google_topbar)
PF_common.verify(log_file,not_findable_on_google_selection)
click(not_findable_on_google_checkbox)
sleep(3)
click(fix_icon)
PF_common.verify(log_file,not_findable_on_google_grey)
示例13: PF_WebApp_FB05_CleanYouTimeline_GreyToGreen_1343
# 需要导入模块: import PF_common_FF [as 别名]
# 或者: from PF_common_FF import verify [as 别名]
def PF_WebApp_FB05_CleanYouTimeline_GreyToGreen_1343(log_file):
apps_access_gray=("gray.png")
apps_access_gray_mouseover=("gray_hover.png")
top_bar=("top_bar.png")
fixes_icon=("fixes.png")
checkbox=("checkbox.png")
save=("save.png")
app_access_green=("green.png")
#verify the above images
#print str(top_bar)
PF_common.locate_item_page_by_page(log_file,apps_access_gray)
PF_common.verify(log_file,apps_access_gray)
hover(apps_access_gray)
PF_common.verify(log_file,apps_access_gray_mouseover)
mouseMove(Location(1000,120))
click(apps_access_gray)
sleep(2)
PF_common.verify(log_file, top_bar)
sleep(1)
PF_common.verify(log_file,checkbox)
while exists(checkbox):
click(checkbox)
sleep(2)
click(save)
sleep(2)
click(fixes_icon)
sleep(1)
PF_common.verify(log_file,app_access_green)
示例14: PF_WebApp_FB02_FaceMatchingOn_GreyToGreen_1377
# 需要导入模块: import PF_common_FF [as 别名]
# 或者: from PF_common_FF import verify [as 别名]
def PF_WebApp_FB02_FaceMatchingOn_GreyToGreen_1377(log_file):
FaceMatchingOn_grey=("gray-1.png")
FaceMatchingOn_hover=("gray_hover.png")
top_bar=("top_bar.png")
FaceMatchingOn_settings=("settings.png")
FaceMatchingOn_Changes=("noOne.png")
FaceMatchingOn_NoOne=("noOne_checked.png")
fix_icon=("Fixes.png")
FaceMatchingOff_green=("green.png")
#locate facematching item
PF_common.locate_item_page_by_page(log_file,FaceMatchingOn_grey)
PF_common.verify(log_file,FaceMatchingOn_grey)
hover(FaceMatchingOn_grey)
PF_common_FF.verify(log_file,FaceMatchingOn_hover)
mouseMove(Location(1000,120))
click(FaceMatchingOn_grey)
PF_common.verify(log_file,top_bar)
PF_common.verify(log_file,FaceMatchingOn_settings)
sleep(1)
click(Pattern(FaceMatchingOn_settings).similar(0.95))
sleep(1)
click(FaceMatchingOn_Changes)
PF_common.verify(log_file,FaceMatchingOn_NoOne)
click(fix_icon)
mouseMove(Location(1000,120))
PF_common.verify(log_file,FaceMatchingOff_green)
示例15: PF_WebApp_FB02_FaceMatchingOff_GreenToGrey_1378
# 需要导入模块: import PF_common_FF [as 别名]
# 或者: from PF_common_FF import verify [as 别名]
def PF_WebApp_FB02_FaceMatchingOff_GreenToGrey_1378(log_file):
face_matching_off_green=("green.png")
face_matching_off_hover=("green_hover.png")
#face_matching_off=("1387802685324.png")
top_bar=("top_bar.png")
none_click=("noOne_checked.png")
friends_selected=("friends_sected.png")
fixes_icon=("Fixes.png")
face_matching_on_grey=("gray.png")
PF_common.locate_item_page_by_page(log_file,face_matching_off_green)
PF_common.verify(log_file,face_matching_off_green)
hover(face_matching_off_green)
PF_common.verify(log_file,face_matching_off_hover)
mouseMove(Location(1000,120))
click(face_matching_off_green)
PF_common.verify(log_file,top_bar)
sleep(1)
click(none_click)
type(Key.DOWN)
sleep(1)
type(" ")
PF_common.verify(log_file,friends_selected)
click(fixes_icon)
mouseMove(Location(1000,120))
PF_common.verify(log_file,face_matching_on_grey)