本文整理汇总了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)
示例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)
示例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()