SilkPerformer Citrix Tutorial - Borland Technical Publications

SilkPerformer Citrix Tutorial - Borland Technical Publications SilkPerformer Citrix Tutorial - Borland Technical Publications

techpubs.borland.com
from techpubs.borland.com More from this publisher
03.11.2014 Views

2 CREATING TEST SCRIPTS Trying Out a Generated Script 5 Click the Run button to resume continuous script processing. Skipping time-outs The SilkPerformer Citrix Player waits for all time-outs that are encountered during replay. To avoid waiting the full duration of time-outs (the default timeout is 60 secs.), click the Skip button to advance past them. Clicking the Skip button generates “user break” errors into scripts. Procedure To skip past synchronization function time-outs: 1 During a Citrix TryScript run, click the Toggle Log Window button in the upper right corner of the SilkPerformer Citrix Player to open the Log window. 32 SilkPerformer Citrix Tutorial

2 CREATING TEST SCRIPTS Trying Out a Generated Script 2 When replay encounters a time-out, click the Skip button to advance to the next function. Note that this will generate a “user break” error into the test script. Select Citrix script functions Following is a brief description of some common SilkPerformer Citrix functions. See SilkPerformer online help for full details regarding all available Citrix script functions. • CitrixWaitForWindowCreation, used for screen synchronization, is the most important Citrix function. The first parameter that synchronizations consider is the window caption. If during replay a window caption is returned that matches the caption of the window that was recorded during replay, then the verification succeeds. Note Wildcards (*) can also be specified at the end or beginning of window captions. The second parameter is the match parameter. Normally this is an exact, case-sensitive comparison of window caption strings. SilkPerformer Citrix Tutorial 33

2 CREATING TEST SCRIPTS<br />

Trying Out a Generated Script<br />

2 When replay encounters a time-out, click the Skip button to advance to<br />

the next function. Note that this will generate a “user break” error into<br />

the test script.<br />

Select <strong>Citrix</strong> script<br />

functions<br />

Following is a brief description of some common <strong>SilkPerformer</strong> <strong>Citrix</strong><br />

functions. See <strong>SilkPerformer</strong> online help for full details regarding all available<br />

<strong>Citrix</strong> script functions.<br />

• <strong>Citrix</strong>WaitForWindowCreation, used for screen synchronization, is the<br />

most important <strong>Citrix</strong> function.<br />

The first parameter that synchronizations consider is the window<br />

caption. If during replay a window caption is returned that matches the<br />

caption of the window that was recorded during replay, then the<br />

verification succeeds.<br />

Note Wildcards (*) can also be specified at the end or<br />

beginning of window captions.<br />

The second parameter is the match parameter. Normally this is an exact,<br />

case-sensitive comparison of window caption strings.<br />

<strong>SilkPerformer</strong> <strong>Citrix</strong> <strong>Tutorial</strong> 33

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!