本文整理汇总了Python中helperRecip.Helpers.Helpers.populateObjectInEditWindow方法的典型用法代码示例。如果您正苦于以下问题:Python Helpers.populateObjectInEditWindow方法的具体用法?Python Helpers.populateObjectInEditWindow怎么用?Python Helpers.populateObjectInEditWindow使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类helperRecip.Helpers.Helpers
的用法示例。
在下文中一共展示了Helpers.populateObjectInEditWindow方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: testProjectEdit
# 需要导入模块: from helperRecip.Helpers import Helpers [as 别名]
# 或者: from helperRecip.Helpers.Helpers import populateObjectInEditWindow [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()