Forum Discussion
Hi Dhirendra,
> when running the same using vbs file in silent mode
I believe that this means that your .vbs file is started by the scheduler and is running unattended without any user desktop.
If the above is correct, then this is the expected behavior: your user form is opened, but it cannot be displayed as there is no user desktop. Because the form is opened as modal, it blocks test execution and there are no means to close the form because of the absent desktop. This is generic Windows behavior - no UI is allowed in the code that is executed unattended.
The only solution is either not to display the form when code is running unattended or execute it only in the active user session that has an associated desktop.
Hi Alex,
Thank you for the information.
For ease of execution, we make use of vbs file to trigger the execution and not using scheduler.
And when we double click the vbs which has required line of code to open TestExecute with required properties, we expect the Modal pop-up to be displayed. But not being displayed. And we have dedicated desktop and we manually click the vbs file to trigger execution.
Pleas suggest.
Regards
Dhirendra