5.1.4 Graphics Component

Description:

Synopsis:

New Actions
Name Type Parameters
Check Enablement c

Boolean:Enabled

ABSTRACT_Widget_VerifyEnabled
Check Enablement of Context Menu Entry by Indexpath c

String:Indexpath
Boolean:Enabled
Integer:Mouse Button

ABSTRACT_Widget_PopupVerifyEnabledByIndexpath
Check Enablement of Context Menu Entry by Indexpath (Specify Position) c

Integer:x-position
String:x-units
Integer:y-position
String:y-units
String:Indexpath
Boolean:Enabled
Integer:Mouse Button

ABSTRACT_Widget_PopupVerifyEnabledByIndexpathPosition
Check Enablement of Context Menu Entry by Textpath c

String:Textpath
String:Operator
Boolean:Enabled
Integer:Mouse Button

ABSTRACT_Widget_PopupVerifyEnabledByTextpath
Check Enablement of Context Menu Entry by Textpath (Specify Position) c

Integer:x-position
String:x-units
Integer:y-position
String:y-units
String:Textpath
String:Operator
Boolean:Enabled
Integer:Mouse Button

ABSTRACT_Widget_PopupVerifyEnabledByTextpathPosition
Check Existence c

Boolean:Exists

ABSTRACT_Widget_VerifyExists
Check Existence of Context Menu Entry by Indexpath c

String:Indexpath
Boolean:Exists
Integer:Mouse Button

ABSTRACT_Widget_PopupVerifyExistsByIndexpath
Check Existence of Context Menu Entry by Indexpath (Specify Position) c

Integer:x-position
String:x-units
Integer:y-position
String:y-units
String:Indexpath
Boolean:Exists
Integer:Mouse Button

ABSTRACT_Widget_PopupVerifyExistsByIndexpathPosition
Check Existence of Context Menu Entry by Textpath c

String:Textpath
String:Operator
Boolean:Exists
Integer:Mouse Button

ABSTRACT_Widget_PopupVerifyExistsByTextpath
Check Existence of Context Menu Entry by Textpath (Specify Position) c

Integer:x-position
String:x-units
Integer:y-position
String:y-units
String:Textpath
String:Operator
Boolean:Exists
Integer:Mouse Button

ABSTRACT_Widget_PopupVerifyExistsByTextpathPosition
Check Focus c

Boolean:Has Focus

ABSTRACT_Widget_VerifyFocus
Check Property c

String:Property Name
String:Property Value
String:Operator

ABSTRACT_Widget_VerifyProperty
Check Selection of Context Menu Entry by Indexpath c

String:Indexpath
Boolean:Selected
Integer:Mouse Button

ABSTRACT_Widget_PopupVerifySelectedByIndexpath
Check Selection of Context Menu Entry by Indexpath (Specify Position) c

Integer:x-position
String:x-units
Integer:y-position
String:y-units
String:Indexpath
Boolean:Selected
Integer:Mouse Button

ABSTRACT_Widget_PopupVerifySelectedByIndexpathPosition
Check Selection of Context Menu Entry by Textpath c

String:Textpath
String:Operator
Boolean:Selected
Integer:Mouse Button

ABSTRACT_Widget_PopupVerifySelectedByTextpath
Check Selection of Context Menu Entry by Textpath (Specify Position) c

Integer:x-position
String:x-units
Integer:y-position
String:y-units
String:Textpath
String:Operator
Boolean:Selected
Integer:Mouse Button

ABSTRACT_Widget_PopupVerifySelectedByTextpathPosition
Click e

Integer:Number of Clicks
Integer:Mouse Button

ABSTRACT_Widget_Click
Click in Component e

Integer:Number of Clicks
Integer:Mouse Button
Integer:x-position
String:x-units
Integer:y-position
String:y-units

ABSTRACT_Widget_ClickDirect
Drag e

Integer:Mouse Button
String:Modifier Keys
Integer:x-position
String:x-units
Integer:y-position
String:y-units

ABSTRACT_Widget_Drag
Drop e

Integer:x-position
String:x-units
Integer:y-position
String:y-units
Integer:Delay before drop (milliseconds)

ABSTRACT_Widget_Drop
Select Context Menu Entry by Indexpath e

String:Indexpath
Integer:Mouse Button

ABSTRACT_Widget_PopupSelectByIndexPathNew
Select Context Menu Entry by Indexpath (Specify Position) e

