本文整理汇总了Python中helperRecip.Helpers.Helpers.verifyObjectValues方法的典型用法代码示例。如果您正苦于以下问题:Python Helpers.verifyObjectValues方法的具体用法?Python Helpers.verifyObjectValues怎么用?Python Helpers.verifyObjectValues使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类helperRecip.Helpers.Helpers
的用法示例。
在下文中一共展示了Helpers.verifyObjectValues方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: testControlEdit
# 需要导入模块: from helperRecip.Helpers import Helpers [as 别名]
# 或者: from helperRecip.Helpers.Helpers import verifyObjectValues [as 别名]
def testControlEdit(self):
self.testname="testControlEdit"
self.setup()
util = WebdriverUtilities()
util.setDriver(self.driver)
element = Elements()
do = Helpers()
grcobject = GRCObject()
do.setUtils(util)
do.Login()
last_created_object_link = do.CreateObject("Control")
object_name = util.getTextFromXpathString(last_created_object_link)
do.NavigateToObjectAndOpenObjectEditWindow("Control",last_created_object_link)
do.PopulateObjectInEditWindow( object_name , grcobject.control_elements, grcobject.control_values)
do.ShowHiddenValues()
do.verifyObjectValues( grcobject.control_elements, grcobject.control_values)
do.deleteObject()
示例2: testProjectEdit
# 需要导入模块: from helperRecip.Helpers import Helpers [as 别名]
# 或者: from helperRecip.Helpers.Helpers import verifyObjectValues [as 别名]
def testProjectEdit(self):
self.testname="testProjectEdit"
self.setup()
util = WebdriverUtilities()
util.setDriver(self.driver)
element = Elements()
do = Helpers()
grcobject = GRCObject()
do.setUtils(util)
do.login()
last_created_object_link = do.createObject("Project")
object_name = str(util.getTextFromXpathString(last_created_object_link)).strip()
do.navigateToObjectAndOpenObjectEditWindow("Project",last_created_object_link)
do.populateObjectInEditWindow( object_name , grcobject.project_elements, grcobject.project_values)
do.openObjectEditWindow()
do.showHiddenValues()
do.verifyObjectValues(grcobject.project_elements, grcobject.project_values)
do.deleteObject()