Think time factors can be defined to manipulate think times on a global basis. When enabled, factors are multiplied to all think times that are included in scripts. The GetThinkTimeFactor function retrieves the active think time factor.
kernel.bdh
GetThinkTimeFactor( out fThinkTimefactor : float optional ): boolean;
true if think time adaptation using the think time factor is enabled
false otherwise
Parameter | Description |
---|---|
fThinkTimefactor | The float variable that will receive the currently defined think time factor. |
dcltrans transaction TmyTrans1 var fTTF : float; begin SetThinkTimeFactor(true, 1.2); ThinkTime(1.0); if GetThinkTimeFactor(fTTF) then Print("Think Time Factor: " + string(fTTF)); end; ThinkTime(1.0); end TmyTrans1;
Think Time Factor: 1.2