Integer:x-position
String:x-units
Integer:y-position
String:y-units
String:Indexpath
Integer:Mouse Button

ABSTRACT_Widget_PopupSelectByIndexPathPositionNew
Select Context Menu Entry by Textpath e

String:Textpath
String:Operator
Integer:Mouse Button

ABSTRACT_Widget_PopupSelectByTextPathNew
Select Context Menu Entry by Textpath (Specify Position) e

Integer:x-position
String:x-units
Integer:y-position
String:y-units
String:Menupath
String:Operator
Integer:Mouse Button

ABSTRACT_Widget_PopupSelectByTextPathPositionNew
Show Text e

String:Text
Integer:Text Size (in points)
Integer:Time per Word (in milliseconds)
Integer:Window Width (in pixels)

ABSTRACT_Widget_ShowText
Store Property e

Variable:Variable Name
String:Property Name

ABSTRACT_Widget_StorePropertyValue
Wait for Component e

Integer:Timeout in ms
Integer:Delay after Visibility

ABSTRACT_Widget_WaitForComponent

Inherited Actions

none


Check Enablement (Graphics Component)

Parameters
Name Data Type Values Default
Enabled Boolean true
false
true


Check Enablement of Context Menu Entry by Indexpath (Graphics Component)

\includegraphics[height=2cm]{lightbulb} This action is unsupported for the HTML toolkit

Parameters
Name Data Type Values Default
Indexpath String - none

Name Data Type Values Default
Enabled Boolean true
false
true

Name Data Type Values Default
Mouse Button Integer 1
2
3
3


Check Enablement of Context Menu Entry by Indexpath (Specify Position) (Graphics Component)

\includegraphics[height=2cm]{lightbulb} This action is unsupported for the HTML toolkit

Parameters
Name Data Type Values Default
x-position Integer - 50

Name Data Type Values Default
x-units String percent
pixel
percent

Name Data Type Values Default
y-position Integer - 50

Name Data Type Values Default
y-units String percent
pixel
percent

Name Data Type Values Default
Indexpath String - none

Name Data Type Values Default
Enabled Boolean true
false
true

Name Data Type Values Default
Mouse Button Integer 1
2
3
3


Check Enablement of Context Menu Entry by Textpath (Graphics Component)

\includegraphics[height=2cm]{lightbulb} This action is unsupported for the HTML toolkit

Parameters
Name Data Type Values Default
Textpath String - none

Name Data Type Values Default
Operator String equals
not equals
matches
simple match
equals

Name Data Type Values Default
Enabled Boolean true
false
true

Name Data Type Values Default
Mouse Button Integer 1
2
3
3


Check Enablement of Context Menu Entry by Textpath (Specify Position) (Graphics Component)

\includegraphics[height=2cm]{lightbulb} This action is unsupported for the HTML toolkit

Parameters
Name Data Type Values Default
x-position Integer - 50

Name Data Type Values Default
x-units String percent
pixel
percent

Name Data Type Values Default
y-position Integer - 50

Name Data Type Values Default
y-units String percent
pixel
percent

Name Data Type Values Default
Textpath String - none

Name Data Type Values Default
Operator String equals
not equals
matches
simple match
equals

Name Data Type Values Default
Enabled Boolean true
false
true

Name Data Type Values Default
Mouse Button Integer 1
2
3
3


Check Existence (Graphics Component)

Parameters
Name Data Type Values Default
Exists Boolean true
false
true


Check Existence of Context Menu Entry by Indexpath (Graphics Component)

\includegraphics[height=2cm]{lightbulb} This action is unsupported for the HTML toolkit

Parameters
Name Data Type Values Default
Indexpath String - none

Name Data Type Values Default
Exists Boolean true
false
true

Name Data Type Values Default
Mouse Button Integer 1
2
3
3


Check Existence of Context Menu Entry by Indexpath (Specify Position) (Graphics Component)

\includegraphics[height=2cm]{lightbulb} This action is unsupported for the HTML toolkit

Parameters
Name Data Type Values Default
x-position Integer - 50

Name Data Type Values Default
x-units String percent
pixel
percent

Name Data Type Values Default
y-position Integer - 50

Name Data Type Values Default
y-units String percent
pixel
percent

Name Data Type Values Default
Indexpath String - none

Name Data Type Values Default
Exists Boolean true
false
true

Name Data Type Values Default
Mouse Button Integer 1
2
3
3


Check Existence of Context Menu Entry by Textpath (Graphics Component)

