NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Error in property loader on trying to load limt for 2 test with same name

Hi,

I have a test condition to test prestatus and poststatus,both of the tests has same limit as well.

so i had only one entry with test name in .csv file for limit.

in my seqence i called the test in two places ,am expecting the property loader to load the same limit for both the tests.

but am getting error when i have more than one test with same name in the sequence file.

can someone plese help me,how can i load limit for 2 test with same name from a single entry in .csv limit file.

 

 

Thanks in advance

 

0 Kudos
Message 1 of 7
(3,768 Views)

You could put the tests in two subsequences.

Have a look at the the example which ships with teststand. C:\Users\Public\Documents\National Instruments\TestStand 2010 SP1\Examples\PropertyLoader


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 2 of 7
(3,761 Views)

i tried that too.

i made it in two subsequence and call the property loader in both of them.

it's working fine while calling the first one.

and throwing error while the second subsequence is called...

 

Thanks for your response..

0 Kudos
Message 3 of 7
(3,759 Views)

You have to make sure that the start and end markers are defined properly. Make sure you have separate markers for each subsequence, you don't need to call property loader in each of the subsequence, rather you can just call it in the PreUUTLoop call back as shown in the example.

 

Also, there are many examples in that folder: This one would be useful for you.

 

C:\Users\Public\Documents\National Instruments\TestStand 2010 SP1\Examples\PropertyLoader\PropertyLoader.seq


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 4 of 7
(3,755 Views)

Thanks for your reply,

as per requirment am not allowed to have diffrent datamarker for those test.

i will be having the same datamarker for both of tem,is it possible t load the same limit for both of the tests?

 

Thanks in advance

0 Kudos
Message 5 of 7
(3,740 Views)

You could import locals and assign locals as the limits in tests possibly?


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 6 of 7
(3,735 Views)

Is this the only solution available?

i want to keep implemntation generic as like other Sequence

 

Thanks in Advance

0 Kudos
Message 7 of 7
(3,730 Views)