Logo Search packages:      
Sourcecode: mago version File versions  Download package

def mago::application::main::Application::open (   self  ) 

Given an application, it tries to open it.
 

Definition at line 65 of file main.py.

00065                   :
        """
        Given an application, it tries to open it.
         
        """
        self._enable_a11y(True)
        ldtp.launchapp(self.LAUNCHER)
        self._enable_a11y(False)

        ldtp.wait(2)
        response = ldtp.waittillguiexist(self.name, '', 20)
        
        if response == 0:
            raise ldtp.LdtpExecutionError, "The " + self.name + " window was not found."    

    def is_opened(self):


Generated by  Doxygen 1.6.0   Back to index