\includegraphics[height=2cm]{lightbulb} This action is unsupported for the HTML toolkit

Parameters
Name Data Type Values Default
Textpath String - none

Name Data Type Values Default
Operator String equals
not equals
matches
simple match
equals

Name Data Type Values Default
Exists Boolean true
false
true

Name Data Type Values Default
Mouse Button Integer 1
2
3
3


Check Existence of Context Menu Entry by Textpath (Specify Position) (Graphics Component)

\includegraphics[height=2cm]{lightbulb} This action is unsupported for the HTML toolkit

Parameters
Name Data Type Values Default
x-position Integer - 50

Name Data Type Values Default
x-units String percent
pixel
percent

Name Data Type Values Default
y-position Integer - 50

Name Data Type Values Default
y-units String percent
pixel
percent

Name Data Type Values Default
Textpath String - none

Name Data Type Values Default
Operator String equals
not equals
matches
simple match
equals

Name Data Type Values Default
Exists Boolean true
false
true

Name Data Type Values Default
Mouse Button Integer 1
2
3
3


Check Focus (Graphics Component)

\includegraphics[height=2cm]{lightbulb} This action is unsupported for the HTML toolkit

Parameters
Name Data Type Values Default
Has Focus Boolean true
false
true


Check Property (Graphics Component)

\includegraphics[height=2cm]{lightbulb} If the property is private, it cannot be checked, as Jubula has no access to it.

\includegraphics[height=2cm]{lightbulb} When testing HTML AUT's , there are some differences between the properties available in Internet Explorer and Firefox. Some properties available in FF may not be retrievable under IE.

Parameters
Name Data Type Values Default
Property Name String - none

Name Data Type Values Default
Property Value String - none

Name Data Type Values Default
Operator String equals
not equals
matches
simple match
equals


Check Selection of Context Menu Entry by Indexpath (Graphics Component)

\includegraphics[height=2cm]{lightbulb} This action is unsupported for the HTML toolkit

Parameters
Name Data Type Values Default
Indexpath String - none

Name Data Type Values Default
Selected Boolean true
false
true

Name Data Type Values Default
Mouse Button Integer 1
2
3
3


Check Selection of Context Menu Entry by Indexpath (Specify Position) (Graphics Component)

\includegraphics[height=2cm]{lightbulb} This action is unsupported for the HTML toolkit

Parameters
Name Data Type Values Default
x-position Integer - 50

Name Data Type Values Default
x-units String percent
pixel
percent

Name Data Type Values Default
y-position Integer - 50

Name Data Type Values Default
y-units String percent
pixel
percent

Name Data Type Values Default
Indexpath String - none

Name Data Type Values Default
Selected Boolean true
false
true

Name Data Type Values Default
Mouse Button Integer 1
2
3
3


Check Selection of Context Menu Entry by Textpath (Graphics Component)

\includegraphics[height=2cm]{lightbulb} This action is unsupported for the HTML toolkit

Parameters
Name Data Type Values Default
Textpath String - none

Name Data Type Values Default
Operator String equals
not equals
matches
simple match
equals

Name Data Type Values Default
Selected Boolean true
false
true

Name Data Type Values Default
Mouse Button Integer 1
2
3
3


Check Selection of Context Menu Entry by Textpath (Specify Position) (Graphics Component)

\includegraphics[height=2cm]{lightbulb} This action is unsupported for the HTML toolkit

Parameters
Name Data Type Values Default
x-position Integer - 50

Name Data Type Values Default
x-units String percent
pixel
percent

Name Data Type Values Default
y-position Integer - 50

Name Data Type Values Default
y-units String percent
pixel
percent

Name Data Type Values Default
Textpath String - none

Name Data Type Values Default
Operator String equals
not equals
matches
simple match
equals

Name Data Type Values Default
Selected Boolean true
false
true

Name Data Type Values Default
Mouse Button Integer 1
2
3
3


Click (Graphics Component)

Parameters
Name Data Type Values Default
Number of Clicks Integer - 1

Name Data Type Values Default
Mouse Button Integer 1
2
3
1


Click in Component (Graphics Component)

Parameters
Name Data Type Values Default
Number of Clicks Integer - 1

Name Data Type Values Default
Mouse Button Integer 1
2
3
1

Name Data Type Values Default
x-position Integer - 50

Name Data Type Values Default
x-units String percent
pixel
percent

Name Data Type Values Default
y-position Integer - 50

