NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TestStand control

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

0 Kudos
Message 1 of 6
(386 Views)

Duplicate post

Scott Richardson
https://testeract.com
0 Kudos
Message 2 of 6
(360 Views)

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?

Scott Richardson
https://testeract.com
0 Kudos
Message 3 of 6
(359 Views)

Hi,

 

Nothing like that. The VB App set only which sequences have to be launched and the order in which they are launched.

 

Zuc

0 Kudos
Message 4 of 6
(347 Views)

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.

Scott Richardson
https://testeract.com
0 Kudos
Message 5 of 6
(305 Views)

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

0 Kudos
Message 6 of 6
(290 Views)