NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set 'Initial Response String' of Popup Message?

Hi,
There is no 'Browse...' option for the Initial Response String of Popup Message. I' m looking for a solution to fill in a string variable.
I tried the following as PreCondition:
Step.Result.Response=Locals.MessagePopupResponse
but this doesn't work!

Any suggestions?

Regards,
Sunny
0 Kudos
Message 1 of 5
(4,015 Views)
Hi Sunny,

Try and use the pre-expression built-in property for the step to assign a value to this step property at run time.

Hope this helps,

Nick
Message 2 of 5
(4,015 Views)
Hi Nick,

Sorry, i already used Pre Expression and not PreCondition as mentioned in my question, this
doesn't work!

Regards,
Sunny
0 Kudos
Message 3 of 5
(4,015 Views)
Hi Sunny,

The variable you need to set is:-

Step.DefaultResponse

Hope this helps,

Nick
Message 4 of 5
(4,015 Views)
Hi Nick,

Now it works!

Thanks,
Sunny
0 Kudos
Message 5 of 5
(4,015 Views)