Name Data Type Values Default
y-units String percent
pixel
percent


Drag (Graphics Component)

\includegraphics[height=2cm]{lightbulb} This action is unsupported for the HTML toolkit

Parameters
Name Data Type Values Default
Mouse Button Integer 1
2
3
1

Name Data Type Values Default
Modifier Keys String none
shift
control
alt
meta
cmd
mod
none

Name Data Type Values Default
x-position Integer - 50

Name Data Type Values Default
x-units String percent
pixel
percent

Name Data Type Values Default
y-position Integer - 50

Name Data Type Values Default
y-units String percent
pixel
percent


Drop (Graphics Component)

\includegraphics[height=2cm]{lightbulb} This action is unsupported for the HTML toolkit

Parameters
Name Data Type Values Default
x-position Integer - 50

Name Data Type Values Default
x-units String percent
pixel
percent

Name Data Type Values Default
y-position Integer - 50

Name Data Type Values Default
y-units String percent
pixel
percent

Name Data Type Values Default
Delay before drop (milliseconds) Integer - 100


Select Context Menu Entry by Indexpath (Graphics Component)

\includegraphics[height=2cm]{lightbulb} This action is unsupported for the HTML toolkit

Parameters
Name Data Type Values Default
Indexpath String - none

Use this parameter to enter the path to the context menu item you want to select. Make sure you give the whole menupath (start from the very beginning of the menu).

Name Data Type Values Default
Mouse Button Integer 1
2
3
3


Select Context Menu Entry by Indexpath (Specify Position) (Graphics Component)

\includegraphics[height=2cm]{lightbulb} This action is unsupported for the HTML toolkit

Parameters
Name Data Type Values Default
x-position Integer - 50

Name Data Type Values Default
x-units String percent
pixel
percent

Name Data Type Values Default
y-position Integer - 50

Name Data Type Values Default
y-units String percent
pixel
percent

Name Data Type Values Default
Indexpath String - none

Name Data Type Values Default
Mouse Button Integer 1
2
3
3


Select Context Menu Entry by Textpath (Graphics Component)

\includegraphics[height=2cm]{lightbulb} This action is unsupported for the HTML toolkit

Parameters
Name Data Type Values Default
Textpath String - none

Use this parameter to enter the path to the context menu item you want to select. Make sure you enter the whole path.

Name Data Type Values Default
Operator String equals
not equals
matches
simple match
equals

Name Data Type Values Default
Mouse Button Integer 1
2
3
3


Select Context Menu Entry by Textpath (Specify Position) (Graphics Component)

\includegraphics[height=2cm]{lightbulb} This action is unsupported for the HTML toolkit

Parameters
Name Data Type Values Default
x-position Integer - 50

Name Data Type Values Default
x-units String percent
pixel
percent

Name Data Type Values Default
y-position Integer - 50

Name Data Type Values Default
y-units String percent
pixel
percent

Name Data Type Values Default
Menupath String - none

Use this parameter to enter the path to the context menu item you want to select. Make sure you enter the whole path.

Name Data Type Values Default
Operator String equals
not equals
matches
simple match
equals

Name Data Type Values Default
Mouse Button Integer 1
2
3
3


Show Text (Graphics Component)

Parameters
Name Data Type Values Default
Text String - none

Name Data Type Values Default
Text Size (in points) Integer - 14

Name Data Type Values Default
Time per Word (in milliseconds) Integer - 500

Name Data Type Values Default
Window Width (in pixels) Integer - 250


Store Property (Graphics Component)

\includegraphics[height=2cm]{lightbulb} If the property is private, it cannot be stored, as Jubula has no access to it.

Parameters
Name Data Type Values Default
Variable Name Variable - none

Name Data Type Values Default
Property Name String - none


Wait for Component (Graphics Component)

Parameters
Name Data Type Values Default
Timeout in ms Integer - 1000

Name Data Type Values Default
Delay after Visibility Integer - 200

(SWT) Tree (swt)
Button/Check Box/Radio Button (concrete)
Combo Box (concrete)
Figure Canvas (gef)
HTML Hyperlink (html)
Label (concrete)
List (concrete)
Tabbed Pane (concrete)
Table (concrete)
Text Field/Text Area/Editor Pane/Text Pane (concrete)
Toolbar Item (swt)
Tree (concrete)
Tree Table (swt)



Copyright BREDEX GmbH 2012. Made available under the Eclipse Public License v1.0.