当前位置: 首页>>代码示例>>Python>>正文


Python Helpers.mapAObjectLHN方法代码示例

本文整理汇总了Python中helperRecip.Helpers.Helpers.mapAObjectLHN方法的典型用法代码示例。如果您正苦于以下问题:Python Helpers.mapAObjectLHN方法的具体用法?Python Helpers.mapAObjectLHN怎么用?Python Helpers.mapAObjectLHN使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在helperRecip.Helpers.Helpers的用法示例。


在下文中一共展示了Helpers.mapAObjectLHN方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: testContractMapLHN

# 需要导入模块: from helperRecip.Helpers import Helpers [as 别名]
# 或者: from helperRecip.Helpers.Helpers import mapAObjectLHN [as 别名]
 def testContractMapLHN(self):
     self.testname="TestContractMapLHN"
     self.setup()
     util = WebdriverUtilities()
     util.setDriver(self.driver)
     element = Elements()
     grcobject = GRCObject()
     do = Helpers()
     do.setUtils(util, "Contract")
     do.login()
     contract_name = "Contract for Auto Mapping from LHN"  +do.getTimeId()
     last_created_object_link = do.createObject("Contract", contract_name)
     do.navigateToObjectWithSearch(contract_name, "Contract")
     for obj in grcobject.contract_map_to_lhn: 
         do.mapAObjectLHN(obj)
开发者ID:dtzinov,项目名称:ggrc-test,代码行数:17,代码来源:TestContractMapLHN.py

示例2: testMarketMapLHN

# 需要导入模块: from helperRecip.Helpers import Helpers [as 别名]
# 或者: from helperRecip.Helpers.Helpers import mapAObjectLHN [as 别名]
 def testMarketMapLHN(self):
     self.testname="TestMarketMapLHN"
     self.setup()
     util = WebdriverUtilities()
     util.setDriver(self.driver)
     element = Elements()
     grcobject = GRCObject()
     do = Helpers()
     do.setUtils(util, "Market")
     do.login()
     system_name = "Market for Auto Mapping from LHN"  +do.getTimeId()
     last_created_object_link = do.createObject("Market", system_name)
     #object_name = str(util.getTextFromXpathString(last_created_object_link)).strip() 
     do.navigateToObjectWithSearch(system_name, "Market")
     for obj in grcobject.market_map_to_lhn: 
         do.mapAObjectLHN(obj)
开发者ID:dtzinov,项目名称:ggrc-test,代码行数:18,代码来源:TestMarketMapLHN.py

示例3: testSystemsMapLHN

# 需要导入模块: from helperRecip.Helpers import Helpers [as 别名]
# 或者: from helperRecip.Helpers.Helpers import mapAObjectLHN [as 别名]
 def testSystemsMapLHN(self):
     self.testname="TestSystemMapLHN"
     self.setup()
     util = WebdriverUtilities()
     util.setDriver(self.driver)
     element = Elements()
     grcobject = GRCObject()
     do = Helpers()
     do.setUtils(util)
     do.login()
     system_name = "System for Auto Mapping from LHN"  +do.getTimeId()
     last_created_object_link = do.createObject("System", system_name)
     #object_name = str(util.getTextFromXpathString(last_created_object_link)).strip() 
     do.navigateToObject("System",last_created_object_link)
     for obj in grcobject.system_map_to_lhn: 
         do.mapAObjectLHN(obj)
         util.refreshPage()
开发者ID:SilasX,项目名称:ggrc-test,代码行数:19,代码来源:TestSystemsMapLHN.py


注:本文中的helperRecip.Helpers.Helpers.mapAObjectLHN方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。