I am trying to write a test on python on Squish IDE to test a QT application. I was able to record the test using Squish , but i am not sure how to write the same by hand ?
Below is the recorded test
def main():
startApplication("hmi")
mouseClick(waitForObject(":Setup_Text"), 18, 5, 0, Qt.LeftButton)
activateItem(waitForObjectItem(":_QMenu", "Monitor setup X"))
mouseClick(waitForObject(":_Rectangle"), 33, 31, 0, Qt.LeftButton)
activateItem(waitForObjectItem(":_QMenu", "ECG X"))
mouseClick(waitForObject(":_Rectangle_2"), 65, 66, 0, Qt.LeftButton)
sendEvent("QCloseEvent", waitForObject(":_QDeclarativeView"))