From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Status column in Execution View has no background color

Solved!
Go to solution

I've modified the simple operator interface's Execution View control to only show the following columns in this order:

 

  1. Step Name
  2. Requirements
  3. Description
  4. Status

In doing so I was forced to set the 'ApplicationMgr.UseStepListConfigurations' property to FALSE.


Everything works fine except the the Status Column I added.  I *do* see it say 'Passed', 'Failed' and 'Done' but there are no Green/Red/Light-blue background color to it like you get with the non-modified Execution View control.  I assume that I need to fill in the 'Background Color Expression' field but with what I'm not sure.

 

This leads me to two questions:

  1. Is there a better way of altering the visible columns, column order and caption names besides editing the SequenceView control property directly which requires me to  'ApplicationMgr.UseStepListConfigurations' property to FALSE?
  2. How do I get the standard functionality of the Status column back with respect to background color? (or foreground color if it changes that as well)

0 Kudos
Message 1 of 9
(4,982 Views)

Hi SeanDonner,

 

Could you give us some more information on how your modified the Execution View control? I'd like to recreate what you're seeing on my end as closely as possible.

Jorr-El
Systems Engineer
Testeract: Automated Test Specialists
0 Kudos
Message 2 of 9
(4,913 Views)

Thanks for the repsonse, here are some screen shots which step through what needs to be done to replicate this issue:

  1. Right Click on the Execution View Control --> SequenceView --> Properties
  2. Navigate to the Columns tab, ADD a new column and set its type to "Status" and set the name and caption to whatever you like (I called mine "Foo")
  3. Click OK and see the following popup informing that changes to the default control need to have a property set to FALSE
  4. Add a property node to the "Configure Application Manager.vi" as highlighted and set it to FALSE
  5. Load a sequence file and run it (I ran it as 'Single Pass') and then notice the background color is absent from the Status-type column

1.

1.png

 

2.2.png

 

3.

3.png

 

4.

4.png

 

5.

5.png


0 Kudos
Message 3 of 9
(4,909 Views)

Hi SeanDonner,

 

Here are some properties that might be helpful to you, specifically around the SequenceView object.

 

I think this might be the property that you're looking for

Setting the Background Color:

ItemBackColorExpression Property

http://zone.ni.com/reference/en-XX/help/370052R-01/tsuiref/reftopics/sequenceview_itembackcolorexpre...

 

Here is another that also might be helpful, as well as a list of all other properties that you can set in the SequenceView object

Setting the Text Color:

ItemTextColorExpression Property

http://zone.ni.com/reference/en-XX/help/370052R-01/tsuiref/reftopics/sequenceview_itemtextcolorexpre...

 

The higher-level list of properties for SequenceView:

http://zone.ni.com/reference/en-XX/help/370052R-01/tsuiref/reftopics/sequenceview/

Jorr-El
Systems Engineer
Testeract: Automated Test Specialists
0 Kudos
Message 4 of 9
(4,892 Views)
Solution
Accepted by topic author SeanDonner

Perfect! 

 

Here is the equation I used for the Status column to achieve the default dehavior in case others have this issue:

 

Step.Result.Status == "Failed" ? tsRed : 
    Step.Result.Status == "Passed" ? tsGreen :
        Step.Result.Status == "Skipped" ? tsGray :
            Step.Result.Status == "Done" ? tsCyan : tsDefaultColor

Let me know if I missed a possible Status value and what its associated color should be.

Thanks!


Message 5 of 9
(4,888 Views)

Sean,

 

You can find the other status values in the TestStand Help: Step Status help topic. I don't know the associated colors off the top of my head, but it shouldn't be hard to test.

 

-Trent

https://www.linkedin.com/in/trentweaver
0 Kudos
Message 6 of 9
(4,881 Views)

Thank you, i'll be sure to add the ones I missed 


0 Kudos
Message 7 of 9
(4,878 Views)

Can somebody explain why the color stopped showing up? I, too, have that situation where a test station used to show colors but has stopped, even though I have not changed anything.

0 Kudos
Message 8 of 9
(3,867 Views)

@rdecarre11 wrote:

Can somebody explain why the color stopped showing up? I, too, have that situation where a test station used to show colors but has stopped, even though I have not changed anything.


Hi rdecarree11,

 

When you set ApplicationMgr.UseStepListConfigurations to false you are removing the file that sets the colors (UserInterface.XML). The Step List Configuration sets "various options that determine fonts, colors, visible columns, and other aspects of the Steps pane." The options for editing Step List Configurations seems more intuitive in the development environment than in the LabVIEW UI. However, you can build your own Step List Configuration in the LabVIEW UI as users were doing above.

 

The UserInterface.xml file stores the multiple configurations for Viewing Files and Viewing Executions. You can find where the TestStand Step List Configurations are stored using the article linked below. 

 

"Where are my TestStand Step List Configurations Stored?" -

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000kHNESA2&l=en-US

 

Best,

David F.

Applications Engineering

National Instruments

www.ni.com/support

 

0 Kudos
Message 9 of 9
(3,855 Views)