03-20-2024 06:14 AM
Hi,
I have a sequence that it is usually launched by hand and uses some pop-up steps to determine and configure some options such as the report style, but now I have created an External App (in VB .NET) which launches the sequence. Is there a way to intercept that pop-ups steps by VB and select a button automatically? In this way my development will be shifted from the sequence to the VB code and moreover the Sequence can be always launched by hand without problem.
Thank you!
Best Regards,
Zuc
03-20-2024 09:31 AM - edited 03-20-2024 09:33 AM
Duplicate post
03-20-2024 09:32 AM
Is the TestStand engine being loaded in the vb.net process, i.e., is the vb.net application a TestStand user interface? Or is the vb.net application a separate process from the TestStand process?
03-20-2024 10:48 AM
Hi,
Nothing like that. The VB App set only which sequences have to be launched and the order in which they are launched.
Zuc
03-21-2024 01:34 PM
So your original question was "Is there a way to intercept that pop-ups steps by VB and select a button automatically?". Nothing built-in. TestStand is running in a separate process. I am not aware of many software utilities that can readily automate as you are suggesting.
One path could be to have the VB UI build a response file, and then the TestStand sequences can read those response file and if the required response is present the sequence could apply the response programmatically without prompting the user. That seems like the easiest solution. It is flexible and does not require a lot of development on your part.
03-22-2024 05:30 AM
HI,
In the end I have done something like that by uploading in the sequence a txt, modified by the VB App, with the FileGlobals set as I need. Obviously between the properties exported there is that button answer.
Thank you for the Help!
Best Regards,
Zuc