How could disable dialog box show when finished running testing case with TestExecute
Hi,
I just run some testing case from Jenkins using TestExecute. but I have a problem,
If the project have be finished, there will be a confirm dialog box appears , Probably because of I added Some Test app dynamically, changed some of the files in Original Project.
The trouble is if i don't close the dialog box manually , I see the jenkins cannot be stopped.
I am not sure if i could handle this problem In the following script?? Does anyone have a good idea
...
IF ERRORLEVEL 1001 GOTO NotEnoughDiskSpace
IF ERRORLEVEL 1000 GOTO AnotherInstance
IF ERRORLEVEL 127 GOTO DamagedInstall
IF ERRORLEVEL 4 GOTO Timeout
IF ERRORLEVEL 3 GOTO CannotRun
IF ERRORLEVEL 2 GOTO Errors
IF ERRORLEVEL 1 GOTO Warnings
IF ERRORLEVEL 0 GOTO Success
IF ERRORLEVEL -1 GOTO LicenseFailed
...
Look at TestExecute Command Line to see which parameter(s) can disable dialogs.
The automation should not be making any changes to either of its files in the project while running. I suggest you correct this.
The ErrorLevel are TC Exit Codes, which I don't think will cover your confirmation dialog.