Forum Discussion

jaksky's avatar
16 years ago

Delay time specification

hi all,

is it possible to somehow specify a global variable for defining a time amout for delay within test case or test suit? (e.g. force to Delay activity value from variable)

Thanks

3 Replies

  • M_McDonald's avatar
    M_McDonald
    Super Contributor
    Not sure I understand the question. Do you mean that every test step would be delayed, or that the Delay step would have a global value?
  • I have a similar question and see that this doens't look like it was answered.

    I have multiple test cases in a test suite and each has a specific delay at one point in their test steps. I would like to define a global parameter and specify it for the delay.

    i.e. Insert Test Step -> Delay; popup dialog opens and I would like to specify something like
    ${#xyzBobDelayValue} which would read from the globalProperties values. This way I don't have to edit every single test case and change this delay value.

    Cheers,
    Sean
  • M_McDonald's avatar
    M_McDonald
    Super Contributor
    Insert the step and name it, then double click to open the Set Delay dialog; there you can place a property expansion like

    [tt:fc6p896o]${#Global#mydelaytime}[/tt:fc6p896o]

    This would read the [tt:fc6p896o]mydelaytime[/tt:fc6p896o] value from the global properties.

    Works for me in 3.5.1 build daily-2010-06-01-[1].