Wait statements are used in Silk Performer test scripts to simulate waiting periods produced by the user of a transaction (for example, the time for entering input data). Expr is the waiting period in seconds. Expr is a constant floating-point value or a random variable returning a floating-point value.
Stat = "wait" Expr.
dclrand r1 : RndExpF(5.5); r2 : RndUniF(0.5..10.0); ... dcluser user b1 transactions TMain(r2) : 20; dcltrans transaction TMain(p1: float) var artname : string(40); artno, price, I : number; result set c1; begin wait r1; c1: SelArticle(); fetch c1 all; for I := 1 to 3 do wait p1; fetch c1 set unique; if eos(c1) then exit end; wait 2.5; c2: UpdCurArticle(); end; end TMain;