The CitrixVirtualUserScript type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
CitrixVirtualUserScript | Initializes a new instance of the CitrixVirtualUserScript class |
Methods
Name | Description | |
---|---|---|
AcceptCancellation |
Called to accept the script response to the requested cancellation. It means this script would have ScriptStatus.Canceleld when afterwards.
If this method is not called and the scipt is successefuly finished, then the status of the script is ScriptStatus.RanToCompletion
(Inherited from VirtualUserScript.) | |
Add |
Merges the specified IDataDictionary into this IDataDictionary.
(Inherited from VirtualUserScript.) | |
CheckForBitmap(Int32, Int32, Int32, Int32, String, Int32, UInt32) | Obsolete.
Checks if a bitmap has appeared in an expected position
| |
CheckForBitmap(Int32, Int32, Int32, Int32, String, TimeSpan, UInt32) | Obsolete.
Checks if a bitmap has appeared in an expected position
| |
CheckForImage(String) |
Checks if an image has appeared anywhere on the screen.
| |
CheckForImage(String, Int32, Int32, Int32, Int32, UInt32) |
Checks if an image has appeared in an expected position
| |
CheckForImage(String, Int32, Int32, Int32, Int32, Int32, Int32) |
Checks if an image has appeared in an expected position
| |
CheckForImage(String, Int32, Int32, Int32, Int32, Int32, Int32, UInt32) |
Checks if an image has appeared in an expected position
| |
CheckForWindowTitle |
Checks to see if a window has been created.
| |
ClearEvents |
Clear the OccurredEvents list
| |
ClearProgressPoint |
Clears the current progress point set for this Virtual User.
(Inherited from VirtualUserScript.) | |
Click(String) |
Click the hot spot of the image.
| |
Click(Int32, Int32) |
Click the left mouse button.
| |
Click(String, Int32, Int32, Int32, Int32, Int32, Int32) |
Wait for an image to appear in an area of the screen and then click on it
| |
ClickFoundLocation |
Click the center of the last found image location
| |
CloseCitrixClient |
Close the form that hosts the Citrix client
| |
Connect |
Connect to the Citrix server
| |
CreateBackgroundScript |
Creates a new background script and starts it if requested.
(Inherited from VirtualUserScript.) | |
DeleteIcaFile |
Delete the ICA file at IcaFilePath | |
Disconnect |
Disconnect from the Citrix server
| |
DoubleClick(String) |
Double click the hot spot of the image.
| |
DoubleClick(Int32, Int32) |
Double click the left mouse button
| |
DoubleClick(String, Int32, Int32, Int32, Int32, Int32, Int32) |
Wait for an image to appear in an area of the screen and then double clicks on it
| |
DoubleClickFoundLocation |
Double click the hot spot of the last found image location
| |
EndRequest |
For internal use only.
(Inherited from VirtualUserScript.) | |
EndTiming(String) |
Writes an end timing event to the VU event log.
(Inherited from VirtualUserScript.) | |
EndTiming(String, Boolean) |
Writes an end timing event to the VU event log, specifying whether the timing passed.
(Inherited from VirtualUserScript.) | |
EndTransaction |
Writes an end transaction event to the VU event log, specifying whether the transaction passed,
and specifying a tag which appears in the Info column.
(Inherited from VirtualUserScript.) | |
EnterText(String) | Obsolete.
Type the text string
| |
EnterText(String, Int32) | Obsolete.
Type the text string
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Error(Exception) |
Writes an error message to the VU event log, which will consist of the details of the specified Exception.
(Inherited from VirtualUserScript.) | |
Error(String) |
Writes an error message to the VU event log.
(Inherited from VirtualUserScript.) | |
Error(String, Exception) |
Writes an error message to the VU event log, which will include the stack trace of the specified Exception.
(Inherited from VirtualUserScript.) | |
Error(String, String) |
Writes an error message to the VU event log, specifying an identifier which appears in the ID column.
(Inherited from VirtualUserScript.) | |
Error(String, String, String) |
Writes an error message and an image link to the VU event log, specifying an identifier which appears in the ID column.
(Inherited from VirtualUserScript.) | |
ExitVU |
Stops execution of this Virtual User.
(Inherited from VirtualUserScript.) | |
ExitVU(Boolean) |
Stops execution of this Virtual User, specifying whether the script completed successfully.
(Inherited from VirtualUserScript.) | |
ExitVU(String, Boolean) |
Stops execution of this Virtual User, specifying whether the script completed successfully and a message to display at the end of the event log.
(Inherited from VirtualUserScript.) | |
Fail |
Writes a fail event to the VU event log.
(Inherited from VirtualUserScript.) | |
FailTiming |
Writes a fail timing event to the VU event log.
(Inherited from VirtualUserScript.) | |
FailTransaction(String) |
Writes a fail transaction event to the VU event log.
(Inherited from VirtualUserScript.) | |
FailTransaction(String, String) |
Writes a fail transaction event to the VU event log, specifying a tag which appears in the Info column.
(Inherited from VirtualUserScript.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FinalSequence |
Stops execution of the current script and then executes the scripts in the final section of the current workflow.
(Inherited from VirtualUserScript.) | |
FindText(String, Int32, Int32, Int32, Int32, OCROptions) |
Use OCR to find some text in an area of the screen.
| |
FindText(String, Int32, Int32, Int32, Int32, String, IList String , IList String , String, String, Rotation) |
Use OCR to find some text in an area of the screen.
| |
FinishIterating |
Prevents further iterations of the iterated sequence of scripts for this Virtual User.
(Inherited from VirtualUserScript.) | |
FlushEventLog |
Flushes the event log to disk.
(Inherited from VirtualUserScript.) | |
Get(String) |
Returns a reference to an object held in the dictionary.
(Inherited from VirtualUserScript.) | |
Get(String, Object) |
Returns an object value held in the dictionary, or the defaultValue if the key cannot be found.
(Inherited from VirtualUserScript.) | |
Get T (String, T) |
Returns a reference to an object held in the dictionary.
(Inherited from VirtualUserScript.) | |
GetBackgroundScriptStatus |
Returns a status of the given background script
(Inherited from VirtualUserScript.) | |
GetBoolean(String) |
Returns a boolean value held in the dictionary.
(Inherited from VirtualUserScript.) | |
GetBoolean(String, Boolean) |
Returns a boolean value held in the dictionary, or the defaultValue if the key cannot be found.
(Inherited from VirtualUserScript.) | |
GetDataDictionary |
Gets the Data Dictionary named with the specified key and assigned to the Virtual User in eggPlant Performance Studio.
(Inherited from VirtualUserScript.) | |
GetDataTable |
Gets the specified Data Table.
(Inherited from VirtualUserScript.) | |
GetDouble(String) |
Returns a double value held in the dictionary.
(Inherited from VirtualUserScript.) | |
GetDouble(String, Double) |
Returns a double value held in the dictionary, or the defaultValue if the key cannot be found.
(Inherited from VirtualUserScript.) | |
GetEnumerator |
Gets an enumerator for iterating over the key/value pairs in this dictionary.
(Inherited from VirtualUserScript.) | |
GetFloat(String) |
Returns a float value held in the dictionary.
(Inherited from VirtualUserScript.) | |
GetFloat(String, Single) |
Returns a float value held in the dictionary, or the defaultValue if the key cannot be found.
(Inherited from VirtualUserScript.) | |
GetGroupSize |
Gets the number of Virtual Users in the specified Virtual User group.
(Inherited from VirtualUserScript.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetImageInfo |
Get the ImageInfo for an image file
| |
GetInt(String) |
Returns an int value held in the dictionary.
(Inherited from VirtualUserScript.) | |
GetInt(String, Int32) |
Returns an int value held in the dictionary, or the defaultValue if the key cannot be found.
(Inherited from VirtualUserScript.) | |
GetList(String) |
Returns an ArrayList value held in the dictionary.
(Inherited from VirtualUserScript.) | |
GetList(String, ArrayList) |
Returns an ArrayList value held in the dictionary, or the defaultList if the key cannot be found.
(Inherited from VirtualUserScript.) | |
GetLong(String) |
Returns a long value held in the dictionary.
(Inherited from VirtualUserScript.) | |
GetLong(String, Int64) |
Returns a long value held in the dictionary, or the defaultValue if the key cannot be found.
(Inherited from VirtualUserScript.) | |
GetProtocol |
Gets a Protocol by looking up a string in this Virtual User's data dictionary.
(Inherited from WebBrowserScript.) | |
GetService T |
Get a Service object of the given type.
(Inherited from VirtualUserScript.) | |
GetString(String) |
Returns a string value held in the dictionary.
(Inherited from VirtualUserScript.) | |
GetString(String, String) |
Returns a string value held in the dictionary, or the defaultValue if the key cannot be found.
(Inherited from VirtualUserScript.) | |
GetTimingElapsedTime |
Gets the elapsed time of the current active timing.
(Inherited from VirtualUserScript.) | |
GetTransactionData |
Get data about the specified transaction.
(Inherited from VirtualUserScript.) | |
GetTransactionElapsedTime |
Gets the current elapsed time of the transaction with the specified id and tag.
(Inherited from VirtualUserScript.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUniqueID |
Gets a test-wide unique identifier for a specified Virtual User within a Virtual User group.
(Inherited from VirtualUserScript.) | |
HasKey |
Determines whether the specified key is contained within the dictionary.
(Inherited from VirtualUserScript.) | |
KeyDown |
Depress a key on the keyboard.
| |
KeyUp |
Release a key on the keyboard.
| |
LoadIcaFile |
Load a Citrix ICA file from disk.
| |
LoadIcaFile(String) |
Load a Citrix ICA file from disk.
| |
LogCurrentDataValues |
Write all of the current data values to the VU event log
(Inherited from VirtualUserScript.) | |
Logoff |
Logs off from the Citrix server
| |
LogScreenshot(String, String) |
Take a screenshot of the entire screen, and add a message and link to the screenshot into the event log.
| |
LogScreenshot(String, Int32, Int32, Int32, Int32, String) |
Take a screenshot of a portion of the screen, and add a message and link to the screenshot into the event log.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MouseClick(Int32, Int32, Int32, Int32) |
Click a mouse button.
| |
MouseClick(MouseButton, KeyModifier, Int32, Int32) |
Click a mouse button.
| |
MouseDoubleClick(Int32, Int32, Int32, Int32) |
Double click a mouse button.
| |
MouseDoubleClick(MouseButton, KeyModifier, Int32, Int32) |
Double click a mouse button.
| |
MouseDown(Int32, Int32, Int32, Int32) |
Press down a mouse button.
| |
MouseDown(MouseButton, KeyModifier, Int32, Int32) |
Press down a mouse button.
| |
MouseDrag(Int32, Int32, Int32, Int32, Int32, Int32) |
Drag the mouse to a point on the screen.
| |
MouseDrag(Int32, Int32, Int32, Int32, Int32, Int32, Int32) |
Drag the mouse to a point on the screen.
| |
MouseDrag(MouseButton, KeyModifier, Int32, Int32, Int32, Int32, Int32) |
Drag the mouse to a point on the screen.
| |
MouseMove(String) |
Wait for an image to appear anywhere on the screen and then move the mouse over it
| |
MouseMove(MouseButton, KeyModifier, String) |
Wait for an image to appear anywhere on the screen and then move the mouse over it
| |
MouseMove(Int32, Int32, Int32, Int32) |
Move the mouse cursor directly to a point on the screen.
| |
MouseMove(Int32, Int32, Int32, Int32, Int32) | Obsolete.
Move the mouse cursor directly to a point on the screen.
| |
MouseMove(MouseButton, KeyModifier, Int32, Int32, Int32) | Obsolete.
Move the mouse cursor.
| |
MouseMove(Int32, Int32, Int32, Int32, Int32, Int32) |
Move the mouse cursor.
| |
MouseMove(MouseButton, KeyModifier, Int32, Int32, Int32, Int32) |
Move the mouse cursor.
| |
MouseMove(String, Int32, Int32, Int32, Int32, Int32, Int32) |
Wait for an image to appear in an area of the screen and then move the mouse over it
| |
MouseMove(MouseButton, KeyModifier, String, Int32, Int32, Int32, Int32, Int32, Int32) |
Wait for an image to appear in an area of the screen and then move the mouse over it
| |
NextIteration |
Stops execution of the current script, and starts execution of the next iteration.
(Inherited from VirtualUserScript.) | |
NextScript |
Stops execution of the current script, and starts execution of the next script in the sequence.
(Inherited from VirtualUserScript.) | |
NextSequence |
Stops execution of the current script and any other scripts in the current sequence, and starts execution of the next sequence of scripts.
(Inherited from VirtualUserScript.) | |
OnBackgroundScriptCancellation |
Called when the background script executing in a loop is cancelled
(Inherited from VirtualUserScript.) | |
Pause(Int32) |
Pauses the execution of the script for a specified interval (modified by PauseFactor).
(Inherited from VirtualUserScript.) | |
Pause(VirtualUserScript) |
Pauses the execution of the script.
(Inherited from VirtualUserScript.) | |
Ping |
Ping the Citrix server
| |
Pre |
This method is called just before this script is executed for the first time.
(Inherited from VirtualUserScript.) | |
RaiseAlert |
Writes an alert of the specified severity to the Alerts table in Test Controller.
(Inherited from VirtualUserScript.) | |
ReadText(Int32, Int32, Int32, Int32, OCROptions) |
Use OCR to read some text from an area of the screen.
| |
ReadText(Int32, Int32, Int32, Int32, String, IList String , IList String , String, String, Rotation) |
Use OCR to read some text from an area of the screen.
| |
RecordMetric |
Records a user metric.
(Inherited from VirtualUserScript.) | |
RecordMetrics |
Records multiple user metrics simultaneously.
(Inherited from VirtualUserScript.) | |
RecordTransaction(String, DateTime, TimeSpan, Boolean) |
Records a transaction in the VU event log, specifying whether the transaction passed.
(Inherited from VirtualUserScript.) | |
RecordTransaction(String, Int32, Int32, Boolean) |
Records a transaction in the VU event log, specifying whether the transaction passed.
(Inherited from VirtualUserScript.) | |
RequestToStopBackgroundScript |
Requests currently running background script to stop.
Since it just requests it to stop, the background script must check periodically if it was asked to do so
and gracefully exit when detects it by checking this.ct.IsCancellationRequested flag.
(Inherited from VirtualUserScript.) | |
ResetDefaults |
Reset the default values to the standard default settings.
| |
Resume |
Resumes the background script (which was previously suspended)
(Inherited from VirtualUserScript.) | |
ResumeBackgroundScript |
Resumes currently suspended background script.
(Inherited from VirtualUserScript.) | |
ResumeTransaction |
Resumes the timing of the specified transaction,
identified by tag as well as id.
(Inherited from VirtualUserScript.) | |
RightClick(String) |
Right click the hot spot of the image.
| |
RightClick(Int32, Int32) |
Click the right mouse button.
| |
RightClick(String, Int32, Int32, Int32, Int32, Int32, Int32) |
Wait for an image to appear in an area of the screen and then right clicks on it
| |
RightClickFoundLocation |
Right click the hot spot of the last found image location
| |
SaveIcaFile |
Save the contents of an HTTP response as an ICA file.
| |
SaveScreenshotToFile(String) |
Saves a screenshot to file
| |
SaveScreenshotToFile(Int32, Int32, Int32, Int32, String) |
Save a screen portion to file
| |
Script |
This is the method which will be run by the VirtualUser when it executes this script,
and is where you should write your test script code.
(Inherited from VirtualUserScript.) | |
SelectRandomEntryFromList T |
Selects a random entry from a list stored in this Virtual User's data dictionary.
(Inherited from VirtualUserScript.) | |
Set(String, Object) |
Sets an object value in the dictionary.
(Inherited from VirtualUserScript.) | |
Set T (String, T) |
Sets an object value in the dictionary.
(Inherited from VirtualUserScript.) | |
SetBoolean |
Sets a boolean value in the dictionary.
(Inherited from VirtualUserScript.) | |
SetDouble |
Sets a double value in the dictionary.
(Inherited from VirtualUserScript.) | |
SetFloat |
Sets a float value in the dictionary.
(Inherited from VirtualUserScript.) | |
SetIcaProperty |
Set an ICA property before connecting to the Citrix server.
| |
SetInt |
Sets an int value in the dictionary.
(Inherited from VirtualUserScript.) | |
SetList |
Sets an ArrayList value in the dictionary.
(Inherited from VirtualUserScript.) | |
SetLong |
Sets a long value in the dictionary.
(Inherited from VirtualUserScript.) | |
SetProgressPoint(String) |
Sets a progress point in the VU event log.
(Inherited from VirtualUserScript.) | |
SetProgressPoint(String, Boolean) |
Sets a progress point in the VU event log, specifying whether the progress point passed.
(Inherited from VirtualUserScript.) | |
SetProgressPoint(String, String, Boolean) |
Sets a progress point in the VU event log, specifying whether the progress point passed,
and specifying extra information which appears in the Info column.
(Inherited from VirtualUserScript.) | |
SetString |
Sets a string value in the dictionary.
(Inherited from VirtualUserScript.) | |
SetSynchronizationPoint |
Set a named synchronization point.
(Inherited from VirtualUserScript.) | |
Sleep |
Sleep for a number of milliseconds
| |
StartBackgroundScript |
Starts previously created and not started background script
(Inherited from VirtualUserScript.) | |
StartCitrixClient |
Create a form that hosts a citrix client
| |
StartRequest |
For internal use only.
(Inherited from VirtualUserScript.) | |
StartTiming |
Writes a start timing event to the VU event log.
(Inherited from VirtualUserScript.) | |
StartTransaction |
Writes a start transaction event to the VU event log,
specifying a tag which appears in the Info column.
(Inherited from VirtualUserScript.) | |
StopBackgroundScriptImmediately |
Tells the script to stop immediately. It will result in the script terminating if it calls any
API or exits itself by checking this.ct.IsCancellationRequested flag.
Mind that if it does something in a tight loop or made a call to another library
it can take as much time as it needed to finish those operations.
(Inherited from VirtualUserScript.) | |
StopOCREngine |
Stop the OCR engine for this Virtual User.
| |
Suspend |
Asks the background script to suspend
(Inherited from VirtualUserScript.) | |
SuspendBackgroundScript |
Suspends currently executing background script.
(Inherited from VirtualUserScript.) | |
SuspendTransaction |
Suspends the timing of the specified transaction,
identified by tag as well as id.
(Inherited from VirtualUserScript.) | |
TimeToPause |
Gets the length of time that this Virtual User would pause for if Pause(Int32)
were called with the specified interval.
(Inherited from VirtualUserScript.) | |
ToString |
Returns a string representation of the IDataDictionary
belonging to this Virtual User
(Inherited from VirtualUserScript.) | |
TryToSuspend |
Try to suspend a background script. It won't succeed if it is already locked by another script/VU.
(Inherited from VirtualUserScript.) | |
TypeText |
Enter a string of characters.
| |
UnsetSynchronizationPoint |
Unset a named synchronization point.
(Inherited from VirtualUserScript.) | |
Verify |
Verifies that a boolean expression is true.
(Inherited from VirtualUserScript.) | |
VerifyEQ(Int32, Int32, Boolean) |
Verifies that two integers are equal.
(Inherited from VirtualUserScript.) | |
VerifyEQ(Int64, Int64, Boolean) |
Verifies that two longs are equal.
(Inherited from VirtualUserScript.) | |
VerifyEQ(Double, Double, Double, Boolean) |
Verifies that two doubles are equal.
(Inherited from VirtualUserScript.) | |
VerifyEQ(String, String, Boolean, Boolean) |
Verifies that two strings are equal.
(Inherited from VirtualUserScript.) | |
VerifyLE(Int32, Int32, Boolean) |
Verifies that one integer is less than or equal to another.
(Inherited from VirtualUserScript.) | |
VerifyLE(Int64, Int64, Boolean) |
Verifies that one long is less than or equal to another.
(Inherited from VirtualUserScript.) | |
VerifyLE(Double, Double, Double, Boolean) |
Verifies that one double is less than or equal to another.
(Inherited from VirtualUserScript.) | |
VerifyLE(String, String, Boolean, Boolean) |
Verifies that one string is less than or equal to another.
(Inherited from VirtualUserScript.) | |
VerifyLT(Int32, Int32, Boolean) |
Verifies that one integer is less than another.
(Inherited from VirtualUserScript.) | |
VerifyLT(Int64, Int64, Boolean) |
Verifies that one long is less than another.
(Inherited from VirtualUserScript.) | |
VerifyLT(Double, Double, Double, Boolean) |
Verifies that one double is less than another.
(Inherited from VirtualUserScript.) | |
VerifyLT(String, String, Boolean, Boolean) |
Verifies that one string is less than another.
(Inherited from VirtualUserScript.) | |
WaitFor T |
Returns a reference to an object stored in the data dictionary. If the object is not yet in the data dictionary, then this method will wait for
up to the timeout for the object to be added. For example, a foreground script may need to wait for a background script to put an object into
the data dictionary before continuing.
(Inherited from VirtualUserScript.) | |
WaitForBackgroundScriptToFinish |
Waits for the background script to finish work in the given timeout,
if timeout is not provided or null it waits until the tasks finish (if at all),
if timeout is not null, then it returns false if it expired before the timeout reached.
(Inherited from VirtualUserScript.) | |
WaitForBoolean |
Returns a bool stored in the data dictionary. If the bool is not yet in the data dictionary, then this method will wait for
up to the timeout for the bool to be added. For example, a foreground script may need to wait for a background script to put a bool into
the data dictionary before continuing.
(Inherited from VirtualUserScript.) | |
WaitForDouble |
Returns a double stored in the data dictionary. If the double is not yet in the data dictionary, then this method will wait for
up to the timeout for the double to be added. For example, a foreground script may need to wait for a background script to put a double into
the data dictionary before continuing.
(Inherited from VirtualUserScript.) | |
WaitForEvent(CitrixEvent) |
Wait for a particular CitrixEvent to occur, timing out after the DefaultTimeout period
| |
WaitForEvent(CitrixEventType) |
Wait for a particular CitrixEvent to occur, timing out after the DefaultTimeout period
| |
WaitForEvent(CitrixEventType, String) |
Wait for a particular CitrixEvent to occur, timing out after the DefaultTimeout period.
| |
WaitForEvent(CitrixEvent, Int32, WindowCaptionMatchType) |
Wait for the given event to occur
| |
WaitForEvent(CitrixEvent, TimeSpan, WindowCaptionMatchType) |
Wait for the given event to occur
| |
WaitForEvent(CitrixEventType, String, WindowCaptionMatchType) |
Wait for a particular CitrixEvent to occur, timing out after the DefaultTimeout period
| |
WaitForEvent(CitrixEventType, String, WindowCaptionMatchType, Int32) |
Wait for a particular CitrixEvent to occur
| |
WaitForFloat |
Returns a float stored in the data dictionary. If the float is not yet in the data dictionary, then this method will wait for
up to the timeout for the float to be added. For example, a foreground script may need to wait for a background script to put a float into
the data dictionary before continuing.
(Inherited from VirtualUserScript.) | |
WaitForImage(String) |
Wait for an image to appear anywhere on the screen
| |
WaitForImage(String, Int32, Int32, Int32, Int32, Int32) |
Wait for an image to appear in an area of the screen
| |
WaitForImage(String, Int32, Int32, Int32, Int32, Int32, Int32) |
Wait for an image to appear in an area of the screen
| |
WaitForImage(String, Int32, Int32, Int32, Int32, Int32, Int32, UInt32) |
Wait for an image to appear in an area of the screen
| |
WaitForInt |
Returns an integer stored in the data dictionary. If the integer is not yet in the data dictionary, then this method will wait for
up to the timeout for the integer to be added. For example, a foreground script may need to wait for a background script to put an integer into
the data dictionary before continuing.
(Inherited from VirtualUserScript.) | |
WaitForList |
Returns an ArrayList stored in the data dictionary. If the ArrayList is not yet in the data dictionary, then this method will wait for
up to the timeout for the ArrayList to be added. For example, a foreground script may need to wait for a background script to put an ArrayList into
the data dictionary before continuing.
(Inherited from VirtualUserScript.) | |
WaitForLong |
Returns a long stored in the data dictionary. If the long is not yet in the data dictionary, then this method will wait for
up to the timeout for the long to be added. For example, a foreground script may need to wait for a background script to put a long into
the data dictionary before continuing.
(Inherited from VirtualUserScript.) | |
WaitForScreenChange(Int32, Int32, Int32, Int32, String, UInt32) |
Wait for a portion of the screen to change.
| |
WaitForScreenChange(Int32, Int32, Int32, Int32, String, Int32, Int32, UInt32, UInt32) |
Wait for a portion of the screen to change.
| |
WaitForScreenMatch(Int32, Int32, Int32, Int32, String, UInt32) | Obsolete.
Wait for an image to appear in a specified portion of the screen.
| |
WaitForScreenMatch(Int32, Int32, Int32, Int32, String, Int32, Int32, Int32, UInt32) | Obsolete.
Wait for an image to appear in a specified portion of the screen.
| |
WaitForScreenMatch(Int32, Int32, Int32, Int32, String, TimeSpan, TimeSpan, Int32, UInt32) | Obsolete.
Wait for an image to appear in a specified portion of the screen.
| |
WaitForScreenMatch(Int32, Int32, Int32, Int32, String, TimeSpan, TimeSpan, Int32, UInt32, UInt32) | Obsolete.
Wait for an image to appear in a specified portion of the screen.
| |
WaitForString |
Returns a reference to a string stored in the data dictionary. If the string is not yet in the data dictionary, then this method will wait for
up to the timeout for the string to be added. For example, a foreground script may need to wait for a background script to put a string into
the data dictionary before continuing.
(Inherited from VirtualUserScript.) | |
WaitForSynchronizationPoint(String, Int64) |
Wait for a named synchronization point to be set.
(Inherited from VirtualUserScript.) | |
WaitForSynchronizationPoint(String, TimeSpan) |
Wait for a named synchronization point to be set.
(Inherited from VirtualUserScript.) | |
WaitForText(String, Int32, Int32, Int32, Int32, Int32, Int32, OCROptions) |
Use OCR to wait for some text to appear in an area of the screen.
| |
WaitForText(String, Int32, Int32, Int32, Int32, String, IList String , IList String , String, String, Rotation) |
Use OCR to wait for some text to appear in an area of the screen.
| |
WaitForText(String, Int32, Int32, Int32, Int32, Int32, Int32, String, IList String , IList String , String, String, Rotation) |
Use OCR to wait for some text to appear in an area of the screen.
| |
Warn(Exception) |
Writes a warning message to the VU event log, consisting of the specified exception
(Inherited from VirtualUserScript.) | |
Warn(String) |
Writes a warning message to the VU event log.
(Inherited from VirtualUserScript.) | |
Warn(String, String) |
Writes a warning message to the VU event log, specifying an identifier which appears in the ID column.
(Inherited from VirtualUserScript.) | |
Warn(String, String, String) |
Writes a warning message and an image link to the VU event log, specifying an identifier which appears in the ID column.
(Inherited from VirtualUserScript.) | |
WhereAmI |
Returns a stack trace for this Virtual User.
(Inherited from VirtualUserScript.) | |
WriteMessage(Exception) |
Write an information message to the VU event log, consisting of the exception specified.
(Inherited from VirtualUserScript.) | |
WriteMessage(String) |
Writes an information message to the VU event log.
(Inherited from VirtualUserScript.) | |
WriteMessage(String, String) |
Writes an information message to the VU event log, specifying an identifier which appears in the ID column.
(Inherited from VirtualUserScript.) | |
WriteMessage(String, String, String) |
Writes an information message to the VU event log and also a link to an image, specifying an identifier which appears in the ID column.
(Inherited from VirtualUserScript.) | |
WriteSystemLog(String) |
Writes an alert of Error severity to the Alerts table in Test Controller.
(Inherited from VirtualUserScript.) | |
WriteSystemLog(String, String) |
Writes an alert of Error severity to the Alerts table in Test Controller, specifying a heading to prefix to the message.
(Inherited from VirtualUserScript.) |
Fields
Name | Description | |
---|---|---|
ct |
A helper object used to communicate between main and foreground scripts. Background script is normally use it to check to see if it needs to exit.
(Inherited from VirtualUserScript.) | |
isMainScript |
Internal use only.
(Inherited from VirtualUserScript.) | |
NoMatch |
The Rectangle that is returned if no match can be found for an image search
|
Properties
Name | Description | |
---|---|---|
ActiveWindows |
Get the list of active windows
| |
Address |
Get/set the Address of the Citrix server.
| |
Application |
The name of the Citrix application.
| |
AxICAClient |
Get the underlying Citrix ActiveX control.
| |
BackgroundScriptID |
Gets the script ID, which was provided when this script was started as a background script.
(Inherited from VirtualUserScript.) | |
BackgroundScriptIDs |
Returns a list of currently registered wtih the VU background script IDs.
(Inherited from VirtualUserScript.) | |
Connected |
Indicates if the Citrix session is connected to the server.
| |
CurrentIteration |
Gets the number of the iteration that this Virtual User is currently executing (beginning at 1).
(Inherited from VirtualUserScript.) | |
CurrentTransaction |
Gets the name of the transaction that is currently in progress.
(Inherited from VirtualUserScript.) | |
DataDictionary |
Gets the Data Dictionary belonging to this VirtualUser.
(Inherited from VirtualUserScript.) | |
DataPath |
Gets the path to the data folder.
(Inherited from VirtualUserScript.) | |
DefaultImageMatchTolerance |
Get/set the default tolerance for matching each pixel in an image
| |
DefaultLanguage |
Get/set the default language to use for OCR
| |
DefaultMaxDiscrepancy |
Get/set the default maximum discrepancy for image matches.
| |
DefaultPollFrequency |
The default poll frequency for screen matches/changes, in milliseconds.
| |
DefaultSearchRadius |
The default search radius to use when searching for bitmaps.
| |
DefaultTimeout |
Get/set the default timeout period for checks, in milliseconds.
| |
DefaultWorkInterval |
The default time delay before a mouse or keyboard action is performed.
| |
DoubleClickDelay |
Get/set the time in milliseconds between the first MouseUp and second MouseDown in a DoubleClick.
| |
ElapsedTime |
Gets the elapsed time since the beginning of the test, in milliseconds.
(Inherited from VirtualUserScript.) | |
FilesDataPath |
Gets the path of the data\Files folder.
(Inherited from VirtualUserScript.) | |
FinishIteratingRequested |
Gets a value that indicates whether this Virtual User has been requested to finish iterating.
(Inherited from VirtualUserScript.) | |
GroupSize |
Gets the number of Virtual Users in the group that this Virtual User belongs to.
(Inherited from VirtualUserScript.) | |
GroupSizes |
Gets the number of Virtual Users in each Virtual User group.
(Inherited from VirtualUserScript.) | |
IcaClientCallTimeout |
Get/set the default ICA client call timeout.
| |
IcaFilePath |
Get the path of the ICA file for this VU.
| |
Index |
Gets the index number of this Virtual User within the Virtual User group that it belongs to.
(Inherited from VirtualUserScript.) | |
InitialDelay |
Gets the initial delay for this Virtual User, between the start of the test and the start of the first script execution.
(Inherited from VirtualUserScript.) | |
InjectorFamilyName |
Returns the injector family name
(Inherited from VirtualUserScript.) | |
InjectorName |
Returns the injector machine name
(Inherited from VirtualUserScript.) | |
IsFinalScript |
Gets a value that indicates whether the current executing script is within the final section of this Virtual User's workflow.
(Inherited from VirtualUserScript.) | |
IsFirstScript |
Gets a value that indicates whether the current executing script is the first script to be executed.
(Inherited from VirtualUserScript.) | |
IsInitialScript |
Gets a value that indicates whether the current executing script is within the initial section of this Virtual User's workflow.
(Inherited from VirtualUserScript.) | |
IsIteratedScript |
Gets a value that indicates whether the current executing script is within the repeated section of this Virtual User's workflow.
(Inherited from VirtualUserScript.) | |
IsLastIteration |
Gets a value that indicates whether more iterations will occur for the current Virtual User.
(Inherited from VirtualUserScript.) | |
IsPacing |
Gets a value that indicates whether this Virtual User will adjust the delay between iterations to maintain a steady pace of iterations.
(Inherited from VirtualUserScript.) | |
Iteration |
Gets the number of the iteration that this Virtual User is currently executing (beginning at 0).
(Inherited from VirtualUserScript.) | |
IterationDelay |
Gets the delay time in milliseconds between iterations of the repeated sequence of scripts.
(Inherited from VirtualUserScript.) | |
IterationForTime |
Gets the time in milliseconds that the iterated sequence of scripts will iterate for.
(Inherited from VirtualUserScript.) | |
KeyDownDelay |
Delay between keydown and keyup (internally the wait before keydown).
| |
Keys |
Gets an enumerator that can be used to iterate over the keys in this dictionary.
(Inherited from VirtualUserScript.) | |
LastError |
Gets the most recent error encountered by this Virtual User.
(Inherited from VirtualUserScript.) | |
LastFoundLocation |
Get a Rectangle marking the location of the last image or piece of text that has been found.
| |
LastImageMatched |
Get the name of the last image to have been found.
| |
LastIterationDelay |
Gets the delay time in milliseconds between the previous iteration and the current iteration.
(Inherited from VirtualUserScript.) | |
LastTransaction |
Gets the name of the most recent transaction to have ended.
(Inherited from VirtualUserScript.) | |
MaxFailures |
Gets the maximum number of failures allowed in the script before this Virtual User terminates.
(Inherited from VirtualUserScript.) | |
MouseClickDelay |
Get/set the time in milliseconds between MouseDown and MouseUp actions
| |
MouseMoveTime |
Get/set the time in milliseconds to move the mouse.
| |
Name |
Gets or sets the name of this dictionary.
(Inherited from VirtualUserScript.) | |
NextKeyDelay |
Delay between key presses (internally the wait before keydown).
| |
NumberOfErrors |
Gets the number of errors that have been reported for this Virtual User.
(Inherited from VirtualUserScript.) | |
NumberOfFailures |
Gets the current number of script failures for this Virtual User.
(Inherited from VirtualUserScript.) | |
NumberOfIterations |
Gets the total number of iterations that the repeated sequence of scripts will execute.
(Inherited from VirtualUserScript.) | |
NumberOfWarmupIterations |
Gets or sets the number of warm-up iterations for this Virtual User.
(Inherited from VirtualUserScript.) | |
NumberOfWarnings |
Gets the number of warnings that have been reported for this Virtual User.
(Inherited from VirtualUserScript.) | |
OccurredEvents |
Get the list of Citrix Events that have occurred.
| |
PauseFactor |
Gets or sets the current percentage pause factor.
(Inherited from VirtualUserScript.) | |
ProgressPoint |
Gets the text of the most recent progress point that was set.
(Inherited from VirtualUserScript.) | |
ReadOnly |
Gets a value that indicates whether this dictionary is read-only.
(Inherited from VirtualUserScript.) | |
RecordScreenshotOnError |
Get/set a value indicating whether we should attempt to record a screenshot of the current state
whenever an error occurs
| |
RunPath |
Gets the path to the test run results.
(Inherited from VirtualUserScript.) | |
SandboxPath |
Gets the path to the sandbox location.
(Inherited from VirtualUserScript.) | |
ScreenHeight |
Get the height of the screen in pixels
| |
ScreenWidth |
Get the width of the screen in pixels
| |
ScriptName |
Gets the name of this Virtual User Script.
(Inherited from VirtualUserScript.) | |
TransactionLoggingOn |
Gets or sets a value that indicates whether transactions should be logged for this VU.
(Inherited from VirtualUserScript.) | |
UniqueID |
Gets a test-wide unique identifier for this Virtual User.
(Inherited from VirtualUserScript.) | |
VerboseLogging |
Get/set whether to add more information to the VU event log. Set to false to reduce the log sizes.
| |
VU |
Get the underlying CitrixVirtualUser
| |
VUName |
Gets the name of the group that this Virtual User belongs to.
(Inherited from VirtualUserScript.) | |
WebBrowser |
Gets the WebBrowser belonging to this Virtual User.
(Inherited from WebBrowserScript.) | |
WindowsEvents |
Filter for Citrix Events.
|
See Also