NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Test Progress and Login Authentication From my database

Hi I want to display the total test progress and individual test progress in my progress bar control.
 
I am doing customization of OI using c#
Please see the attached picture to get an overall idea.
 
i want to display two progress bar below the execution window which will show the
1. total test progress
2. individual test progress
 
3. Trace Window (list Box) - shows the test details
 
instead of status bar pane.
 
i got some idea .. we can use UI messages to do this . but i don't dono how to do it. either i have to poll every time using Engine.GetUIMessage. and also i want to display the test name and test parameters details in a list box(TraceWindow) below the progress bar so it will be updated after every test step is executed.
 
Also please list me what are all the events, methods which will be very useful to get the details about current step during execution.
 
 
 
Also i need one more clarification basically i not going to use teststand login authentication since it is storing the user information in .ini file. so i will get the user details from database. how can i tell teststand login authentication to use my database.
 
Thanks and Regards,
Srini
 
 
0 Kudos
Message 1 of 2
(3,055 Views)

Hey Srini,

So in answer to your first question.  All the properties and methods associated with a step can be found in the Help file for TestStand.  From TestStand go to Help>>TestStand Help...  Then in the Index tab type Step.  There will be a list of all the properties and methods in there.

You cannot have it automatically point to a database when a user logs in.  However, you could possible create a code module that will update the User.ini file using information from a database.  You would have to call this before they logged in.  So if you were creating your own OI then before it got to the login screen it would call the code that updated the ini file.  Or you could have a stand alone executable that could do it for you but they would have to run that executable before they tried to log in.

Hope that helps.

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 2 of 2
(3,025 Views)