shilpi_agarwal
10 years agoContributor
Result of aqObject.CheckProperty()
I am using an excel file as test data storage and compare popup message with expected value from excel file.
Following is the code snippet-
Call aqObject.CheckProperty(Aliases.prowin.dlgMessage.Static, "WndCaption", cmpEqual, Driver.Value(2), True)
prowin.dlgMessage.btnOK.ClickButton
loginMainWin.Close
prowin.wndProMainWin3.Close
When CheckProperty fails, any subsequent statements do not work, as a result application does not close and looks like hangs.
Is there anyway to return the result of CheckProperty method in some variable? or any other solution.
Please suggest.