public interface IClipboard
system clipboard
availble from RationalTestScript.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getText()
Returns a copy of the text from this clipboard.
|
boolean |
performTest(IFtVerificationPoint baseline)
Captures, compares and logs active clipboard text
against the supplied baseline data.
|
boolean |
performTest(IFtVerificationPoint baseline,
boolean compareTrueEqualsPass)
Captures, compares and logs active clipboard text against the supplied
baseline data.
|
boolean |
performTest(IFtVerificationPoint baseline,
double delayBetweenRetries,
double maximumTestTime)
Captures, compares and logs active clipboard text
against the supplied baseline data.
|
boolean |
performTest(IFtVerificationPoint baseline,
double delayBetweenRetries,
double maximumTestTime,
boolean compareTrueEqualsPass)
Captures, compares and logs clipboard text
against the supplied baseline data.
|
void |
setText(java.lang.String text)
Copy the supplied
text value to this clipboard. |
java.lang.String getText()
null
value is returned if no data has been copied to the clipboard or the
clipboard contains a non-text based value (such as an image).null.void setText(java.lang.String text)
text value to this clipboard.text - boolean performTest(IFtVerificationPoint baseline)
baseline - the baseline to compare the active data against.true value is returned if the passing result is
logged, otherwise false is returned.performTest(IFtVerificationPoint,boolean),
performTest(IFtVerificationPoint,double,double),
performTest(IFtVerificationPoint,double,double,boolean)boolean performTest(IFtVerificationPoint baseline, boolean compareTrueEqualsPass)
baseline - the baseline to compare the active data against.compareTrueEqualsPass - If true the expected
and actual data must match to get a passing result. If
false the expected and actual data must
NOT match to get a passing result.true value is returned if the passing result is
logged, false is returned for a failing result.performTest(IFtVerificationPoint),
performTest(IFtVerificationPoint,double,double),
performTest(IFtVerificationPoint,double,double,boolean)boolean performTest(IFtVerificationPoint baseline, double delayBetweenRetries, double maximumTestTime)
baseline - the baseline to compare the active data against.delayBetweenRetries - the delay in seconds after a failed result
is recaptured and retested.maximumTestTime - the maximum time in seconds spent attempting
to receive a passing result. Note that at least
one attempt will be made to return a failed
result, even if this value is a zero or negative
value.true value is returned if the passing result is
logged, false is returned for a failing result.performTest(IFtVerificationPoint),
performTest(IFtVerificationPoint,boolean),
performTest(IFtVerificationPoint,double,double,boolean)boolean performTest(IFtVerificationPoint baseline, double delayBetweenRetries, double maximumTestTime, boolean compareTrueEqualsPass)
baseline - the baseline to compare the active data against.delayBetweenRetries - the delay in seconds after a failed result
is recaptured and retested.maximumTestTime - the maximum time in seconds spent attempting
to receive a passing result. Note that at least
one attempt will be made to return a failed
result, even if this value is a zero or negative
value.compareTrueEqualsPass - If true the expected
and actual data must match to get a passing result. If
false the expected and actual data must
NOT match to get a passing result.true value is returned if the passing result is
logged, false is returned for a failing result.performTest(IFtVerificationPoint),
performTest(IFtVerificationPoint,boolean),
performTest(IFtVerificationPoint,double,double)