02-03-2012 03:48 AM
Hello
I am usung the standard 'full feature' Testexec.exe as my user interface, and all is working fine.
But i need to get from the user a 'Batch ID' just once after the user presses the 'Test UUT' button (not once per UUT), and get this ID insterted into the test reports for all of the following UUT. Until a new test is started.
Where can i put the message box to get that behavior?
Paul
Solved! Go to Solution.
02-03-2012 04:46 AM
Which process model are you using?
02-03-2012 05:01 AM
I'm using the 'SequentialModel.seq'
02-03-2012 06:15 AM
You'll have to customize the sequential process model or switch to the batch process model
You can had a popup message to select the number of UUTs then loop on the sequentialModel.seq in your custom process model
02-03-2012 06:57 AM
Actually it was simpler than that. One of my collegues helped me out.
I just had to add a message popup into the 'PreUUTLoop'
02-03-2012 08:10 AM
Hmm my problems continue.
So i have used a 'message popup' step in the PreUUTLoop, and that works as required. I have used a text rersponse box, and that should put the user text into 'Step.Result.Response'
I then tried adding a post-expression of "FileGlobals.UUT_Batch_ID=Step.Result.Response" but the text doesnt get passed into the Global variable for some reason.
I even tried a Statement step after with "FileGlobals.UUT_Batch_ID=RunState.PreviousStep.Result.Response" but that doesnt work either.
Any ideas?
02-03-2012 08:32 AM
Ok, solved that. Stupid error - The value was being overwritten by the "" vlaue that was imported from the property loader, which of course happens after the PreUUT.