本文整理汇总了Python中PF_common.ifPassword方法的典型用法代码示例。如果您正苦于以下问题:Python PF_common.ifPassword方法的具体用法?Python PF_common.ifPassword怎么用?Python PF_common.ifPassword使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类PF_common
的用法示例。
在下文中一共展示了PF_common.ifPassword方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: PF_WebApp_LK04_Apps_checked_GreenToGreen_356
# 需要导入模块: import PF_common [as 别名]
# 或者: from PF_common import ifPassword [as 别名]
def PF_WebApp_LK04_Apps_checked_GreenToGreen_356(log_file):
AppsChecked_Green=("green.png")
AppsChecked_hover=("hover.png")
check_click=("click.png")
top_bar=("top_bar.png")
Settings=("settings.png")
fix_icon=("fixes.png")
AppsChecked_Green=("green.png")
#verify the above images
#print str(fix_icon)
PF_common.verify(log_file,AppsChecked_Green)
hover(AppsChecked_Green)
PF_common.verify(log_file,AppsChecked_hover)
click(check_click)
PF_common.ifPassword(log_file)
PF_common.verify(log_file,Settings)
PF_common.verify(log_file, top_bar)
click(fix_icon)
PF_common.verify(log_file,AppsChecked_Green)
示例2: PF_WebApp_LK02_CheckYourProfile_OrangeToGreen_1330
# 需要导入模块: import PF_common [as 别名]
# 或者: from PF_common import ifPassword [as 别名]
def PF_WebApp_LK02_CheckYourProfile_OrangeToGreen_1330(log_file):
CheckYourProfile_Orange=("1404736914050.png")
CheckYourProfile_hover=("1404736924035.png")
check_click=("1404736936417.png")
top_bar=("1404736959652.png")
CheckYourProfile_Settings=("1404736972202.png")
fix_icon=("1404736979721.png")
CheckYourProfile_Reviewed=("1404736999120.png")
#verify the above images
#print str(fix_icon)
PF_common.verify(log_file,CheckYourProfile_Orange)
hover(CheckYourProfile_Orange)
PF_common.verify(log_file,CheckYourProfile_hover)
click(check_click)
sleep(2)
PF_common.ifPassword(log_file)
PF_common.verify(log_file,CheckYourProfile_Settings)
PF_common.verify(log_file, top_bar)
click(fix_icon)
PF_common.verify(log_file,CheckYourProfile_Reviewed)
示例3: PF_WebApp_LK03_ProfileChengesVisable_OrangeToGrey_1325
# 需要导入模块: import PF_common [as 别名]
# 或者: from PF_common import ifPassword [as 别名]
def PF_WebApp_LK03_ProfileChengesVisable_OrangeToGrey_1325(log_file):
ProfileChengesVisable_Orange=("1404737580748.png")
ProfileChengesVisable_hover=("1404737590307.png")
check_click=("1404737600579.png")
top_bar=("1404737629863.png")
CheckYourProfile_Settings=("1404737644471.png")
fix_icon=("1404737662796.png")
CheckYourProfile_Reviewed=("1404737679018.png")
#verify the above images
#print str(fix_icon)
PF_common.verify(log_file,ProfileChengesVisable_Orange)
hover(ProfileChengesVisable_Orange)
PF_common.verify(log_file,ProfileChengesVisable_hover)
click(check_click)
PF_common.ifPassword(log_file)
PF_common.verify(log_file,CheckYourProfile_Settings)
PF_common.verify(log_file, top_bar)
click(fix_icon)
PF_common.verify(log_file,CheckYourProfile_Reviewed)
示例4: PF_WebApp_LK04_RemoveOldApps_OrangeToGreen_355
# 需要导入模块: import PF_common [as 别名]
# 或者: from PF_common import ifPassword [as 别名]
def PF_WebApp_LK04_RemoveOldApps_OrangeToGreen_355(log_file):
RemoveOldApps_Orange=("orange.png")
RemoveOldApps_hover=("hover.png")
check_click=("click.png")
top_bar=("top_bar.png")
Settings=("settings.png")
fix_icon=("fixes.png")
Appschecked_Reviewed=("green.png")
#verify the above images
#print str(fix_icon)
PF_common.verify(log_file,RemoveOldApps_Orange)
hover(RemoveOldApps_Orange)
PF_common.verify(log_file,RemoveOldApps_hover)
click(check_click)
sleep(2)
PF_common.ifPassword(log_file)
PF_common.verify(log_file,Settings)
PF_common.verify(log_file, top_bar)
click(fix_icon)
PF_common.verify(log_file,Appschecked_Reviewed)
示例5: PF_WebApp_LK01_ProfileVisitsVisible_OrangeToGrey_1326
# 需要导入模块: import PF_common [as 别名]
# 或者: from PF_common import ifPassword [as 别名]
def PF_WebApp_LK01_ProfileVisitsVisible_OrangeToGrey_1326(log_file):
ProfileVisitsVisible_orange=("1404727138623.png")
ProfileVisitsVisible_hover=("1404727159153.png")
top_bar=("1404727284774.png")
ProfileVisitsVisible_settings=("1404727312893.png")
fix_icon=("1404727339586.png")
ProfileVisitsVisible_allowed=("1404736556388.png")
#verify the above images
#print str(fix_icon)
PF_common.verify(log_file,ProfileVisitsVisible_orange)
hover(ProfileVisitsVisible_orange)
PF_common.verify(log_file,ProfileVisitsVisible_hover)
click(Pattern(ProfileVisitsVisible_hover).similar(0.50).targetOffset(0,-5))
sleep(3)
PF_common.ifPassword(log_file)
PF_common.verify(log_file,top_bar)
#PF_common.verify(log_file,ProfileVisitsVisible_settings)
click(fix_icon)
PF_common.verify(log_file,ProfileVisitsVisible_allowed)
示例6: PF_WebApp_LK03_ProfileChengesVisable_GreyToGreen_1338
# 需要导入模块: import PF_common [as 别名]
# 或者: from PF_common import ifPassword [as 别名]
def PF_WebApp_LK03_ProfileChengesVisable_GreyToGreen_1338(log_file):
ProfileChengesVisable_Grey=("1404737741488.png")
ProfileChengesVisable_hover=("1404737749709.png")
check_click=("1404737756607.png")
top_bar=("1404737629863-1.png")
CheckYourProfile_Settings=("1404737813279.png")
check_setting_click=("1404737825920.png")
click_save=("1404737859995.png")
success=("1404738118949.png")
fix_icon=("1404737865578.png")
CheckYourProfile_green=("1404737895250.png")
#verify the above images
#print str(fix_icon)
PF_common.verify(log_file,ProfileChengesVisable_Grey)
hover(ProfileChengesVisable_Grey)
PF_common.verify(log_file,ProfileChengesVisable_hover)
click(check_click)
sleep(2)
PF_common.ifPassword(log_file)
PF_common.verify(log_file,CheckYourProfile_Settings)
PF_common.verify(log_file, top_bar)
PF_common.verify(log_file,check_setting_click)
click(check_setting_click)
PF_common.verify(log_file,click_save)
click(click_save)
sleep(3)
PF_common.verify(log_file, success)
click(fix_icon)
PF_common.verify(log_file,CheckYourProfile_green)
示例7: PF_WebApp_LK03_ProfileChengesProtected_GreenToGrey_1340
# 需要导入模块: import PF_common [as 别名]
# 或者: from PF_common import ifPassword [as 别名]
def PF_WebApp_LK03_ProfileChengesProtected_GreenToGrey_1340(log_file):
ProfileChengesProtected_Green=("1404737977842.png")
ProfileChengesProtected_hover=("1404737987192.png")
check_click=("1404737996588.png")
top_bar=("1404738018536.png")
CheckYourProfile_Settings=("1404738027339.png")
check_setting_click=("1404738036197.png")
click_save=("1404738046044.png")
success=("1404738118949.png")
fix_icon=("1404738052231.png")
ProfileChangeVisible_grey=("1404738083119.png")
#verify the above images
#print str(fix_icon)
PF_common.verify(log_file,ProfileChengesProtected_Green)
hover(ProfileChengesProtected_Green)
PF_common.verify(log_file,ProfileChengesProtected_hover)
click(check_click)
sleep(3)
PF_common.ifPassword(log_file)
PF_common.verify(log_file,CheckYourProfile_Settings)
PF_common.verify(log_file, top_bar)
PF_common.verify(log_file,check_setting_click)
click(check_setting_click)
PF_common.verify(log_file,click_save)
click(click_save)
sleep(3)
PF_common.verify(log_file, success)
click(fix_icon)
PF_common.verify(log_file,ProfileChangeVisible_grey)
示例8: PF_WebApp_LK01_ProfileVisitsProtected_GreenToGrey_1328
# 需要导入模块: import PF_common [as 别名]
# 或者: from PF_common import ifPassword [as 别名]
def PF_WebApp_LK01_ProfileVisitsProtected_GreenToGrey_1328(log_file):
ProfileVisitsProtected_green=("1404727575602.png")
ProfileVisitsProtected_hover=("1404727588061.png")
top_bar=("1404727300695.png")
settings_saved=("1404727528522.png")
recommended_setting=("1404727625280.png")
save_setting=("1404727497030.png")
fix_icon=("1404727363177.png")
ProfileVisitsProtected_allowed=("1404735804215.png")
#verify the above images
#print str(fix_icon)
PF_common.verify(log_file,ProfileVisitsProtected_green)
hover(ProfileVisitsProtected_green)
PF_common.verify(log_file,ProfileVisitsProtected_hover)
click(Pattern(ProfileVisitsProtected_hover).similar(0.50).targetOffset(0,-5))
sleep(2)
PF_common.ifPassword(log_file)
PF_common.verify(log_file,top_bar)
PF_common.verify(log_file,recommended_setting)
click(Pattern(recommended_setting).similar(0.50).targetOffset(-122,0))
click(save_setting)
PF_common.verify(log_file,settings_saved)
click(fix_icon)
PF_common.verify(log_file,ProfileVisitsProtected_allowed)