Ejemplo n.º 1
0
    def __init__(self):
        Config.__init__(self)
        
        # Set current path to environment
#         os.environ['ANKI_PATH'] = (os.path.dirname(os.path.realpath(__file__)))
         
        os.environ['ANKI_ERRORS'] = "0"
        os.environ['ANKI_WARNINGS'] = "0"

        # Load interface elements and private functions for Login page
        self.loginPage = CRMFactoryPage.getLoginPage()
        
        # Load interface elements and private functions for Home page
        self.homePage = CRMFactoryPage.getHomePage()
        
        # Load interface elements and private functions for Manage Purchase page
        self.managePurchasePage = CRMFactoryPage.getManagePurchasePage()
       
        # Load interface elements and private functions for Header Section
        self.header = CRMFactoryPage.getHeaderSection()
        
        # Load interface elements and private functions for AddNewPurchaseRequest page
        self.addNewPurchaseRequestPage = CRMFactoryPage.getAddNewPurchaseRequest()
        
        # Load interface elements and private functions for EditPurchaseRequest page
        self.editPurchaseRequestPage = CRMFactoryPage.getEditPurchaseRequest()
      
        # Load interface elements and private functions for PurchaseRequestDetails page
        self.purchaseRequestDetails = CRMFactoryPage.getPurchaseRequestDetails()
Ejemplo n.º 2
0
 def __init__(self):
     '''
     Constructor
     '''
     Config.__init__(self)
Ejemplo n.º 3
0
 def __init__(self):
     '''
     Constructor
     '''
     Config.__init__(self)