def _login(self):
    self.window.emailid.setText('a')
    self.window.password.setText('a')
    QtTest.QTest.mouseClick(self.window.loginButton, QtCore.Qt.LeftButton)
    QtWidgets.QApplication.processEvents()
def _login(self):
    self.window.emailid.setText('a')
    self.window.password.setText('a')
    QtTest.QTest.mouseClick(self.window.loginButton, QtCore.Qt.LeftButton)
    QtWidgets.QApplication.processEvents()