Closing all the windows if it fails and continue the tests
Hello every one,
Rough code:
obj.Close()
if not client.WaitWindow("TMessageForm", "Warnung", 1).Exists:
Log.Checkpoint("Modification Test 1 - with out .i.o.")
else:
error = "\n"
Log.Error("Modification Test 1 - with out Fails", error)
obj. VCLObject("No").ClickButton()
and do the stuff............
................
cond.......
My question is, if the code executes at else condition the pop up window will be exist and I can close it by using yes select and click button but, Iam thinking is there any other way to close the pop-uped windows during the test ?
if so where can i find some examples so that I will learn about it.
if anybody have please let me know
Thanks and Regards
SivaKartheek Sreeram
Thanks any way for the info. I got an another idea regarding the issue. i.e If that conditions fails I am stooping the test case not doing the tests further.
thanks and regards
SivaKartheek Sreeram