Manual | Tutorial | Standard Library | Release Notes
Package Documentation for QFS Standard Library qfs.qft | ![]() |
Version 4.2.2 |
Summary |
Test-suite | qfs.qft |
Directory |
This suite contains useful standard procedures provided and maintained by Quality First Software GmbH. For a description of packages and procedures of this library in javadoc format, see qfs.html in the same directory. |
[Summary] [qfs.qft] |
Package overview |
Package | Description | |
---|---|---|
This package contains helpful standard procedures provided by Quality First Software. | ||
Procedures for testing based on images. | ||
Procedures to replay events anywhere on a JavaFX application based on images. | ||
Procedures to replay events anywhere on the screen based on images. | ||
Procedures to replay events anywhere on a Swing application based on images. | ||
Procedures to replay events anywhere on a SWT application based on images. | ||
Procedures to replay events anywhere on a Web application based on images. | ||
Contains procedures to work with native windows of the operating system Windows. | ||
Contain procedures to handle Adobe Acrobat Reader specific tasks like SaveAs or SaveAs Text ... | ||
Procedures for advanced manipulation of awt components. | ||
Procedures to select menu items. | ||
Contains procedures to check components. | ||
The procedures in this package are useful for generic cleanup after an exception is thrown. | ||
Procedures for interacting with (SUT) clients. | ||
Procedures to work with a QF-Test daemon. | ||
Procedures to work with databases. | ||
Procedures to bind data for data-driven testing. | ||
Procedures for showing dialogs during the test-run. | ||
Procedures for advanced manipulation of fx components. | ||
Procedures to get and set the state of checkboxes. | ||
The procedures in this package are useful for generic cleanup after an exception is thrown. | ||
Procedures to handle comboboxes. | ||
Procedures which work for any fx component. | ||
Procedures for accessing lists. | ||
Procedures for checking a list. | ||
Procedures to (de-)select certain items of a list. | ||
Procedures to select menu items and checkbox menu items. | ||
Procedures to select items and checkbox menu items from popup menus. | ||
Procedures to set and get the state of radio buttons. | ||
Procedures to access sliders. | ||
Procedure for checking slider values. | ||
Procedures to work with TabbedPanes. | ||
Procedures to access tables. | ||
Procedures to set the state of checkboxes in a table-cell. | ||
Procedures for checking a table. | ||
Procedures to (de-)select certain rows of a table. | ||
Procedures to access text fields and text areas. | ||
Procedures to access trees. | ||
Procedures for checking a tree. | ||
Procedures for PDF testing. | ||
Procedures in order to highlight components. | ||
Procedures to navigate inside a PDF document. | ||
Procedures to get/interact with the current page / all pages. | ||
Procedures for writing log-entries. | ||
Procedures to write screenshots into the run-log. | ||
Procedures to write web specifics into run-log. | ||
Utility procedures for shell commands. | ||
Procedures for advanced manipulation of swing components. | ||
Procedures to set the state of checkboxes. | ||
The procedures in this package are useful for generic cleanup after an exception is thrown. | ||
Procedures to handle comboboxes. | ||
Procedures to handle Dialogs. | ||
Procedures for accessing file chooser dialogs. | ||
Procedures which work for any Swing component. | ||
Procedures for accessing lists. | ||
Procedures for checking a list. | ||
Procedures to (de-)select certain items of a list. | ||
Procedures to select menu items and checkbox menu items. | ||
Procedures for accessing standard error/message dialogs. | ||
Procedures to select items and checkbox menu items from popup menus. | ||
Procedures to get and set the state of radio buttons. | ||
Procedures to access sliders. | ||
Procedure for checking slider values. | ||
Procedures for startup of swing applications. | ||
Procedures to work with TabbedPanes. | ||
Procedures to access tables. | ||
Procedures to set the state of checkboxes in a table-cell. | ||
Procedures for checking a table. | ||
Procedures to (de-)select certain rows of a table. | ||
Procedures to access text fields and text areas. | ||
Procedures to access trees. | ||
Procedures for checking a tree. | ||
Procedures for advanced manipulation of SWT components. | ||
Procedures to set the state of checkboxes. | ||
The procedures in this package are useful for generic cleanup after an exception is thrown. | ||
Procedures to handle Colordialogs. | ||
Procedures to handle comboboxes. | ||
Procedures for SWT CTabFolder widgets. | ||
Procedures for accessing directory dialogs. | ||
Procedures for accessing file dialogs. | ||
Procedures which work for any SWT component. | ||
Procedures for SWT instrumentation. | ||
Procedures for accessing lists. | ||
Procedures for checking a list. | ||
Procedures to (de-)select certain items of a list. | ||
Procedures to select menu items and checkbox menu items. | ||
Procedures to select items and checkbox menu items from popup menus. | ||
Procedures to set the state of buttons with the style SWT.RADIO. | ||
Procedures to work with sash components. | ||
Procedures to work with scrollbar components. | ||
Procedures for SWT TabFolder widgets. | ||
Procedures to access tables. | ||
Procedures to set the checked state of tableitems. | ||
Procedures for checking a table. | ||
Procedures to (de-)select certain rows of a table. | ||
Procedures to access text fields and text areas. | ||
Procedures to access trees. | ||
Procedures for checking a tree. | ||
Special procedures for multi-column trees. | ||
Miscellaneous utility procedures. | ||
Accessing the clipboard from procedures. | ||
Procedures for sending E-Mails. | ||
Procedures for interacting with a POP3 server. | ||
Contain procedures to work with files. | ||
Procedures for generating random string. | ||
Procedures for executing commands on a remote server via ssh. | ||
Procedures for handling the test execution. | ||
Procedures for skipping test-steps. | ||
Procedures for stopping test-steps. | ||
Procedures for working with variables. | ||
Procedures for working with XML files. | ||
Web utility procedures. | ||
AJAX procedures. | ||
Browser procedures. | ||
Procedures for handling Error-Dialogs opened within the Browser. | ||
Procedures for handling DOM access. | ||
Procedures to handle downloads in QF-Test. | ||
General browser procedures. | ||
Mozilla utility procedures. | ||
The procedures in this package are useful for customizing browser settings. | ||
Procedures to set the state of checkboxes. | ||
Procedures for handling different web checks. | ||
Procedures for handling different element style checks. | ||
Procedures for handling different element style checks concerning color attributes. | ||
Procedures for handling different element style checks concerning font attributes. | ||
Procedures which work for any Web component. | ||
Procedures to access INPUT elements. | ||
Procedures to set the state of buttons. | ||
Procedures to access select nodes. | ||
Procedures to access web tables. | ||
Procedures for checking a table. | ||
Procedures influencing recording of web tables. | ||
Procedures to access text fields and text areas. |
[Summary] [qfs.qft] |
Package overview |
Package/Procedure/Dependency | Description | |
---|---|---|
This package contains helpful standard procedures provided by Quality First Software. | ||
Procedures for testing based on images. | ||
Procedures to replay events anywhere on a JavaFX application based on images. | ||
Click at an image anywhere on a JavaFX application. | ||
Find an image anywhere on a JavaFX application and return the component ID. | ||
Procedures to replay events anywhere on the screen based on images. | ||
Click at an image anywhere on the screen. | ||
Find an image anywhere on the screen and return its position. | ||
Procedures to replay events anywhere on a Swing application based on images. | ||
Click at an image anywhere on a JFrame of a swing application. | ||
Find an image anywhere on a JFrame of a Swing application and return the component ID. | ||
Procedures to replay events anywhere on a SWT application based on images. | ||
Click at an image anywhere on a Shell of a SWT application. | ||
Find an image anywhere on a Shell of a SWT application and return the component ID. | ||
Procedures to replay events anywhere on a Web application based on images. | ||
Click at an image anywhere on a web application. | ||
Find an image anywhere on a web application and return the component ID. | ||
Contains procedures to work with native windows of the operating system Windows. | ||
Contain procedures to handle Adobe Acrobat Reader specific tasks like SaveAs or SaveAs Text ... | ||
Save the current open PDF in Adobe Acrobat Reader as a text file with the given filename. | ||
Save the current open PDF in Adobe Acrobat Reader as a PDF file with the given filename. | ||
Check, whether a native window on the operating system Windows is opened. | ||
Check, whether a native window on the operating system Windows is opened and close it. | ||
Close a window. | ||
Read the URL from an InternetExplorer window. | ||
Write all children of a window to the run-log. | ||
Perform Ctrl+A and then Ctrl+C to a given window. | ||
Mark and copy the whole text of a given document via Ctrl+A and Ctrl+C. | ||
Procedures for advanced manipulation of awt components. | ||
Procedures to select menu items. | ||
Select an item from a menu. | ||
Select an item from a menu. | ||
Select a checkbox item from a menu. | ||
Select a checkbox item from a menu in a sub-menu. | ||
Contains procedures to check components. | ||
Check the state of a given component. | ||
Check image of a component against a file. | ||
Check if given component is selected. | ||
Check the text of a given component. | ||
Check whether a value is in a given range. | ||
Compare two values for their equality. | ||
Compare two date strings. | ||
Compare two values for their equality. | ||
Compare two values for their equality. | ||
The procedures in this package are useful for generic cleanup after an exception is thrown. | ||
Close all dialogs. | ||
Close all menus unconditionally. | ||
Close all modal dialogs. | ||
This procedure encompasses the usage of other cleanup procedures in this package and is the recommended operation to perform after an exception occurs and is implicitly caught. | ||
Procedures for interacting with (SUT) clients. | ||
Rename an SUT client. | ||
Write a string to the stdin stream of a process started by QF-Test. | ||
Helper method for turning on internal logging. | ||
Helper method for turning off internal logging. | ||
Procedures to work with a QF-Test daemon. | ||
Starts remote instrumentation procedure for an Eclipse/RCP based or standalone SWT application via a given daemon. | ||
Locate all running daemons and writes them into the run-log and prints a list of running daemons to the terminal. | ||
Start a client application on a remote host via the QF-Test daemon. | ||
Procedures to work with databases. | ||
Build up connection to a given database and executes a specified select-sql-statement. | ||
Build up connection to a given database and execute a specified SQL-statement. | ||
Procedures to bind data for data-driven testing. | ||
Create and register a databinder that binds a list of values to a variable. | ||
Create and register a databinder that binds a list of value-sets to a set of variables. | ||
Procedures for showing dialogs during the test-run. | ||
Show a configurable dialog equivalent to JOptionPane. | ||
Show an information dialog with an OK option. | ||
Show an information dialog with a YES, NO and CANCEL option. | ||
Show an information dialog with a YES and NO option. | ||
Procedures for advanced manipulation of fx components. | ||
Procedures to get and set the state of checkboxes. | ||
Deselect a checkbox. | ||
Deselect a checkbox. | ||
Return the value of a checkbox. | ||
Select a checkbox. | ||
Select a checkbox. | ||
Set checkbox to the given state. | ||
Set checkbox to the given state. | ||
The procedures in this package are useful for generic cleanup after an exception is thrown. | ||
Close all menus unconditionally. | ||
Close all modal dialogs. | ||
Close a menu by replaying an [Escape] keystroke on a Window. | ||
This procedure encompasses the usage of other cleanup procedures in this package and is the recommended operation to perform after an exception occurs and is implicitly caught. | ||
Procedures to handle comboboxes. | ||
Return the current index of a given item. | ||
Return the number of items of a given combobox. | ||
Return the text of a given combobox. | ||
Return the text of a given item. | ||
Select specified value of a given combobox. | ||
Set a value in the combobox. | ||
Select specified value of a given combobox using a SUT script. | ||
Procedures which work for any fx component. | ||
Click on a given component, but only if the according parameter is set to true. | ||
Click on a given component, but only if the according parameter is set to true. | ||
Delete the current association of PriorityFxNode. | ||
Click on a given component. | ||
Click on a given component. | ||
Send a selection event to a given component. | ||
Set the location of a given component. | ||
Set a given component to the PriorityFxNode. | ||
Set the width and the height of a given component. | ||
Wait for a given component. | ||
Wait till a given component disappears. | ||
Procedures for accessing lists. | ||
Procedures for checking a list. | ||
Check the number of items of a given list according to a specified comparison mode. | ||
Select a given item by a mouse-click on it. | ||
Return the current index of a given item. | ||
Return the number of items of a given list. | ||
Return the text of a given item. | ||
Procedures to (de-)select certain items of a list. | ||
Deselect all items. | ||
Deselect a given item, specified by its index. | ||
Deselect a range of items, specified by their index. | ||
Select all items. | ||
Select a given item, specified by its index. | ||
Select a range of items, specified by their index. | ||
Select a given item by a mouse-click on it. | ||
Procedures to select menu items and checkbox menu items. | ||
Select a checkbox menu item from a menu. | ||
Select a checkbox menu item from a menu. | ||
Select an item from a menu. | ||
Select an item from a menu. | ||
Select an item from a menu. | ||
Select an item from a menu. | ||
Select an item within a submenu. | ||
Select an item within a submenu. | ||
Select a checkbox menu item. | ||
Select a checkbox menu item. | ||
Select a checkbox menu item within within a submenu. | ||
Select a checkbox menu item within within a submenu. | ||
Procedures to select items and checkbox menu items from popup menus. | ||
Select an item in a popup menu. | ||
Select an item in a popup menu. | ||
Select an item within a submenu of a popup menu. | ||
Select an item within a submenu of a popup menu. | ||
Select a checkbox menu item in a popup menu. | ||
Select a checkbox menu item in a popup menu. | ||
Select a checkbox menu item within a submenu of a popup menu. | ||
Select a checkbox menu item within a submenu of a popup menu. | ||
Procedures to set and get the state of radio buttons. | ||
Return the value of a radio button. | ||
Select a radio button. | ||
Select a radio button. | ||
Procedures to access sliders. | ||
Procedure for checking slider values. | ||
Check the value of a slider component. | ||
Return the value of a slider component. | ||
Set the value of a slider component. | ||
Procedures to work with TabbedPanes. | ||
Close a tab via a selection event. | ||
Return the index of a given tab in a TabPane. | ||
Return the text of a given tab in a TabPane. | ||
Select a tab in a given TabPane. | ||
Procedures to access tables. | ||
Procedures to set the state of checkboxes in a table-cell. | ||
Deselect a checkbox in a table-cell. | ||
Deselect a checkbox in a table-cell. | ||
Select a checkbox in a table-cell. | ||
Select a checkbox in a table-cell. | ||
Set checkbox in a table-cell to the given state. | ||
Set checkbox in a table-cell to the given state. | ||
Procedures for checking a table. | ||
Check the number of rows of a given table according to a specified comparison mode. | ||
Select a given cell. | ||
Return the number of columns of a given table. | ||
Return the current index of a given column. | ||
Return the header text of a given column. | ||
Return the number of rows of a given table. | ||
Return the row number of a given cell. | ||
Return the text of a given cell. | ||
Resize width of a table column. | ||
Select a given cell. | ||
Procedures to (de-)select certain rows of a table. | ||
Deselect all rows. | ||
Deselect a given row, specified by its index. | ||
Deselect a range of rows, specified by their index. | ||
Select all rows. | ||
Select a given row, specified by its index. | ||
Select a range of rows, specified by their index. | ||
Procedures to access text fields and text areas. | ||
Clear a multi-line text area. | ||
Clear a simple text field. | ||
Return the text of a given textfield. | ||
Set a given text to a given text-field or text-area. | ||
Read the content of a given file and set its content to a given text-field. | ||
Procedures to access trees. | ||
Procedures for checking a tree. | ||
Check the number of child nodes of a given tree node according to a specified comparison mode. | ||
Check the number of visible nodes under a given tree or tree node according to a specified comparison mode. | ||
Select a given node. | ||
Collapse a tree node. | ||
Collapse a tree node. | ||
Collapse a tree node recursively. | ||
Collapse a tree node. | ||
Collapse a tree node. | ||
Expand a tree node. | ||
Expand a tree node. | ||
Expand a tree node recursively. | ||
Expand a tree node. | ||
Expand a tree node. | ||
Return the number of child nodes. | ||
Return the current index of a given node. | ||
Return the number of visible nodes under a given tree or tree-node. | ||
Return the text of a given node. | ||
Select a given node. | ||
Procedures for PDF testing. | ||
Procedures in order to highlight components. | ||
Hide borders around each recognized component. | ||
Show borders around each recognized component. | ||
Toggle borders around each recognized component. | ||
Procedures to navigate inside a PDF document. | ||
Iterate over all pages in a PDF document. | ||
Open the first page of the PDF document. | ||
Open the last page of the PDF document. | ||
Open/Goto the next page of the PDF document. | ||
Open a specific page of the PDF document. | ||
Open/Goto the previous page of the PDF document. | ||
Open a random page of the PDF document. | ||
Procedures to get/interact with the current page / all pages. | ||
Return the name of the currently selected page in the PDF document. | ||
Return the index/number of the currently selected page in the PDF document. | ||
Return the number of pages in a PDF document. | ||
Refresh the currently opened page. | ||
Procedures for writing log-entries. | ||
Write an error into the run-log. | ||
Write a message into the run-log. | ||
Write a warning into the run-log. | ||
Procedures to write screenshots into the run-log. | ||
Return the total number of monitors. | ||
Write an image of a component into the run-log. | ||
Write a screenshot of the whole screen into the run-log. | ||
Write a screenshots of a given monitor into the run-log. | ||
Procedures to write web specifics into run-log. | ||
Write a document's source code into the run-log. | ||
Utility procedures for shell commands. | ||
Copy a given file or directory to a given target. | ||
Delete a file. | ||
Check whether a given file or directory exists. | ||
Return the basename of the given file or directory. | ||
Return the parent directory of the given file or directory. | ||
Create a given directory. | ||
Move a given file or directory to a given target. | ||
Remove a given directory. | ||
Create a given file or update the last modified date of an existing file. | ||
Procedures for advanced manipulation of swing components. | ||
Procedures to set the state of checkboxes. | ||
Deselect a checkbox. | ||
Deselect a checkbox. | ||
Return the value of a checkbox. | ||
Select a checkbox. | ||
Select a checkbox. | ||
Set checkbox to the given state. | ||
Set checkbox to the given state. | ||
The procedures in this package are useful for generic cleanup after an exception is thrown. | ||
Close all dialogs. | ||
Close all menus unconditionally. | ||
Close all modal dialogs. | ||
This procedure encompasses the usage of other cleanup procedures in this package and is the recommended operation to perform after an exception occurs and is implicitly caught. | ||
Procedures to handle comboboxes. | ||
Return the current index of a given item. | ||
Return the number of items of a given combobox. | ||
Return the text of a given combobox. | ||
Return the text of a given item. | ||
Select specified value of a given combobox. | ||
Set a value in the combobox. | ||
Select specified value of a given combobox using a SUT script. | ||
Procedures to handle Dialogs. | ||
Wait for the client to connect and check whether a Java security dialog blocks the JRE start which need to be confirmed. | ||
Procedures for accessing file chooser dialogs. | ||
Uninstall the JFileChooser name resolver. |
||
Install the JFileChooser name resolver. |
||
Select a file in a JFileChooser dialog. |
||
Select several files in a JFileChooser dialog. |
||
Procedures which work for any Swing component. | ||
Click on a given component, but only if the according parameter is set to true. | ||
Click on a given component, but only if the according parameter is set to true. | ||
Delete the current association of PriorityAwtSwingComponent. | ||
Click on a given component. | ||
Click on a given component. | ||
Send a selection event to a given component. | ||
Set the location of a given component. | ||
Set a given component to the PriorityAwtSwingComponent. | ||
Set the width and the height of a given component. | ||
Wait for a given component. | ||
Wait till a given component disappears. | ||
Procedures for accessing lists. | ||
Procedures for checking a list. | ||
Check the number of items of a given list according to a specified comparison mode. | ||
Select a given item by a mouse-click on it. | ||
Return the current index of a given item. | ||
Return the number of items of a given list. | ||
Return the text of a given item. | ||
Procedures to (de-)select certain items of a list. | ||
Deselect all items. | ||
Deselect a given item, specified by its index. | ||
Deselect a range of items, specified by their index. | ||
Select all items. | ||
Select a given item, specified by its index. | ||
Select a range of items, specified by their index. | ||
Select a given item by a mouse-click on it. | ||
Procedures to select menu items and checkbox menu items. | ||
Select a checkbox menu item from a menu. | ||
Select a checkbox menu item from a menu. | ||
Select an item from a menu. | ||
Select an item from a menu. | ||
Select an item from a menu. | ||
Select an item from a menu. | ||
Select an item within a submenu. | ||
Select an item within a submenu. | ||
Select a checkbox menu item. | ||
Select a checkbox menu item. | ||
Select a checkbox menu item within within a submenu. | ||
Select a checkbox menu item within within a submenu. | ||
Procedures for accessing standard error/message dialogs. | ||
Check the message of the current javax.swing.JOptionPane dialog. |
||
Check the title of the current javax.swing.JOptionPane dialog. |
||
Click on the Cancel Button of the current javax.swing.JOptionPane dialog. |
||
Click on the No Button of the current javax.swing.JOptionPane dialog. |
||
Click on the OK Button of the current javax.swing.JOptionPane dialog. |
||
Click on the Yes Button of the current javax.swing.JOptionPane dialog. |
||
Uninstall the JOptionPane name resolver. |
||
Install the JOptionPane name resolver. |
||
Get the message of the current javax.swing.JOptionPane dialog. |
||
Return the message Type of the current javax.swing.JOptionPane dialog. |
||
Get the title of the current javax.swing.JOptionPane dialog. |
||
Check if the current javax.swing.JOptionPane dialog has an Cancel Button. |
||
Check if the current javax.swing.JOptionPane dialog has an NO Button. |
||
Check if the current javax.swing.JOptionPane dialog has an OK Button. |
||
Check if the current javax.swing.JOptionPane dialog has an YES Button. |
||
Check, if current window is a javax.swing.JOptionPane ErrorDialog. |
||
Check, if current window is a javax.swing.JOptionPane InfoDialog. |
||
Check, if current window is a javax.swing.JOptionPane dialog. |
||
Check, if current window is a javax.swing.JOptionPane PlainDialog. |
||
Check, if current window is a javax.swing.JOptionPane QuestionDialog. |
||
Check, if current window is a javax.swing.JOptionPane WarningDialog. |
||
Procedures to select items and checkbox menu items from popup menus. | ||
Select an item in a popup menu. | ||
Select an item in a popup menu. | ||
Select an item within a submenu of a popup menu. | ||
Select an item within a submenu of a popup menu. | ||
Select a checkbox menu item in a popup menu. | ||
Select a checkbox menu item in a popup menu. | ||
Select a checkbox menu item within a submenu of a popup menu. | ||
Select a checkbox menu item within a submenu of a popup menu. | ||
Procedures to get and set the state of radio buttons. | ||
Return the value of a radio button. | ||
Select a radio button. | ||
Select a radio button. | ||
Procedures to access sliders. | ||
Procedure for checking slider values. | ||
Check the value of a slider component | ||
Return the value of a slider component. | ||
Set the value of a slider component. | ||
Procedures for startup of swing applications. | ||
Set delays for the QF-Test SUT initialization process. | ||
Define properties for recognizing WebStart and applet security dialogs that should be closed automatically. | ||
Start an applet as SUT in a browser. | ||
Start a Webstart SUT. | ||
Procedures to work with TabbedPanes. | ||
Close a tab via clicking on the "X "button. | ||
Return the index of a given tab in a JTabbedPane. | ||
Return the text of a given tab in a JTabbedPane. | ||
Select a tab in a given TabbedPane. | ||
Procedures to access tables. | ||
Procedures to set the state of checkboxes in a table-cell. | ||
Deselect a checkbox in a table-cell. | ||
Deselect a checkbox in a table-cell. | ||
Select a checkbox in a table-cell. | ||
Select a checkbox in a table-cell. | ||
Set checkbox in a table-cell to the given state. | ||
Set checkbox in a table-cell to the given state. | ||
Procedures for checking a table. | ||
Check the number of rows of a given table according to a specified comparison mode. | ||
Select a given cell. | ||
Return the number of columns of a given table. | ||
Return the current index of a given column. | ||
Return the header text of a given column. | ||
Return the number of rows of a given table. | ||
Return the row number of a given cell. | ||
Return the text of a given cell. | ||
Resize width of a table column. | ||
Select a given cell. | ||
Procedures to (de-)select certain rows of a table. | ||
Deselect all rows. | ||
Deselect a given row, specified by its index. | ||
Deselect a range of rows, specified by their index. | ||
Select all rows. | ||
Select a given row, specified by its index. | ||
Select a range of rows, specified by their index. | ||
Procedures to access text fields and text areas. | ||
Clear a multi-line text area. | ||
Clear a simple text field. | ||
Return the text of a given textfield. | ||
Set a given text to a given text-field or text-area. | ||
Read the content of a given file and set its content to a given text-field. | ||
Procedures to access trees. | ||
Example for a callback procedure used by expandNodes. | ||
Procedures for checking a tree. | ||
Check the number of child nodes of a given tree node according to a specified comparison mode. | ||
Check the number of visible nodes under a given tree or tree node according to a specified comparison mode. | ||
Select a given node. | ||
Collapse a tree node. | ||
Collapse a tree node. | ||
Collapse a tree node recursively. | ||
Collapse a tree node. | ||
Collapse a tree node. | ||
Expand a tree node. | ||
Expand a tree node. | ||
Expand a tree node recursively. | ||
Expand a tree node recursively. | ||
Expand a tree node. | ||
Expand a tree node. | ||
Return the number of child nodes. | ||
Return the current index of a given node. | ||
Return the number of visible nodes under a given tree or tree-node. | ||
Return the text of a given node. | ||
Select a given node. | ||
Procedures for advanced manipulation of SWT components. | ||
Procedures to set the state of checkboxes. | ||
Deselect a checkbox. | ||
Deselect a checkbox. | ||
Return the value of a checkbox. | ||
Select a checkbox. | ||
Select a checkbox. | ||
Set checkbox to the given state. | ||
Set checkbox to the given state. | ||
The procedures in this package are useful for generic cleanup after an exception is thrown. | ||
Close all modal dialogs. | ||
Close all menus unconditionally. | ||
This procedure encompasses the usage of other cleanup procedures in this package and is the recommended operation to perform after an exception occurs and is implicitly caught. | ||
Procedures to handle Colordialogs. | ||
Select a specified color of a ColorDialog. | ||
Procedures to handle comboboxes. | ||
Return the current index of a given item. | ||
Return the number of items of a given combobox. | ||
Return the text of a given combo. | ||
Return the text of a given item. | ||
Select specified value of a given combobox using a selection event. | ||
Select specified value of a given combobox using a SUT script. | ||
Procedures for SWT CTabFolder widgets. | ||
This procedure raises an error, if a given tab is not dirty. | ||
Close a tab in a generic CTabFolder that is identified only by the fact that it contains the desired tab. | ||
Open the View Menu for a generic CTabFolder that is identified only by the fact that it contains the desired tab. | ||
Select a tab in a generic CTabFolder that is identified only by the fact that it contains the desired tab. | ||
Procedures for accessing directory dialogs. | ||
Select a directory in a DirectoryDialog dialog. |
||
Procedures for accessing file dialogs. | ||
Select a file in a FileDialog dialog. |
||
Procedures which work for any SWT component. | ||
Click on a given component, but only if the according parameter is set to true. | ||
Click on a given component, but only if the according parameter is set to true. | ||
Delete the current association of PrioritySwtComponent. | ||
Click on a given component. | ||
Click on a given component. | ||
Send a selection event to a given component. | ||
Set the location of a given component. | ||
Set a given component to the PrioritySwtWidget. | ||
Set the width and the height of a given component. | ||
Wait for a given component. | ||
Wait till a given component disappears. | ||
Procedures for SWT instrumentation. | ||
Instrument an Eclipse/RCP based or standalone SWT application for use with QF-Test. | ||
Procedures for accessing lists. | ||
Procedures for checking a list. | ||
Check the number of items of a given list according to a specified comparison mode. | ||
Select a given item by a mouse-click on it. | ||
Return the current index of a given item. | ||
Return the number of items of a given list. | ||
Return the text of a given item. | ||
Procedures to (de-)select certain items of a list. | ||
Deselect all items. | ||
Deselect a given item, specified by its index. | ||
Deselect a range of items, specified by their index. | ||
Select all items. | ||
Select a given item, specified by its index. | ||
Select a range of items, specified by their index. | ||
Select a given item by a mouse-click on it. | ||
Procedures to select menu items and checkbox menu items. | ||
Select a checkbox menu item from a menu. | ||
Select an item from a menu. | ||
Select an item from a menu. | ||
Select an item within a submenu. | ||
Select a checkbox menu item. | ||
Select a checkbox menu item within within a submenu. | ||
Procedures to select items and checkbox menu items from popup menus. | ||
Select an item in a popup menu. | ||
Select an item within a submenu of a popup menu. | ||
Select a checkbox menu item in a popup menu. | ||
Select a checkbox menu item within a submenu of a popup menu. | ||
Procedures to set the state of buttons with the style SWT.RADIO. | ||
Return the value of a radio button. | ||
Select a radio button. | ||
Select a radio button. | ||
Procedures to work with sash components. | ||
Move a sash by a given distance. | ||
Move a sash to a given position. | ||
Procedures to work with scrollbar components. | ||
Scroll a component one page downwards by simulating a hard mouse click below the scrollbar's thumb. | ||
Scroll a component one page to the left by simulating a hard mouse click to the left of the scrollbar's thumb. | ||
Scroll a component one page to the right by simulating a hard mouse click to the right of the scrollbar's thumb. | ||
Scroll a component one page upwards by simulating a hard mouse click above the scrollbar's thumb. | ||
Scroll a component downwards by simulating a hard mouse click on the down arrow button of its vertical scrollbar. | ||
Scroll a component to the left by simulating a hard mouse click on the left arrow button of its horizontal scrollbar. | ||
Scroll a component to the right by simulating a hard mouse click on the right arrow button of its horizontal scrollbar. | ||
Scroll a component upwards by simulating a hard mouse click on the up arrow button of its vertical scrollbar. | ||
Procedures for SWT TabFolder widgets. | ||
Close a tab via sending a "close" selection event. | ||
Return the index of a given tab. | ||
Return the text of a given tab. | ||
Select a tab in a given Tabfolder. | ||
Procedures to access tables. | ||
Procedures to set the checked state of tableitems. | ||
Unset the checked state of a tableitem in a table. | ||
Set the checked state of a tableitem in a table. | ||
Set checked state of a tableitem to the given state. | ||
Procedures for checking a table. | ||
Check the number of rows of a given table according to a specified comparison mode. | ||
Select a given cell. | ||
Return the number of columns of a given table. | ||
Return the current index of a given column. | ||
Return the header text of a given column. | ||
Return the number of rows of a given table. | ||
Return the row number of a given cell. | ||
Return the text of a given cell. | ||
Select a given cell. | ||
Procedures to (de-)select certain rows of a table. | ||
Deselect all rows. | ||
Deselect a given row, specified by its index. | ||
Deselect a range of rows, specified by their index. | ||
Select all rows. | ||
Select a given row, specified by its index. | ||
Select a range of rows, specified by their index. | ||
Procedures to access text fields and text areas. | ||
Clear a multi-line text area. | ||
Clear a simple text field. | ||
Return the text of a given textfield. | ||
Set a given text to a given text-field or text-area. | ||
Read the content of a given file and set its content to a given text-field. | ||
Procedures to access trees. | ||
Example for a callback procedure used by expandNodes. | ||
Procedures for checking a tree. | ||
Check the number of child nodes of a given tree node according to a specified comparison mode. | ||
Check the number of visible nodes under a given tree or tree node according to a specified comparison mode. | ||
Select a given node. | ||
Collapse a tree node. | ||
Collapse a tree node. | ||
Collapse a tree node. | ||
Collapse a tree node. | ||
Expand a tree node. | ||
Expand a tree node. | ||
Expand a tree node recursively. | ||
Expand a tree node recursively. | ||
Expand a tree node. | ||
Expand a tree node. | ||
Return the number of child nodes. | ||
Return the hierarchical index of a given node. | ||
Return the number of visible nodes under a given tree or tree-node. | ||
Return the text of a given node. | ||
Special procedures for multi-column trees. | ||
Return the index of the first row containing a given cell text in a given column of an SWT multi-column tree. | ||
Select a given node. | ||
Miscellaneous utility procedures. | ||
Accessing the clipboard from procedures. | ||
Return the current text on the system clipboard. | ||
Set a text on the system clipboard. | ||
Trigger a full thread dump in the SUT if possible. | ||
Drag the source component or item onto the target and drop it. | ||
Dump an entire component hierarchy into the run-log. | ||
Dump the heap of the Java VM. | ||
Procedures for sending E-Mails. | ||
Procedures for interacting with a POP3 server. | ||
Delete all messages from a pop3 account. | ||
Fetch a message from a pop3 account. | ||
This procedure uses the smtplib module from Jython, to send emails via SMTP server. | ||
Send an e-mail. | ||
Contain procedures to work with files. | ||
Check, whether a given file contain a specific value. | ||
Check, whether a given file contain a specific value in a line. | ||
Compare the given files and returns true if equal, otherwise false. | ||
Read a worksheet of an Excel file. | ||
Get the screen location and the size of a component or sub-item. | ||
Return a date, default is the current date in current locale. | ||
Return the time in the current format. | ||
Return a timestamp, which represents the current time in milliseconds. | ||
Kill all running clients. | ||
Kill a client. | ||
Log all available methods of a given component. | ||
Log current memory use. | ||
Log current memory usage of the native process(es) of a client. | ||
Print a given message to STDOUT. | ||
Print the content of a variable. | ||
Procedures for generating random string. | ||
Return a random string created of parts of a specified area. | ||
Return a random number. | ||
Return a random number between two given numbers. | ||
Return a random string containing small letters. | ||
Read the content of a given file. | ||
Sleep a given time. | ||
Procedures for executing commands on a remote server via ssh. | ||
Connect to a remote server by ssh and execute a command. | ||
Close an established ssh connection. | ||
Connect to a remote server by ssh and keep the session open for further use. | ||
Send a command via an established ssh connection and wait for resulting output. | ||
Procedures for handling the test execution. | ||
Procedures for skipping test-steps. | ||
Skip the execution of the current test-case. | ||
Skip the execution of the current test-set. | ||
Procedures for stopping test-steps. | ||
Stop the execution of the current test-case | ||
Stop the complete test-run. | ||
Stop the execution of the current test-set. | ||
Procedures for working with variables. | ||
Delete all global QF-Test variables. | ||
Delete all global QF-Test variables. | ||
Delete a given global QF-Test variable. | ||
Delete a given variable of a property group. | ||
Delete a given global property group. | ||
Print a list of all members of a given property group to the terminal. | ||
Wait until one of N components is available. | ||
Write a given message into a given file. | ||
Procedures for working with XML files. | ||
Compare two XML files for full identity. | ||
Load properties from an XML file. | ||
Web utility procedures. | ||
AJAX procedures. | ||
Dump properties of an installed CustomWebResolver. | ||
Install a generic CustomWebResolver for an Ajax framework. | ||
Install a special resolver for given AJAX toolkit to improve recorded component types and hierarchy and therefore achieves improved component recognition. | ||
Uninstall a previously installed generic CustomWebResolver. | ||
Uninstall a special resolver for given AJAX toolkit. | ||
Updates properties of an installed generic CustomWebResolver. | ||
Browser procedures. | ||
Procedures for handling Error-Dialogs opened within the Browser. | ||
Uses the Java AWT Robot/Autowin Methods to automatically close an open Certificate Warning Dialog. | ||
Uses the Java AWT Robot Methods to automatically close an open Javascript Warning Dialog. | ||
Handle the native Windows Upload dialog (especially for Internet Explorer 8). | ||
Procedures for handling DOM access. | ||
Check or uncheck all (enabled) Checkboxes which are situated in the DOM-Tree beneath the given Parent. | ||
Procedures to handle downloads in QF-Test. | ||
Set the QF-Test download property. | ||
General browser procedures. | ||
Check for the browser and if is not running than start it. | ||
Checks if running Browser-Engine has embedded Internet Explorer 6. | ||
Opens a new browser window which emulates a mobile browser. | ||
Open a new window in an already running browser. | ||
Show a different URL in an open browser window. | ||
Ensures the given browser executable is started as a new process. | ||
Mozilla utility procedures. | ||
Performs several cleanup actions on the given mozProfile directory. | ||
The procedures in this package are useful for customizing browser settings. | ||
Delete cookies. | ||
Disable cookies in the browser. | ||
Do startup settings for the browser. | ||
Empty the browser cache. | ||
Sets the compatibilitymode in Internet Explorer. | ||
Enable cookies in the browser. | ||
Enable/Disable MutationListeners in the QF-Test browser engine for a specific document or globally for all documents. | ||
Set preferred language for in the displaying web pages in the browser. | ||
Set a proxy server for the browser. | ||
Procedures to set the state of checkboxes. | ||
Deselect a checkbox. | ||
Deselect a checkbox If the checkbox is already de-selected, no action is performed. | ||
Return the value of a checkbox. | ||
Select a checkbox. | ||
Select a checkbox. | ||
Set checkbox to the given state. | ||
Set all (enabled) checkboxes inside a given parent. | ||
Set checkbox to the given state. | ||
Procedures for handling different web checks. | ||
Checks an attribute of a component. | ||
Negates a normal Elementcheck in select elements to allow NegationChecks. | ||
Checks if the given element (option-element-text) is in the select-element (combobox). | ||
Negates a normal WaitForComponentCheck to allow VisibilityChecks. | ||
Negates a normal Textcheck to allow NegationChecks. | ||
Checks the title of the BrowserWindow. | ||
Procedures for handling different element style checks. | ||
Checks a specific style attribute for the given component. | ||
Procedures for handling different element style checks concerning color attributes. | ||
Checks the value that indicates the color behind the content of the component. | ||
Checks the value that indicates the color of the text of the component. | ||
Procedures for handling different element style checks concerning font attributes. | ||
Checks the name of the font used for text in the component. | ||
Checks the value that indicates the font size used for text in the component | ||
Checks the value that indicates the font style used for text in the component (italic, normal or oblique) | ||
Returns the value of a specific style attribute of the given component. | ||
Procedures which work for any Web component. | ||
Click on a given component, but only if the according parameter is set to true. | ||
Click on a given component, but only if the according parameter is set to true. | ||
Clicks the given component with increasingly hard mouse clicks and waits for the given action to be performed. | ||
Delete the current association of PriorityWebComponent. | ||
Click on a given component. | ||
Click on a given component. | ||
Simulate a drag&drop operation. | ||
Return document's source code. | ||
Integrates Firebug Lite from http://getfirebug.com into an open browser window for an easier analysis of the DOM. | ||
Set a given component to the PriorityWebComponent. | ||
Wait for a given component. | ||
Wait till a given component disappears. | ||
Procedures to access INPUT elements. | ||
Set the value of the INPUT:FILE node by whatever means that are applicable for the browser. | ||
Procedures to set the state of buttons. | ||
Return the value of a radio button. | ||
Select a radio button. | ||
Select a radio button. | ||
Procedures to access select nodes. | ||
Return the current index of a given item. | ||
Return the number of items of a given select. | ||
Return the current value of a given select node. | ||
Return the current text of a given item. | ||
Select a given value in a Select node. | ||
Procedures to access web tables. | ||
Procedures for checking a table. | ||
Check the number of columns of a given table according to a specified comparison mode. | ||
Check the number of rows of a given table according to a specified comparison mode. | ||
Select a given cell. | ||
Return the number of columns of a given web table. | ||
Return the current index of a given column. | ||
Return the header text of a given column. | ||
Return the number of rows of a given table. | ||
Return the row number of a given cell. | ||
Return the text of a given cell. | ||
Procedures influencing recording of web tables. | ||
Activate recording of item based access for a given web table. | ||
Deactivate recording of item based access for a given web table. | ||
Select a given cell. | ||
Procedures to access text fields and text areas. | ||
Clear a multi-line text area. | ||
Clear a simple text field. | ||
Return the text of a given textfield. | ||
Set a given text to a given text-field or text-area. | ||
Read the content of a given file and set its content to a given text-field. |
[Summary] [qfs.qft] |
Package: 'qfs' |
This package contains helpful standard procedures provided by Quality First Software. The "SUT client" name is used in many of the contained procedures represented by the "$(client)" variable. We recommend to define the variable "client" in the respective table of the test-suite's root node - as long as only one SUT client is used in the test-suite. This ensures that the "client" parameter doesn't have to be given separately.
|
[Summary] [qfs.qft] [qfs] |
Package: 'autoscreen' |
Procedures for testing based on images.
|
[Summary] [qfs.qft] [qfs] [autoscreen] |
Package: 'fx' |
Procedures to replay events anywhere on a JavaFX application based on images.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Click at an image anywhere on a JavaFX application. | |||
| Find an image anywhere on a JavaFX application and return the component ID. |
[Summary] [qfs.qft] [qfs] [autoscreen] [fx] |
Procedure: 'clickAtImage' |
Click at an image anywhere on a JavaFX application. The target image has to be provided as PNG-file. QF-Test tries to find this image on the JavaFX application by using an advanced image check algorithm. The click goes to the middle of the got region unless there are offsets defined. Note: Does only work for currently displayed images without scrolling.
|
[Summary] [qfs.qft] [qfs] [autoscreen] [fx] |
Procedure: 'getComponentAtImage' |
Find an image anywhere on a JavaFX application and return the component ID. The target image has to be provided as PNG-file. QF-Test tries to find this image on the JavaFX application by using an advanced image check algorithm. Note: Does only work for currently displayed images without scrolling.
|
[Summary] [qfs.qft] [qfs] [autoscreen] |
Package: 'screen' |
Procedures to replay events anywhere on the screen based on images.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Click at an image anywhere on the screen. | |||
| Find an image anywhere on the screen and return its position. |
[Summary] [qfs.qft] [qfs] [autoscreen] [screen] |
Procedure: 'clickAtImage' |
Click at an image anywhere on the screen. The target image has to be provided as PNG-file. QF-Test tries to find this image on the screen by using an advanced image check algorithm. The click goes to the middle of the got region unless there are offsets defined.
|
[Summary] [qfs.qft] [qfs] [autoscreen] [screen] |
Procedure: 'getPositionOfImage' |
Find an image anywhere on the screen and return its position. The target image has to be provided as PNG-file. QF-Test tries to find this image on the screen by using an advanced image check algorithm.
|
[Summary] [qfs.qft] [qfs] [autoscreen] |
Package: 'swing' |
Procedures to replay events anywhere on a Swing application based on images.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Click at an image anywhere on a JFrame of a swing application. | |||
| Find an image anywhere on a JFrame of a Swing application and return the component ID. |
[Summary] [qfs.qft] [qfs] [autoscreen] [swing] |
Procedure: 'clickAtImage' |
Click at an image anywhere on a JFrame of a swing application. The target image has to be provided as PNG-file. QF-Test tries to find this image on the JFrame by using an advanced image check algorithm. The click goes to the middle of the got region unless there are offsets defined.
|
[Summary] [qfs.qft] [qfs] [autoscreen] [swing] |
Procedure: 'getComponentAtImage' |
Find an image anywhere on a JFrame of a Swing application and return the component ID. The target image has to be provided as PNG-file. QF-Test tries to find this image on the JFrame by using an advanced image check algorithm.
|
[Summary] [qfs.qft] [qfs] [autoscreen] |
Package: 'swt' |
Procedures to replay events anywhere on a SWT application based on images.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Click at an image anywhere on a Shell of a SWT application. | |||
| Find an image anywhere on a Shell of a SWT application and return the component ID. |
[Summary] [qfs.qft] [qfs] [autoscreen] [swt] |
Procedure: 'clickAtImage' |
Click at an image anywhere on a Shell of a SWT application. The target image has to be provided as PNG-file. QF-Test tries to find this image on the Shell by using an advanced image check algorithm. The click goes to the middle of the got region unless there are offsets defined.
|
[Summary] [qfs.qft] [qfs] [autoscreen] [swt] |
Procedure: 'getComponentAtImage' |
Find an image anywhere on a Shell of a SWT application and return the component ID. The target image has to be provided as PNG-file. QF-Test tries to find this image on the Shell by using an advanced image check algorithm.
|
[Summary] [qfs.qft] [qfs] [autoscreen] |
Package: 'web' |
Procedures to replay events anywhere on a Web application based on images.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Click at an image anywhere on a web application. | |||
| Find an image anywhere on a web application and return the component ID. |
[Summary] [qfs.qft] [qfs] [autoscreen] [web] |
Procedure: 'clickAtImage' |
Click at an image anywhere on a web application. The target image has to be provided as PNG-file. QF-Test tries to find this image on the web application by using an advanced image check algorithm. The click goes to the middle of the got region unless there are offsets defined. Note: Does only work for currently displayed images without scrolling.
|
[Summary] [qfs.qft] [qfs] [autoscreen] [web] |
Procedure: 'getComponentAtImage' |
Find an image anywhere on a web application and return the component ID. The target image has to be provided as PNG-file. QF-Test tries to find this image on the web application by using an advanced image check algorithm. Note: Does only work for currently displayed images without scrolling.
|
[Summary] [qfs.qft] [qfs] |
Package: 'autowin' |
Contains procedures to work with native windows of the operating system Windows. All procedures use the Jython library autowin.py, located in the jython/Lib folder of the current installation. There are even more methods for your needs, e.g. click a button or setting a text.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Check, whether a native window on the operating system Windows is opened. | |||
| Check, whether a native window on the operating system Windows is opened and close it. | |||
| Close a window. | |||
| Read the URL from an InternetExplorer window. | |||
| Write all children of a window to the run-log. | |||
| Perform Ctrl+A and then Ctrl+C to a given window. | |||
| Mark and copy the whole text of a given document via Ctrl+A and Ctrl+C. |
[Summary] [qfs.qft] [qfs] [autowin] |
Procedure: 'checkForExistence' |
Check, whether a native window on the operating system Windows is opened. If the window is a result of your test you can configure it to provide an error or an exception, if the window does not appear.
|
[Summary] [qfs.qft] [qfs] [autowin] |
Procedure: 'checkForExistenceAndClose' |
Check, whether a native window on the operating system Windows is opened and close it. If the window is a result of your test you can configure it to provide an error or an exception, if the window does not appear.
|
[Summary] [qfs.qft] [qfs] [autowin] |
Procedure: 'close' |
Close a window.
|
[Summary] [qfs.qft] [qfs] [autowin] |
Procedure: 'getURLFromIE' |
Read the URL from an InternetExplorer window.
|
[Summary] [qfs.qft] [qfs] [autowin] |
Procedure: 'logChildWindows' |
Write all children of a window to the run-log.
|
[Summary] [qfs.qft] [qfs] [autowin] |
Procedure: 'markAllAndCopy' |
Perform Ctrl+A and then Ctrl+C to a given window. Afterwards you should have the text in the Clipboard, which enables you to insert the text somewhere for checking.
|
[Summary] [qfs.qft] [qfs] [autowin] |
Procedure: 'saveTextToFileViaClipboard' |
Mark and copy the whole text of a given document via Ctrl+A and Ctrl+C. Then it fetches the text from the clipboard and saves it into a given file.
|
[Summary] [qfs.qft] [qfs] [autowin] |
Package: 'acrobat' |
Contain procedures to handle Adobe Acrobat Reader specific tasks like SaveAs or SaveAs Text ...
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Save the current open PDF in Adobe Acrobat Reader as a text file with the given filename. | |||
| Save the current open PDF in Adobe Acrobat Reader as a PDF file with the given filename. |
[Summary] [qfs.qft] [qfs] [autowin] [acrobat] |
Procedure: 'saveAsText' |
Save the current open PDF in Adobe Acrobat Reader as a text file with the given filename. Note: It only 'knows' English and German buttons. Thus currently only the English and German versions of Adobe Acrobat Reader are supported. Logs an error if the file is already existing but parameter overwriteExistingFile is set to false.
|
[Summary] [qfs.qft] [qfs] [autowin] [acrobat] |
Procedure: 'savePDF' |
Save the current open PDF in Adobe Acrobat Reader as a PDF file with the given filename. Note: It simulates CTRL+SHIFT+S keystrokes to open the file dialog. Logs an error if the file is already existing but parameter overwriteExistingFile is set to false.
|
[Summary] [qfs.qft] [qfs] |
Package: 'awt' |
Procedures for advanced manipulation of awt components.
|
[Summary] [qfs.qft] [qfs] [awt] |
Package: 'menu' |
Procedures to select menu items. (AWT components Plain AWT Menus are not supported by QF-Test out of the box, but you can use the procedures of this package to work with those menus.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Select an item from a menu. | |||
| Select an item from a menu. | |||
| Select a checkbox item from a menu. | |||
| Select a checkbox item from a menu in a sub-menu. |
[Summary] [qfs.qft] [qfs] [awt] [menu] |
Procedure: 'selectItem' |
Select an item from a menu. For example: for the "File" -> "Open" action, the label of "File" is the menu, and the label for "Open" is the item.
|
[Summary] [qfs.qft] [qfs] [awt] [menu] |
Procedure: 'selectItemWithSubMenu' |
Select an item from a menu. For example: for the "File" -> "Save as" -> "File" action, the label of "File" is the menu, the label for submenu is "Save as", and the label of "Open" is the item.
|
[Summary] [qfs.qft] [qfs] [awt] [menu] |
Procedure: 'setCheckItem' |
Select a checkbox item from a menu. For example: for the "File" -> "Open" action, the label of "File" is the menu, and the label for "Open" is the item.
|
[Summary] [qfs.qft] [qfs] [awt] [menu] |
Procedure: 'setSubCheckItem' |
Select a checkbox item from a menu in a sub-menu. For example: for the "File" -> "Save as" -> "File" action, the label of "File" is the menu, the label for submenu is "Save as", and the label of "Open" is the item.
|
[Summary] [qfs.qft] [qfs] |
Package: 'check' |
Contains procedures to check components.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Check the state of a given component. | |||
| Check image of a component against a file. | |||
| Check if given component is selected. | |||
| Check the text of a given component. | |||
| Check whether a value is in a given range. | |||
| Compare two values for their equality. | |||
| Compare two date strings. | |||
| Compare two values for their equality. | |||
| Compare two values for their equality. |
[Summary] [qfs.qft] [qfs] [check] |
Procedure: 'checkEnabledStatus' |
Check the state of a given component. It writes an error into the run-log, if the check fails.
|
[Summary] [qfs.qft] [qfs] [check] |
Procedure: 'checkImageAgainstFile' |
Check image of a component against a file. It writes an error into the run-log, if the check fails.
|
[Summary] [qfs.qft] [qfs] [check] |
Procedure: 'checkSelectedStatus' |
Check if given component is selected. It writes an error into the run-log, if the check fails.
|
[Summary] [qfs.qft] [qfs] [check] |
Procedure: 'checkText' |
Check the text of a given component. It writes an error into the run-log, if the check fails.
|
[Summary] [qfs.qft] [qfs] [check] |
Procedure: 'checkValueInRange' |
Check whether a value is in a given range.
|
[Summary] [qfs.qft] [qfs] [check] |
Procedure: 'checkValueToBeEqual' |
Compare two values for their equality. It uses the rc.checkEqual() method from QF-Test.
|
[Summary] [qfs.qft] [qfs] [check] |
Procedure: 'compareDates' |
Compare two date strings. Formatting rules: If a format and a locale are specified the date will be formated using both values. If only a format is specified the date will be formatted only with that format. If only a locale is specified the date will be formatted according to the locale-format.
|
[Summary] [qfs.qft] [qfs] [check] |
Procedure: 'compareTwoNumbers' |
Compare two values for their equality. Both values should be numbers. It uses the rc.check() method from QF-Test.
|
[Summary] [qfs.qft] [qfs] [check] |
Procedure: 'compareTwoStringValues' |
Compare two values for their equality. The values should be string values. It uses the rc.check() method from QF-Test.
|
[Summary] [qfs.qft] [qfs] |
Package: 'cleanup' |
Deprecated: This package is deprecated because according cleanup-procedures are implemented in the qfs.swing resp. qfs.swt package. Please use the technology specific procedures. The procedures in this package are useful for generic cleanup after an exception is thrown. In some cases a menu or modal dialog may have been left open, causing future events for the SUT to be blocked.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Close all dialogs. | |||
| Close all menus unconditionally. | |||
| Close all modal dialogs. | |||
| This procedure encompasses the usage of other cleanup procedures in this package and is the recommended operation to perform after an exception occurs and is implicitly caught. |
[Summary] [qfs.qft] [qfs] [cleanup] |
Procedure: 'closeAllDialogs' |
Deprecated: Please use the technology specific procedures in the qfs.swing or qfs.swt package according to your SUT. Close all dialogs.
|
[Summary] [qfs.qft] [qfs] [cleanup] |
Procedure: 'closeAllMenus' |
Deprecated: Please use the technology specific procedures in the qfs.swing or qfs.swt package according to your SUT. Close all menus unconditionally. A menu left open (or even just selected) will cause events for the SUT to be blocked. This procedure is recommended for cleanup after an exception occurs.
|
[Summary] [qfs.qft] [qfs] [cleanup] |
Procedure: 'closeAllModalDialogs' |
Deprecated: Please use the technology specific procedures in the qfs.swing or qfs.swt package according to your SUT. Close all modal dialogs. A modal dialog that is left open will cause events for the SUT to be blocked. Ensuring that modal dialogs are closed is a good operation to conduct in a setup/cleanup sequence.
|
[Summary] [qfs.qft] [qfs] [cleanup] |
Procedure: 'implicitExceptionHandler' |
Deprecated: Please use the technology specific procedures in the qfs.swing or qfs.swt package according to your SUT. This procedure encompasses the usage of other cleanup procedures in this package and is the recommended operation to perform after an exception occurs and is implicitly caught. Calling this procedure should be the first step in the cleanup sequence of any Test node with the "Implicitly catch exceptions" attribute set.
|
[Summary] [qfs.qft] [qfs] |
Package: 'client' |
Procedures for interacting with (SUT) clients.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Rename an SUT client. | |||
| Write a string to the stdin stream of a process started by QF-Test. | |||
| Helper method for turning on internal logging. | |||
| Helper method for turning off internal logging. |
[Summary] [qfs.qft] [qfs] [client] |
Procedure: 'renameClient' |
Rename an SUT client. This is especially useful when interacting with sub-processes of an SUT where you don't have full control over the client name during startup.
|
[Summary] [qfs.qft] [qfs] [client] |
Procedure: 'sendInput' |
Write a string to the stdin stream of a process started by QF-Test.
|
[Summary] [qfs.qft] [qfs] [client] |
Procedure: 'startLogging' |
Helper method for turning on internal logging. For QFS support and debugging use only.
|
[Summary] [qfs.qft] [qfs] [client] |
Procedure: 'stopLogging' |
Helper method for turning off internal logging. For QFS support and debugging use only.
|
[Summary] [qfs.qft] [qfs] |
Package: 'daemon' |
Procedures to work with a QF-Test daemon.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Starts remote instrumentation procedure for an Eclipse/RCP based or standalone SWT application via a given daemon. | |||
| Locate all running daemons and writes them into the run-log and prints a list of running daemons to the terminal. | |||
| Start a client application on a remote host via the QF-Test daemon. |
[Summary] [qfs.qft] [qfs] [daemon] |
Procedure: 'instrumentRemoteSwt' |
Starts remote instrumentation procedure for an Eclipse/RCP based or standalone SWT application via a given daemon.
|
[Summary] [qfs.qft] [qfs] [daemon] |
Procedure: 'locateDaemons' |
Locate all running daemons and writes them into the run-log and prints a list of running daemons to the terminal. If no daemons can be found it logs an error.
|
[Summary] [qfs.qft] [qfs] [daemon] |
Procedure: 'startRemoteSUT' |
Start a client application on a remote host via the QF-Test daemon.
|
[Summary] [qfs.qft] [qfs] |
Package: 'database' |
Procedures to work with databases.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Build up connection to a given database and executes a specified select-sql-statement. | |||
| Build up connection to a given database and execute a specified SQL-statement. |
[Summary] [qfs.qft] [qfs] [database] |
Procedure: 'executeSelectStatement' |
Build up connection to a given database and executes a specified select-sql-statement. You can configure the procedure to store all results in a group QF-Test variable. NOTE: The SQL-statement should be a select statement! NOTE: The class of the database driver must be either in QF-Test's plugin directory or in the CLASSPATH environment variable before QF-Test startup! For more information about connection-strings please see www.connectionstrings.com.
|
[Summary] [qfs.qft] [qfs] [database] |
Procedure: 'executeStatement' |
Build up connection to a given database and execute a specified SQL-statement. NOTE: The class of the database driver must be either in QF-Test's plugin directory or in the CLASSPATH environment variable before QF-Test startup! For more information about connection-strings please see www.connectionstrings.com.
|
[Summary] [qfs.qft] [qfs] |
Package: 'databinder' |
Procedures to bind data for data-driven testing.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Create and register a databinder that binds a list of values to a variable. | |||
| Create and register a databinder that binds a list of value-sets to a set of variables. |
[Summary] [qfs.qft] [qfs] [databinder] |
Procedure: 'bindList' |
Create and register a databinder that binds a list of values to a variable.
|
[Summary] [qfs.qft] [qfs] [databinder] |
Procedure: 'bindSets' |
Create and register a databinder that binds a list of value-sets to a set of variables.
|
[Summary] [qfs.qft] [qfs] |
Package: 'dialogs' |
Procedures for showing dialogs during the test-run.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Show a configurable dialog equivalent to JOptionPane. | |||
| Show an information dialog with an OK option. | |||
| Show an information dialog with a YES, NO and CANCEL option. | |||
| Show an information dialog with a YES and NO option. |
[Summary] [qfs.qft] [qfs] [dialogs] |
Procedure: 'showConfigurabableDialog' |
Show a configurable dialog equivalent to JOptionPane.
|
[Summary] [qfs.qft] [qfs] [dialogs] |
Procedure: 'showInformationMessageDialog' |
Show an information dialog with an OK option.
|
[Summary] [qfs.qft] [qfs] [dialogs] |
Procedure: 'showYes_No_Cancel_Dialog' |
Show an information dialog with a YES, NO and CANCEL option.
|
[Summary] [qfs.qft] [qfs] [dialogs] |
Procedure: 'showYes_No_Dialog' |
Show an information dialog with a YES and NO option.
|
[Summary] [qfs.qft] [qfs] |
Package: 'fx' |
Procedures for advanced manipulation of fx components.
|
[Summary] [qfs.qft] [qfs] [fx] |
Package: 'checkbox' |
Procedures to get and set the state of checkboxes.
(fx component
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Deselect a checkbox. | |||
| Deselect a checkbox. | |||
| Return the value of a checkbox. | |||
| Select a checkbox. | |||
| Select a checkbox. | |||
| Set checkbox to the given state. | |||
| Set checkbox to the given state. |
[Summary] [qfs.qft] [qfs] [fx] [checkbox] |
Procedure: 'deselect' |
Deselect a checkbox. If the checkbox is already de-selected, no action is performed.
|
[Summary] [qfs.qft] [qfs] [fx] [checkbox] |
Procedure: 'deselectWithCoordinates' |
Deselect a checkbox. If the checkbox is already de-selected, no action is performed. You can specify the coordinates for clicking.
|
[Summary] [qfs.qft] [qfs] [fx] [checkbox] |
Procedure: 'getValue' |
Return the value of a checkbox. It's either 1, if box is selected or 0, if box is not selected.
|
[Summary] [qfs.qft] [qfs] [fx] [checkbox] |
Procedure: 'select' |
Select a checkbox. If the checkbox is already selected, no action is performed.
|
[Summary] [qfs.qft] [qfs] [fx] [checkbox] |
Procedure: 'selectWithCoordinates' |
Select a checkbox. If the checkbox is already selected, no action is performed. You can specify the coordinates for clicking.
|
[Summary] [qfs.qft] [qfs] [fx] [checkbox] |
Procedure: 'set' |
Set checkbox to the given state.
|
[Summary] [qfs.qft] [qfs] [fx] [checkbox] |
Procedure: 'setWithCoordinates' |
Set checkbox to the given state. You can specify the coordinates for clicking.
|
[Summary] [qfs.qft] [qfs] [fx] |
Package: 'cleanup' |
The procedures in this package are useful for generic cleanup after an exception is thrown. In some cases a menu or modal dialog may have been left open, causing future events for the SUT to be blocked.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Close all menus unconditionally. | |||
| Close all modal dialogs. | |||
| Close a menu by replaying an [Escape] keystroke on a Window. | |||
| This procedure encompasses the usage of other cleanup procedures in this package and is the recommended operation to perform after an exception occurs and is implicitly caught. |
[Summary] [qfs.qft] [qfs] [fx] [cleanup] |
Procedure: 'closeAllMenus' |
Close all menus unconditionally. A menu left open (or even just selected) will cause events for the SUT to be blocked. This procedure is recommended for cleanup after an exception occurs.
|
[Summary] [qfs.qft] [qfs] [fx] [cleanup] |
Procedure: 'closeAllModalDialogs' |
Close all modal dialogs. A modal dialog that is left open will cause events for the SUT to be blocked. Ensuring that modal dialogs are closed is a good operation to conduct in a setup/cleanup sequence.
|
[Summary] [qfs.qft] [qfs] [fx] [cleanup] |
Procedure: 'closeMenu' |
Close a menu by replaying an [Escape] keystroke on a Window.
|
[Summary] [qfs.qft] [qfs] [fx] [cleanup] |
Procedure: 'implicitExceptionHandler' |
This procedure encompasses the usage of other cleanup procedures in this package and is the recommended operation to perform after an exception occurs and is implicitly caught. Calling this procedure should be the first step in the error handler of a base dependency or the cleanup sequence of any Test node with the "Implicitly catch exceptions" attribute set.
|
[Summary] [qfs.qft] [qfs] [fx] |
Package: 'combobox' |
Procedures to handle comboboxes.
(fx component
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Return the current index of a given item. | |||
| Return the number of items of a given combobox. | |||
| Return the text of a given combobox. | |||
| Return the text of a given item. | |||
| Select specified value of a given combobox. | |||
| Set a value in the combobox. | |||
| Select specified value of a given combobox using a SUT script. |
[Summary] [qfs.qft] [qfs] [fx] [combobox] |
Procedure: 'getIndexOfItem' |
Return the current index of a given item. Sample usage: Can be used to determine the numeric index of an item like 'Price'.
|
[Summary] [qfs.qft] [qfs] [fx] [combobox] |
Procedure: 'getItemCount' |
Return the number of items of a given combobox.
It uses the method
|
[Summary] [qfs.qft] [qfs] [fx] [combobox] |
Procedure: 'getValue' |
Return the text of a given combobox.
|
[Summary] [qfs.qft] [qfs] [fx] [combobox] |
Procedure: 'getValueOfItem' |
Return the text of a given item. Sample usage: Determine the text of the second item.
|
[Summary] [qfs.qft] [qfs] [fx] [combobox] |
Procedure: 'setValue' |
Select specified value of a given combobox. If the given value is empty, no action will take place. You should use this procedure for any standard selections.
|
[Summary] [qfs.qft] [qfs] [fx] [combobox] |
Procedure: 'setValueViaIndex' |
Set a value in the combobox. You should use this procedure if setValue doesn't work correctly.
|
[Summary] [qfs.qft] [qfs] [fx] [combobox] |
Procedure: 'setValueViaSUTScript' |
Select specified value of a given combobox using a SUT script.
It uses the API-method If the given value is empty, no action will take place. You should use this procedure only if setValue and setValueViaIndex don't work for your use-case.
|
[Summary] [qfs.qft] [qfs] [fx] |
Package: 'general' |
Procedures which work for any fx component.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Click on a given component, but only if the according parameter is set to true. | |||
| Click on a given component, but only if the according parameter is set to true. | |||
| Delete the current association of PriorityFxNode. | |||
| Click on a given component. | |||
| Click on a given component. | |||
| Send a selection event to a given component. | |||
| Set the location of a given component. | |||
| Set a given component to the PriorityFxNode. | |||
| Set the width and the height of a given component. | |||
| Wait for a given component. | |||
| Wait till a given component disappears. |
[Summary] [qfs.qft] [qfs] [fx] [general] |
Procedure: 'clickAtComponent' |
Click on a given component, but only if the according parameter is set to true.
|
[Summary] [qfs.qft] [qfs] [fx] [general] |
Procedure: 'clickAtComponentWithDetails' |
Click on a given component, but only if the according parameter is set to true. You can specify the coordinates for clicking and all other details of that mouse click.
|
[Summary] [qfs.qft] [qfs] [fx] [general] |
Procedure: 'deleteOverrideComponent' |
Delete the current association of PriorityFxNode.
|
[Summary] [qfs.qft] [qfs] [fx] [general] |
Procedure: 'doClick' |
Click on a given component.
|
[Summary] [qfs.qft] [qfs] [fx] [general] |
Procedure: 'doClickWithDetails' |
Click on a given component. You can specify the coordinates for clicking and all other details of that mouse click.
|
[Summary] [qfs.qft] [qfs] [fx] [general] |
Procedure: 'doSelect' |
Send a selection event to a given component. That's not a mouse-click. Selection events are special events for menus or list selection.
|
[Summary] [qfs.qft] [qfs] [fx] [general] |
Procedure: 'setLocation' |
Set the location of a given component.
|
[Summary] [qfs.qft] [qfs] [fx] [general] |
Procedure: 'setOverrideComponent' |
Set a given component to the PriorityFxNode.
|
[Summary] [qfs.qft] [qfs] [fx] [general] |
Procedure: 'setSize' |
Set the width and the height of a given component. It uses setSize(width, height) to set the size.
|
[Summary] [qfs.qft] [qfs] [fx] [general] |
Procedure: 'waitForComponent' |
Wait for a given component.
|
[Summary] [qfs.qft] [qfs] [fx] [general] |
Procedure: 'waitForComponentForAbsence' |
Wait till a given component disappears.
|
[Summary] [qfs.qft] [qfs] [fx] |
Package: 'list' |
Procedures for accessing lists.
(fx component
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Select a given item by a mouse-click on it. | |||
| Return the current index of a given item. | |||
| Return the number of items of a given list. | |||
| Return the text of a given item. | |||
| Select a given item by a mouse-click on it. |
[Summary] [qfs.qft] [qfs] [fx] [list] |
Procedure: 'clickItemWithDetails' |
Select a given item by a mouse-click on it. You can specify the coordinates for clicking and all other details of that mouse click.
|
[Summary] [qfs.qft] [qfs] [fx] [list] |
Procedure: 'getIndexOfItem' |
Return the current index of a given item. Sample usage: Can be used to determine the numeric index of an item like 'Price'.
|
[Summary] [qfs.qft] [qfs] [fx] [list] |
Procedure: 'getItemCount' |
Return the number of items of a given list.
It uses the method
|
[Summary] [qfs.qft] [qfs] [fx] [list] |
Procedure: 'getValueOfItem' |
Return the text of a given item. Sample usage: Determine the text of the second item.
|
[Summary] [qfs.qft] [qfs] [fx] [list] |
Procedure: 'selectItem' |
Select a given item by a mouse-click on it.
|
[Summary] [qfs.qft] [qfs] [fx] [list] |
Package: 'checks' |
Procedures for checking a list.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Check the number of items of a given list according to a specified comparison mode. |
[Summary] [qfs.qft] [qfs] [fx] [list] [checks] |
Procedure: 'checkNumberOfItems' |
Check the number of items of a given list according to a specified comparison mode. It uses
|
[Summary] [qfs.qft] [qfs] [fx] [list] |
Package: 'selection' |
Procedures to (de-)select certain items of a list.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Deselect all items. | |||
| Deselect a given item, specified by its index. | |||
| Deselect a range of items, specified by their index. | |||
| Select all items. | |||
| Select a given item, specified by its index. | |||
| Select a range of items, specified by their index. |
[Summary] [qfs.qft] [qfs] [fx] [list] [selection] |
Procedure: 'deselectAllItems' |
Deselect all items. It uses
|
[Summary] [qfs.qft] [qfs] [fx] [list] [selection] |
Procedure: 'deselectItem' |
Deselect a given item, specified by its index. It uses
|
[Summary] [qfs.qft] [qfs] [fx] [list] [selection] |
Procedure: 'deselectItemRange' |
Deselect a range of items, specified by their index. It uses
|
[Summary] [qfs.qft] [qfs] [fx] [list] [selection] |
Procedure: 'selectAllItems' |
Select all items. It uses
|
[Summary] [qfs.qft] [qfs] [fx] [list] [selection] |
Procedure: 'selectItem' |
Select a given item, specified by its index. It uses
|
[Summary] [qfs.qft] [qfs] [fx] [list] [selection] |
Procedure: 'selectItemRange' |
Select a range of items, specified by their index.
|
[Summary] [qfs.qft] [qfs] [fx] |
Package: 'menu' |
Procedures to select menu items and checkbox menu items.
(fx components
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Select a checkbox menu item from a menu. | |||
| Select a checkbox menu item from a menu. | |||
| Select an item from a menu. | |||
| Select an item from a menu. | |||
| Select an item from a menu. | |||
| Select an item from a menu. | |||
| Select an item within a submenu. | |||
| Select an item within a submenu. | |||
| Select a checkbox menu item. | |||
| Select a checkbox menu item. | |||
| Select a checkbox menu item within within a submenu. | |||
| Select a checkbox menu item within within a submenu. |
[Summary] [qfs.qft] [qfs] [fx] [menu] |
Procedure: 'selectCheckMenuItemInHierarchy' |
Select a checkbox menu item from a menu. This procedure is designed to work with any menu item. You can define the entire menu path in the parameter menu. Samples: If you want to select at "View" -> "Show terminal" you set menu to the component id "mView" and item to "mShowTerminal" (Of course you need to set your component id's). If you want to select at "Options" -> "Search" -> "Exclude digits" you set menu to the component id "mFile.mSearch" and item to "mExcludeDigits" (Of course you need to set your component id's).
|
[Summary] [qfs.qft] [qfs] [fx] [menu] |
Procedure: 'selectCheckMenuItemInHierarchyWithCoordinates' |
Select a checkbox menu item from a menu. This procedure is designed to work with any menu item. You can define the entire menu path in the parameter menu. Samples: If you want to select at "View" -> "Show terminal" you set menu to the component id "mView" and item to "mShowTerminal" (Of course you need to set your component id's). If you want to select at "Options" -> "Search" -> "Exclude digits" you set menu to the component id "mFile.mSearch" and item to "mExcludeDigits" (Of course you need to set your component id's).
|
[Summary] [qfs.qft] [qfs] [fx] [menu] |
Procedure: 'selectItem' |
Select an item from a menu. For example: for the File -> Open action, the component ID of "File" is the menu, and the ID for "Open" is the item.
|
[Summary] [qfs.qft] [qfs] [fx] [menu] |
Procedure: 'selectItemWithCoordinates' |
Select an item from a menu. For example: for the File -> Open action, the component ID of "File" is the menu, and the ID for "Open" is the item.
|
[Summary] [qfs.qft] [qfs] [fx] [menu] |
Procedure: 'selectMenuItemInHierarchy' |
Select an item from a menu. This procedure is designed to work with any menu item. You can define the entire menu path in the parameter menu. Samples: If you want to select at "File" -> "Close" you set menu to the component id "mFile" and item to "mClose" (Of course you need to set your component id's). If you want to select at "Options" -> "Search" -> "Search text" you set menu to the component id "mFile.mSearch" and item to "mSearchText" (Of course you need to set your component id's).
|
[Summary] [qfs.qft] [qfs] [fx] [menu] |
Procedure: 'selectMenuItemInHierarchyWithCoordinates' |
Select an item from a menu. This procedure is designed to work with any menu item. You can define the entire menu path in the parameter menu. You can specify the coordinates for clicking. Samples: If you want to select at "File" -> "Close" you set menu to the component id "mFile" and item to "mClose" (Of course you need to set your component id's). If you want to select at "Options" -> "Search" -> "Search text" you set menu to the component id "mFile.mSearch" and item to "mSearchText" (Of course you need to set your component id's).
|
[Summary] [qfs.qft] [qfs] [fx] [menu] |
Procedure: 'selectSubItem' |
Select an item within a submenu. For example: for the View -> Terminal -> Show action, the component ID of "View" is the menu, the ID for "Terminal" is the item, and the ID for "Show" is the sub-item to select.
|
[Summary] [qfs.qft] [qfs] [fx] [menu] |
Procedure: 'selectSubItemWithCoordinates' |
Select an item within a submenu. For example: for the View -> Terminal -> Show action, the component ID of "View" is the menu, the ID for "Terminal" is the item, and the ID for "Show" is the sub-item to select.
|
[Summary] [qfs.qft] [qfs] [fx] [menu] |
Procedure: 'setCheckItem' |
Select a checkbox menu item. For example: for the View -> Show Details action, the component ID of "View" is the menu, and the ID for "Show Details" is the checkbox item to set (to true or false).
|
[Summary] [qfs.qft] [qfs] [fx] [menu] |
Procedure: 'setCheckItemWithCoordinates' |
Select a checkbox menu item. For example: for the View -> Show Details action, the component ID of "View" is the menu, and the ID for "Show Details" is the checkbox item to set (to true or false).
|
[Summary] [qfs.qft] [qfs] [fx] [menu] |
Procedure: 'setSubCheckItem' |
Select a checkbox menu item within within a submenu. For example: for the View -> Terminal -> Wrap Lines action, the component ID of "View" is the menu, the ID for "Terminal" is the item and the ID for "Wrap Lines" is the checkbox menu item to set (to true or false).
|
[Summary] [qfs.qft] [qfs] [fx] [menu] |
Procedure: 'setSubCheckItemWithCoordinates' |
Select a checkbox menu item within within a submenu. For example: for the View -> Terminal -> Wrap Lines action, the component ID of "View" is the menu, the ID for "Terminal" is the item and the ID for "Wrap Lines" is the checkbox menu item to set (to true or false).
|
[Summary] [qfs.qft] [qfs] [fx] |
Package: 'popupmenu' |
Procedures to select items and checkbox menu items from popup menus. Note that for all procedures, the popup menu must first be opened by the calling test-suite, as the popup menu is component-dependent. See package "menu" for more details about menus and sub-menus.
(fx components
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Select an item in a popup menu. | |||
| Select an item in a popup menu. | |||
| Select an item within a submenu of a popup menu. | |||
| Select an item within a submenu of a popup menu. | |||
| Select a checkbox menu item in a popup menu. | |||
| Select a checkbox menu item in a popup menu. | |||
| Select a checkbox menu item within a submenu of a popup menu. | |||
| Select a checkbox menu item within a submenu of a popup menu. |
[Summary] [qfs.qft] [qfs] [fx] [popupmenu] |
Procedure: 'clickItemWithDetails' |
Select an item in a popup menu. You can specify the coordinates for clicking and all other details of that mouse click.
|
[Summary] [qfs.qft] [qfs] [fx] [popupmenu] |
Procedure: 'selectItem' |
Select an item in a popup menu.
|
[Summary] [qfs.qft] [qfs] [fx] [popupmenu] |
Procedure: 'selectSubItem' |
Select an item within a submenu of a popup menu.
|
[Summary] [qfs.qft] [qfs] [fx] [popupmenu] |
Procedure: 'selectSubItemWithCoordinates' |
Select an item within a submenu of a popup menu. You can specify the coordinates for clicking.
|
[Summary] [qfs.qft] [qfs] [fx] [popupmenu] |
Procedure: 'setCheckItem' |
Select a checkbox menu item in a popup menu.
|
[Summary] [qfs.qft] [qfs] [fx] [popupmenu] |
Procedure: 'setCheckItemWithCoordinates' |
Select a checkbox menu item in a popup menu. You can specify the coordinates for clicking.
|
[Summary] [qfs.qft] [qfs] [fx] [popupmenu] |
Procedure: 'setSubCheckItem' |
Select a checkbox menu item within a submenu of a popup menu.
|
[Summary] [qfs.qft] [qfs] [fx] [popupmenu] |
Procedure: 'setSubCheckItemWithCoordinates' |
Select a checkbox menu item within a submenu of a popup menu. You can specify the coordinates for clicking.
|
[Summary] [qfs.qft] [qfs] [fx] |
Package: 'radiobutton' |
Procedures to set and get the state of radio buttons.
(fx component
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Return the value of a radio button. | |||
| Select a radio button. | |||
| Select a radio button. |
[Summary] [qfs.qft] [qfs] [fx] [radiobutton] |
Procedure: 'getValue' |
Return the value of a radio button. It's either 1, if radio button is selected of 0, if radio button is not selected.
|
[Summary] [qfs.qft] [qfs] [fx] [radiobutton] |
Procedure: 'select' |
Select a radio button. If the radio button is already selected, no action is performed.
|
[Summary] [qfs.qft] [qfs] [fx] [radiobutton] |
Procedure: 'selectWithCoordinates' |
Select a radio button. If the radio button is already selected, no action is performed. You can specify the coordinates for clicking.
|
[Summary] [qfs.qft] [qfs] [fx] |
Package: 'slider' |
Procedures to access sliders.
(fx component
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Return the value of a slider component. | |||
| Set the value of a slider component. |
[Summary] [qfs.qft] [qfs] [fx] [slider] |
Procedure: 'getValue' |
Return the value of a slider component.
|
[Summary] [qfs.qft] [qfs] [fx] [slider] |
Procedure: 'setValue' |
Set the value of a slider component.
|
[Summary] [qfs.qft] [qfs] [fx] [slider] |
Package: 'checks' |
Procedure for checking slider values.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Check the value of a slider component. |
[Summary] [qfs.qft] [qfs] [fx] [slider] [checks] |
Procedure: 'checkValue' |
Check the value of a slider component.
|
[Summary] [qfs.qft] [qfs] [fx] |
Package: 'tabbedpane' |
Procedures to work with TabbedPanes.
(fx component
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Close a tab via a selection event. | |||
| Return the index of a given tab in a TabPane. | |||
| Return the text of a given tab in a TabPane. | |||
| Select a tab in a given TabPane. |
[Summary] [qfs.qft] [qfs] [fx] [tabbedpane] |
Procedure: 'closeTab' |
Close a tab via a selection event.
|
[Summary] [qfs.qft] [qfs] [fx] [tabbedpane] |
Procedure: 'getIndexOfTab' |
Return the index of a given tab in a TabPane.
|
[Summary] [qfs.qft] [qfs] [fx] [tabbedpane] |
Procedure: 'getValueOfTab' |
Return the text of a given tab in a TabPane.
|
[Summary] [qfs.qft] [qfs] [fx] [tabbedpane] |
Procedure: 'selectTab' |
Select a tab in a given TabPane.
|
[Summary] [qfs.qft] [qfs] [fx] |
Package: 'table' |
Procedures to access tables.
(fx component
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Select a given cell. | |||
| Return the number of columns of a given table. | |||
| Return the current index of a given column. | |||
| Return the header text of a given column. | |||
| Return the number of rows of a given table. | |||
| Return the row number of a given cell. | |||
| Return the text of a given cell. | |||
| Resize width of a table column. | |||
| Select a given cell. |
[Summary] [qfs.qft] [qfs] [fx] [table] |
Procedure: 'clickCellWithDetails' |
Select a given cell. You can specify the coordinates for clicking and all other details of that mouse click.
|
[Summary] [qfs.qft] [qfs] [fx] [table] |
Procedure: 'getColumnCount' |
Return the number of columns of a given table.
It uses the method
|
[Summary] [qfs.qft] [qfs] [fx] [table] |
Procedure: 'getIndexOfColumn' |
Return the current index of a given column. Sample usage: Can be used to determine the numeric index of a column like 'Price'.
|
[Summary] [qfs.qft] [qfs] [fx] [table] |
Procedure: 'getNameOfColumn' |
Return the header text of a given column. Sample usage: Determine the title of the second column.
|
[Summary] [qfs.qft] [qfs] [fx] [table] |
Procedure: 'getRowCount' |
Return the number of rows of a given table.
It uses the method
|
[Summary] [qfs.qft] [qfs] [fx] [table] |
Procedure: 'getRowIndexOfCell' |
Return the row number of a given cell. Sample usage: Can be used to determine in which row a dedicated cell is located.
|
[Summary] [qfs.qft] [qfs] [fx] [table] |
Procedure: 'getValueOfCell' |
Return the text of a given cell. Sample usage: Can be used to determine the text of the cell in the first column and first row.
|
[Summary] [qfs.qft] [qfs] [fx] [table] |
Procedure: 'resizeColumn' |
Resize width of a table column.
|
[Summary] [qfs.qft] [qfs] [fx] [table] |
Procedure: 'selectCell' |
Select a given cell.
|
[Summary] [qfs.qft] [qfs] [fx] [table] |
Package: 'checkbox' |
Procedures to set the state of checkboxes in a table-cell. These procedures become necessary, because checkboxes in tables cannot be treated like normal checkboxes.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Deselect a checkbox in a table-cell. | |||
| Deselect a checkbox in a table-cell. | |||
| Select a checkbox in a table-cell. | |||
| Select a checkbox in a table-cell. | |||
| Set checkbox in a table-cell to the given state. | |||
| Set checkbox in a table-cell to the given state. |
[Summary] [qfs.qft] [qfs] [fx] [table] [checkbox] |
Procedure: 'deselect' |
Deselect a checkbox in a table-cell. If the checkbox is already de-selected, no action is performed.
|
[Summary] [qfs.qft] [qfs] [fx] [table] [checkbox] |
Procedure: 'deselectWithCoordinates' |
Deselect a checkbox in a table-cell. If the checkbox is already de-selected, no action is performed. You can specify the coordinates (relative to the table-cell) for clicking.
|
[Summary] [qfs.qft] [qfs] [fx] [table] [checkbox] |
Procedure: 'select' |
Select a checkbox in a table-cell. If the checkbox is already selected, no action is performed.
|
[Summary] [qfs.qft] [qfs] [fx] [table] [checkbox] |
Procedure: 'selectWithCoordinates' |
Select a checkbox in a table-cell. If the checkbox is already selected, no action is performed. You can specify the coordinates (relative to the table-cell) for clicking.
|
[Summary] [qfs.qft] [qfs] [fx] [table] [checkbox] |
Procedure: 'set' |
Set checkbox in a table-cell to the given state.
|
[Summary] [qfs.qft] [qfs] [fx] [table] [checkbox] |
Procedure: 'setWithCoordinates' |
Set checkbox in a table-cell to the given state. You can specify the coordinates for clicking.
|
[Summary] [qfs.qft] [qfs] [fx] [table] |
Package: 'checks' |
Procedures for checking a table.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Check the number of rows of a given table according to a specified comparison mode. |
[Summary] [qfs.qft] [qfs] [fx] [table] [checks] |
Procedure: 'checkNumberOfRows' |
Check the number of rows of a given table according to a specified comparison mode.
It uses the method Sample usage: You can check, that a table has exactly 6 rows or that the table has less then 10 rows.
|
[Summary] [qfs.qft] [qfs] [fx] [table] |
Package: 'selection' |
Procedures to (de-)select certain rows of a table.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Deselect all rows. | |||
| Deselect a given row, specified by its index. | |||
| Deselect a range of rows, specified by their index. | |||
| Select all rows. | |||
| Select a given row, specified by its index. | |||
| Select a range of rows, specified by their index. |
[Summary] [qfs.qft] [qfs] [fx] [table] [selection] |
Procedure: 'deselectAllRows' |
Deselect all rows. It uses
|
[Summary] [qfs.qft] [qfs] [fx] [table] [selection] |
Procedure: 'deselectRow' |
Deselect a given row, specified by its index. It uses
|
[Summary] [qfs.qft] [qfs] [fx] [table] [selection] |
Procedure: 'deselectRowRange' |
Deselect a range of rows, specified by their index. It uses
|
[Summary] [qfs.qft] [qfs] [fx] [table] [selection] |
Procedure: 'selectAllRows' |
Select all rows. It uses
|
[Summary] [qfs.qft] [qfs] [fx] [table] [selection] |
Procedure: 'selectRow' |
Select a given row, specified by its index. It uses
|
[Summary] [qfs.qft] [qfs] [fx] [table] [selection] |
Procedure: 'selectRowRange' |
Select a range of rows, specified by their index. It uses
|
[Summary] [qfs.qft] [qfs] [fx] |
Package: 'text' |
Procedures to access text fields and text areas.
(fx components
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Clear a multi-line text area. | |||
| Clear a simple text field. | |||
| Return the text of a given textfield. | |||
| Set a given text to a given text-field or text-area. | |||
| Read the content of a given file and set its content to a given text-field. |
[Summary] [qfs.qft] [qfs] [fx] [text] |
Procedure: 'clearArea' |
Clear a multi-line text area.
|
[Summary] [qfs.qft] [qfs] [fx] [text] |
Procedure: 'clearField' |
Clear a simple text field.
|
[Summary] [qfs.qft] [qfs] [fx] [text] |
Procedure: 'getText' |
Return the text of a given textfield.
|
[Summary] [qfs.qft] [qfs] [fx] [text] |
Procedure: 'setText' |
Set a given text to a given text-field or text-area. If the text is empty, no action will take place.
|
[Summary] [qfs.qft] [qfs] [fx] [text] |
Procedure: 'setTextFromFile' |
Read the content of a given file and set its content to a given text-field.
|
[Summary] [qfs.qft] [qfs] [fx] |
Package: 'tree' |
Procedures to access trees.
(fx component
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Select a given node. | |||
| Collapse a tree node. | |||
| Collapse a tree node. | |||
| Collapse a tree node recursively. | |||
| Collapse a tree node. | |||
| Collapse a tree node. | |||
| Expand a tree node. | |||
| Expand a tree node. | |||
| Expand a tree node recursively. | |||
| Expand a tree node. | |||
| Expand a tree node. | |||
| Return the number of child nodes. | |||
| Return the current index of a given node. | |||
| Return the number of visible nodes under a given tree or tree-node. | |||
| Return the text of a given node. | |||
| Select a given node. |
[Summary] [qfs.qft] [qfs] [fx] [tree] |
Procedure: 'clickNodeWithDetails' |
Select a given node. You can specify the coordinates for clicking and all other details of that mouse click.
|
[Summary] [qfs.qft] [qfs] [fx] [tree] |
Procedure: 'collapse' |
Collapse a tree node. It clicks on the tree node, replays a left key press event and selects the node again. If your tree doesn't support keyboard actions to collapse a node, this procedure won't work.
|
[Summary] [qfs.qft] [qfs] [fx] [tree] |
Procedure: 'collapseNode' |
Collapse a tree node. It clicks on the tree node, replays a left key press event and selects the node again. If your tree doesn't support keyboard actions to collapse a node, this procedure won't work.
|
[Summary] [qfs.qft] [qfs] [fx] [tree] |
Procedure: 'collapseNodes' |
Collapse a tree node recursively.
|
[Summary] [qfs.qft] [qfs] [fx] [tree] |
Procedure: 'collapseNodeWithCoordinates' |
Collapse a tree node. It clicks on the tree node, replays a left key press event and selects the node again. If your tree doesn't support keyboard actions to collapse a node, this procedure won't work. You can specify the coordinates for clicking.
|
[Summary] [qfs.qft] [qfs] [fx] [tree] |
Procedure: 'collapseWithCoordinates' |
Collapse a tree node. It clicks on the tree node, replays a left key press event and selects the node again. If your tree doesn't support keyboard actions to collapse a node, this procedure won't work. You can specify the coordinates for clicking.
|
[Summary] [qfs.qft] [qfs] [fx] [tree] |
Procedure: 'expand' |
Expand a tree node. It clicks on the tree node, replays a right key press event and selects the node again. If your tree doesn't support keyboard actions to expand a node, this procedure won't work.
|
[Summary] [qfs.qft] [qfs] [fx] [tree] |
Procedure: 'expandNode' |
Expand a tree node. It clicks on the tree node, replays a right key press event and selects the node again. If your tree doesn't support keyboard actions to expand a node, this procedure won't work.
|
[Summary] [qfs.qft] [qfs] [fx] [tree] |
Procedure: 'expandNodes' |
Expand a tree node recursively.
|
[Summary] [qfs.qft] [qfs] [fx] [tree] |
Procedure: 'expandNodeWithCoordinates' |
Expand a tree node. It clicks on the tree node, replays a right key press event and selects the node again. If your tree doesn't support keyboard actions to expand a node, this procedure won't work. You can specify the coordinates for clicking.
|
[Summary] [qfs.qft] [qfs] [fx] [tree] |
Procedure: 'expandWithCoordinates' |
Expand a tree node. It clicks on the tree node, replays a right key press event and selects the node again. If your tree doesn't support keyboard actions to expand a node, this procedure won't work. You can specify the coordinates for clicking.
|
[Summary] [qfs.qft] [qfs] [fx] [tree] |
Procedure: 'getChildNodeCount' |
Return the number of child nodes.
|
[Summary] [qfs.qft] [qfs] [fx] [tree] |
Procedure: 'getIndexOfNode' |
Return the current index of a given node. Sample usage: Can be used to determine the numeric index of a node like '/Root/Price'.
|
[Summary] [qfs.qft] [qfs] [fx] [tree] |
Procedure: 'getRowCount' |
Return the number of visible nodes under a given tree or tree-node. If no node is specified, you will get the visible nodes or all loaded nodes of the entire tree.
|
[Summary] [qfs.qft] [qfs] [fx] [tree] |
Procedure: 'getValueOfNode' |
Return the text of a given node. Sample usage: Determine the text value for a node referenced by index like /0/1.
|
[Summary] [qfs.qft] [qfs] [fx] [tree] |
Procedure: 'selectNode' |
Select a given node.
|
[Summary] [qfs.qft] [qfs] [fx] [tree] |
Package: 'checks' |
Procedures for checking a tree.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Check the number of child nodes of a given tree node according to a specified comparison mode. | |||
| Check the number of visible nodes under a given tree or tree node according to a specified comparison mode. |
[Summary] [qfs.qft] [qfs] [fx] [tree] [checks] |
Procedure: 'checkNumberOfChildNodes' |
Check the number of child nodes of a given tree node according to a specified comparison mode. Sample usage: You can check, that a tree has exactly 6 visible rows or that the tree has less then 10 visible rows.
|
[Summary] [qfs.qft] [qfs] [fx] [tree] [checks] |
Procedure: 'checkNumberOfRows' |
Check the number of visible nodes under a given tree or tree node according to a specified comparison mode. If no node is specified, you will get the visible nodes or all loaded nodes. Sample usage: You can check, that a tree has exactly 6 visible rows or that the tree has less then 10 visible rows.
|
[Summary] [qfs.qft] [qfs] [pdf] |
Package: 'highlight' |
Procedures in order to highlight components.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Hide borders around each recognized component. | |||
| Show borders around each recognized component. | |||
| Toggle borders around each recognized component. |
[Summary] [qfs.qft] [qfs] [pdf] [highlight] |
Procedure: 'hideBordersAroundComponents' |
Hide borders around each recognized component.
|
[Summary] [qfs.qft] [qfs] [pdf] [highlight] |
Procedure: 'showBordersAroundComponents' |
Show borders around each recognized component.
|
[Summary] [qfs.qft] [qfs] [pdf] [highlight] |
Procedure: 'toggleBordersAroundComponents' |
Toggle borders around each recognized component.
|
[Summary] [qfs.qft] [qfs] [pdf] |
Package: 'navigation' |
Procedures to navigate inside a PDF document.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Iterate over all pages in a PDF document. | |||
| Open the first page of the PDF document. | |||
| Open the last page of the PDF document. | |||
| Open/Goto the next page of the PDF document. | |||
| Open a specific page of the PDF document. | |||
| Open/Goto the previous page of the PDF document. | |||
| Open a random page of the PDF document. |
[Summary] [qfs.qft] [qfs] [pdf] [navigation] |
Procedure: 'iterate' |
Iterate over all pages in a PDF document. It's possible to call a procedure on every page.
|
[Summary] [qfs.qft] [qfs] [pdf] [navigation] |
Procedure: 'openFirstPage' |
Open the first page of the PDF document.
|
[Summary] [qfs.qft] [qfs] [pdf] [navigation] |
Procedure: 'openLastPage' |
Open the last page of the PDF document.
|
[Summary] [qfs.qft] [qfs] [pdf] [navigation] |
Procedure: 'openNextPage' |
Open/Goto the next page of the PDF document.
|
[Summary] [qfs.qft] [qfs] [pdf] [navigation] |
Procedure: 'openPage' |
Open a specific page of the PDF document.
|
[Summary] [qfs.qft] [qfs] [pdf] [navigation] |
Procedure: 'openPrevPage' |
Open/Goto the previous page of the PDF document.
|
[Summary] [qfs.qft] [qfs] [pdf] [navigation] |
Procedure: 'openRandomPage' |
Open a random page of the PDF document.
|
[Summary] [qfs.qft] [qfs] [pdf] |
Package: 'page' |
Procedures to get/interact with the current page / all pages.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Return the name of the currently selected page in the PDF document. | |||
| Return the index/number of the currently selected page in the PDF document. | |||
| Return the number of pages in a PDF document. | |||
| Refresh the currently opened page. |
[Summary] [qfs.qft] [qfs] [pdf] [page] |
Procedure: 'getCurrentPageName' |
Return the name of the currently selected page in the PDF document.
|
[Summary] [qfs.qft] [qfs] [pdf] [page] |
Procedure: 'getCurrentPageNumber' |
Return the index/number of the currently selected page in the PDF document.
|
[Summary] [qfs.qft] [qfs] [pdf] [page] |
Procedure: 'getPageCount' |
Return the number of pages in a PDF document.
|
[Summary] [qfs.qft] [qfs] [pdf] [page] |
Procedure: 'refreshCurrentPage' |
Refresh the currently opened page.
|
[Summary] [qfs.qft] [qfs] |
Package: 'run-log' |
Procedures for writing log-entries.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Write an error into the run-log. | |||
| Write a message into the run-log. | |||
| Write a warning into the run-log. |
[Summary] [qfs.qft] [qfs] [run-log] |
Procedure: 'logError' |
Write an error into the run-log.
|
[Summary] [qfs.qft] [qfs] [run-log] |
Procedure: 'logMessage' |
Write a message into the run-log.
|
[Summary] [qfs.qft] [qfs] [run-log] |
Procedure: 'logWarning' |
Write a warning into the run-log.
|
[Summary] [qfs.qft] [qfs] [run-log] |
Package: 'screenshots' |
Procedures to write screenshots into the run-log.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Return the total number of monitors. | |||
| Write an image of a component into the run-log. | |||
| Write a screenshot of the whole screen into the run-log. | |||
| Write a screenshots of a given monitor into the run-log. |
[Summary] [qfs.qft] [qfs] [run-log] [screenshots] |
Procedure: 'getMonitorCount' |
Return the total number of monitors.
|
[Summary] [qfs.qft] [qfs] [run-log] [screenshots] |
Procedure: 'logImageOfComponent' |
Write an image of a component into the run-log.
|
[Summary] [qfs.qft] [qfs] [run-log] [screenshots] |
Procedure: 'logScreenshot' |
Write a screenshot of the whole screen into the run-log.
|
[Summary] [qfs.qft] [qfs] [run-log] [screenshots] |
Procedure: 'logScreenshotOfMonitor' |
Write a screenshots of a given monitor into the run-log.
|
[Summary] [qfs.qft] [qfs] [run-log] |
Package: 'web' |
Procedures to write web specifics into run-log.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Write a document's source code into the run-log. |
[Summary] [qfs.qft] [qfs] [run-log] [web] |
Procedure: 'logSourcecode' |
Write a document's source code into the run-log. It also logs the source code of all child documents of the given document. If you want to log only one dedicated frame you can specify the name of the frame. If this frame has child frames, those children will also be logged.
|
[Summary] [qfs.qft] [qfs] |
Package: 'shellutils' |
Utility procedures for shell commands.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Copy a given file or directory to a given target. | |||
| Delete a file. | |||
| Check whether a given file or directory exists. | |||
| Return the basename of the given file or directory. | |||
| Return the parent directory of the given file or directory. | |||
| Create a given directory. | |||
| Move a given file or directory to a given target. | |||
| Remove a given directory. | |||
| Create a given file or update the last modified date of an existing file. |
[Summary] [qfs.qft] [qfs] [shellutils] |
Procedure: 'copy' |
Copy a given file or directory to a given target. If the target is a directory, copy source into that directory. If target's parent directory does not exist, create it.
|
[Summary] [qfs.qft] [qfs] [shellutils] |
Procedure: 'deleteFile' |
Delete a file.
|
[Summary] [qfs.qft] [qfs] [shellutils] |
Procedure: 'exists' |
Check whether a given file or directory exists.
|
[Summary] [qfs.qft] [qfs] [shellutils] |
Procedure: 'getBasename' |
Return the basename of the given file or directory. If the root directory is specified as parameter an empty string will returned.
|
[Summary] [qfs.qft] [qfs] [shellutils] |
Procedure: 'getParentdirectory' |
Return the parent directory of the given file or directory. If the root directory is specified as parameter an empty string will returned.
|
[Summary] [qfs.qft] [qfs] [shellutils] |
Procedure: 'mkdir' |
Create a given directory. It also creates non-existing parent directories.
|
[Summary] [qfs.qft] [qfs] [shellutils] |
Procedure: 'move' |
Move a given file or directory to a given target. If the target is a directory, copy source into that directory. If target's parent directory does not exist, create it. If an error happens during copying, source is not changed.
|
[Summary] [qfs.qft] [qfs] [shellutils] |
Procedure: 'removeDirectory' |
Remove a given directory.
|
[Summary] [qfs.qft] [qfs] [shellutils] |
Procedure: 'touch' |
Create a given file or update the last modified date of an existing file. For creation it also creates non-existing parent directories.
|
[Summary] [qfs.qft] [qfs] |
Package: 'swing' |
Procedures for advanced manipulation of swing components.
|
[Summary] [qfs.qft] [qfs] [swing] |
Package: 'checkbox' |
Procedures to set the state of checkboxes.
(Swing component
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Deselect a checkbox. | |||
| Deselect a checkbox. | |||
| Return the value of a checkbox. | |||
| Select a checkbox. | |||
| Select a checkbox. | |||
| Set checkbox to the given state. | |||
| Set checkbox to the given state. |
[Summary] [qfs.qft] [qfs] [swing] [checkbox] |
Procedure: 'deselect' |
Deselect a checkbox. If the checkbox is already de-selected, no action is performed.
|
[Summary] [qfs.qft] [qfs] [swing] [checkbox] |
Procedure: 'deselectWithCoordinates' |
Deselect a checkbox. If the checkbox is already de-selected, no action is performed. You can specify the coordinates for clicking.
|
[Summary] [qfs.qft] [qfs] [swing] [checkbox] |
Procedure: 'getValue' |
Return the value of a checkbox. It's either 1, if box is selected or 0, if box is not selected.
|
[Summary] [qfs.qft] [qfs] [swing] [checkbox] |
Procedure: 'select' |
Select a checkbox. If the checkbox is already selected, no action is performed.
|
[Summary] [qfs.qft] [qfs] [swing] [checkbox] |
Procedure: 'selectWithCoordinates' |
Select a checkbox. If the checkbox is already selected, no action is performed. You can specify the coordinates for clicking.
|
[Summary] [qfs.qft] [qfs] [swing] [checkbox] |
Procedure: 'set' |
Set checkbox to the given state.
|
[Summary] [qfs.qft] [qfs] [swing] [checkbox] |
Procedure: 'setWithCoordinates' |
Set checkbox to the given state. You can specify the coordinates for clicking.
|
[Summary] [qfs.qft] [qfs] [swing] |
Package: 'cleanup' |
The procedures in this package are useful for generic cleanup after an exception is thrown. In some cases a menu or modal dialog may have been left open, causing future events for the SUT to be blocked.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Close all dialogs. | |||
| Close all menus unconditionally. | |||
| Close all modal dialogs. | |||
| This procedure encompasses the usage of other cleanup procedures in this package and is the recommended operation to perform after an exception occurs and is implicitly caught. |
[Summary] [qfs.qft] [qfs] [swing] [cleanup] |
Procedure: 'closeAllDialogs' |
Close all dialogs.
|
[Summary] [qfs.qft] [qfs] [swing] [cleanup] |
Procedure: 'closeAllMenus' |
Close all menus unconditionally. A menu left open (or even just selected) will cause events for the SUT to be blocked. This procedure is recommended for cleanup after an exception occurs.
|
[Summary] [qfs.qft] [qfs] [swing] [cleanup] |
Procedure: 'closeAllModalDialogs' |
Close all modal dialogs. A modal dialog that is left open will cause events for the SUT to be blocked. Ensuring that modal dialogs are closed is a good operation to conduct in a setup/cleanup sequence.
|
[Summary] [qfs.qft] [qfs] [swing] [cleanup] |
Procedure: 'implicitExceptionHandler' |
This procedure encompasses the usage of other cleanup procedures in this package and is the recommended operation to perform after an exception occurs and is implicitly caught. Calling this procedure should be the first step in the cleanup sequence of any Test node with the "Implicitly catch exceptions" attribute set.
|
[Summary] [qfs.qft] [qfs] [swing] |
Package: 'combobox' |
Procedures to handle comboboxes.
(Swing component
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Return the current index of a given item. | |||
| Return the number of items of a given combobox. | |||
| Return the text of a given combobox. | |||
| Return the text of a given item. | |||
| Select specified value of a given combobox. | |||
| Set a value in the combobox. | |||
| Select specified value of a given combobox using a SUT script. |
[Summary] [qfs.qft] [qfs] [swing] [combobox] |
Procedure: 'getIndexOfItem' |
Return the current index of a given item. Sample usage: Can be used to determine the numeric index of an item like 'Price'.
|
[Summary] [qfs.qft] [qfs] [swing] [combobox] |
Procedure: 'getItemCount' |
Return the number of items of a given combobox. It uses the method getModel().getSize() to get the number.
|
[Summary] [qfs.qft] [qfs] [swing] [combobox] |
Procedure: 'getValue' |
Return the text of a given combobox.
|
[Summary] [qfs.qft] [qfs] [swing] [combobox] |
Procedure: 'getValueOfItem' |
Return the text of a given item. Sample usage: Determine the text of the second item.
|
[Summary] [qfs.qft] [qfs] [swing] [combobox] |
Procedure: 'setValue' |
Select specified value of a given combobox. If the given value is empty, no action will take place. You should use this procedure for any standard selections.
|
[Summary] [qfs.qft] [qfs] [swing] [combobox] |
Procedure: 'setValueViaIndex' |
Set a value in the combobox. You should use this procedure if setValue doesn't work correctly.
|
[Summary] [qfs.qft] [qfs] [swing] [combobox] |
Procedure: 'setValueViaSUTScript' |
Select specified value of a given combobox using a SUT script.
It uses the API-method If the given value is empty, no action will take place. You should use this procedure only if setValue and setValueViaIndex don't work for your use-case.
|
[Summary] [qfs.qft] [qfs] [swing] |
Package: 'dialogs' |
Procedures to handle Dialogs.
(Swing component
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Wait for the client to connect and check whether a Java security dialog blocks the JRE start which need to be confirmed. |
[Summary] [qfs.qft] [qfs] [swing] [dialogs] |
Procedure: 'handleSecurityWarning' |
Deprecated: This procedure is deprecated because security dialogs are now handled by the qfs.swing.startup.setSecurityDialogSpec procedure at a different level. Note: If the dialog needs a two way confirmation, like a checkbox with "I accept the risk...", this cannot be handled automatically but need to be confirmed by hand including the permanent permission for content of this vendor. Wait for the client to connect and check whether a Java security dialog blocks the JRE start which need to be confirmed.
|
[Summary] [qfs.qft] [qfs] [swing] |
Package: 'filechooser' |
Procedures for accessing file chooser dialogs.
(Swing component
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Uninstall the JFileChooser name resolver. |
|||
| Install the JFileChooser name resolver. |
|||
| Select a file in a JFileChooser dialog. |
|||
| Select several files in a JFileChooser dialog. |
[Summary] [qfs.qft] [qfs] [swing] [filechooser] |
Procedure: 'disableNameResolver' |
Uninstall the
|
[Summary] [qfs.qft] [qfs] [swing] [filechooser] |
Procedure: 'enableNameResolver' |
Install the
|
[Summary] [qfs.qft] [qfs] [swing] [filechooser] |
Procedure: 'selectFile' |
Select a file in a The filechooser dialog must already be open (or at least be triggered to open).
|
[Summary] [qfs.qft] [qfs] [swing] [filechooser] |
Procedure: 'selectFiles' |
Select several files in a The filechooser dialog must already be open (or at least be triggered to open).
|
[Summary] [qfs.qft] [qfs] [swing] |
Package: 'general' |
Procedures which work for any Swing component.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Click on a given component, but only if the according parameter is set to true. | |||
| Click on a given component, but only if the according parameter is set to true. | |||
| Delete the current association of PriorityAwtSwingComponent. | |||
| Click on a given component. | |||
| Click on a given component. | |||
| Send a selection event to a given component. | |||
| Set the location of a given component. | |||
| Set a given component to the PriorityAwtSwingComponent. | |||
| Set the width and the height of a given component. | |||
| Wait for a given component. | |||
| Wait till a given component disappears. |
[Summary] [qfs.qft] [qfs] [swing] [general] |
Procedure: 'clickAtComponent' |
Click on a given component, but only if the according parameter is set to true.
|
[Summary] [qfs.qft] [qfs] [swing] [general] |
Procedure: 'clickAtComponentWithDetails' |
Click on a given component, but only if the according parameter is set to true. You can specify the coordinates for clicking and all other details of that mouse click.
|
[Summary] [qfs.qft] [qfs] [swing] [general] |
Procedure: 'deleteOverrideComponent' |
Delete the current association of PriorityAwtSwingComponent.
|
[Summary] [qfs.qft] [qfs] [swing] [general] |
Procedure: 'doClick' |
Click on a given component.
|
[Summary] [qfs.qft] [qfs] [swing] [general] |
Procedure: 'doClickWithDetails' |
Click on a given component. You can specify the coordinates for clicking and all other details of that mouse click.
|
[Summary] [qfs.qft] [qfs] [swing] [general] |
Procedure: 'doSelect' |
Send a selection event to a given component. That's not a mouse-click. Selection events are special events for menus or list selection.
|
[Summary] [qfs.qft] [qfs] [swing] [general] |
Procedure: 'setLocation' |
Set the location of a given component. It uses setLocation(x,y) to set the location.
|
[Summary] [qfs.qft] [qfs] [swing] [general] |
Procedure: 'setOverrideComponent' |
Set a given component to the PriorityAwtSwingComponent.
|
[Summary] [qfs.qft] [qfs] [swing] [general] |
Procedure: 'setSize' |
Set the width and the height of a given component. It uses setSize(width, height) to set the size.
|
[Summary] [qfs.qft] [qfs] [swing] [general] |
Procedure: 'waitForComponent' |
Wait for a given component.
|
[Summary] [qfs.qft] [qfs] [swing] [general] |
Procedure: 'waitForComponentForAbsence' |
Wait till a given component disappears.
|
[Summary] [qfs.qft] [qfs] [swing] |
Package: 'list' |
Procedures for accessing lists.
(Swing component
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Select a given item by a mouse-click on it. | |||
| Return the current index of a given item. | |||
| Return the number of items of a given list. | |||
| Return the text of a given item. | |||
| Select a given item by a mouse-click on it. |
[Summary] [qfs.qft] [qfs] [swing] [list] |
Procedure: 'clickItemWithDetails' |
Select a given item by a mouse-click on it. You can specify the coordinates for clicking and all other details of that mouse click.
|
[Summary] [qfs.qft] [qfs] [swing] [list] |
Procedure: 'getIndexOfItem' |
Return the current index of a given item. Sample usage: Can be used to determine the numeric index of an item like 'Price'.
|
[Summary] [qfs.qft] [qfs] [swing] [list] |
Procedure: 'getItemCount' |
Return the number of items of a given list. It uses the method getModel().getSize() to get the number.
|
[Summary] [qfs.qft] [qfs] [swing] [list] |
Procedure: 'getValueOfItem' |
Return the text of a given item. Sample usage: Determine the text of the second item.
|
[Summary] [qfs.qft] [qfs] [swing] [list] |
Procedure: 'selectItem' |
Select a given item by a mouse-click on it.
|
[Summary] [qfs.qft] [qfs] [swing] [list] |
Package: 'checks' |
Procedures for checking a list.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Check the number of items of a given list according to a specified comparison mode. |
[Summary] [qfs.qft] [qfs] [swing] [list] [checks] |
Procedure: 'checkNumberOfItems' |
Check the number of items of a given list according to a specified comparison mode. It uses JList.getModel().getSize() to get the number. Sample usage: You can check, that a list has exactly 6 items or that the table has less then 10 items.
|
[Summary] [qfs.qft] [qfs] [swing] [list] |
Package: 'selection' |
Procedures to (de-)select certain items of a list.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Deselect all items. | |||
| Deselect a given item, specified by its index. | |||
| Deselect a range of items, specified by their index. | |||
| Select all items. | |||
| Select a given item, specified by its index. | |||
| Select a range of items, specified by their index. |
[Summary] [qfs.qft] [qfs] [swing] [list] [selection] |
Procedure: 'deselectAllItems' |
Deselect all items. It uses
|
[Summary] [qfs.qft] [qfs] [swing] [list] [selection] |
Procedure: 'deselectItem' |
Deselect a given item, specified by its index. It uses
|
[Summary] [qfs.qft] [qfs] [swing] [list] [selection] |
Procedure: 'deselectItemRange' |
Deselect a range of items, specified by their index. It uses
|
[Summary] [qfs.qft] [qfs] [swing] [list] [selection] |
Procedure: 'selectAllItems' |
Select all items. It uses
|
[Summary] [qfs.qft] [qfs] [swing] [list] [selection] |
Procedure: 'selectItem' |
Select a given item, specified by its index. It uses
|
[Summary] [qfs.qft] [qfs] [swing] [list] [selection] |
Procedure: 'selectItemRange' |
Select a range of items, specified by their index. It uses
|
[Summary] [qfs.qft] [qfs] [swing] |
Package: 'menu' |
Procedures to select menu items and checkbox menu items.
(Swing components
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Select a checkbox menu item from a menu. | |||
| Select a checkbox menu item from a menu. | |||
| Select an item from a menu. | |||
| Select an item from a menu. | |||
| Select an item from a menu. | |||
| Select an item from a menu. | |||
| Select an item within a submenu. | |||
| Select an item within a submenu. | |||
| Select a checkbox menu item. | |||
| Select a checkbox menu item. | |||
| Select a checkbox menu item within within a submenu. | |||
| Select a checkbox menu item within within a submenu. |
[Summary] [qfs.qft] [qfs] [swing] [menu] |
Procedure: 'selectCheckMenuItemInHierarchy' |
Select a checkbox menu item from a menu. This procedure is designed to work with any menu item. You can define the entire menu path in the parameter menu. Samples: If you want to select at "View" -> "Show terminal" you set menu to the component id "mView" and item to "mShowTerminal" (Of course you need to set your component id's). If you want to select at "Options" -> "Search" -> "Exclude digits" you set menu to the component id "mFile.mSearch" and item to "mExcludeDigits" (Of course you need to set your component id's).
|
[Summary] [qfs.qft] [qfs] [swing] [menu] |
Procedure: 'selectCheckMenuItemInHierarchyWithCoordinates' |
Select a checkbox menu item from a menu. This procedure is designed to work with any menu item. You can define the entire menu path in the parameter menu. Samples: If you want to select at "View" -> "Show terminal" you set menu to the component id "mView" and item to "mShowTerminal" (Of course you need to set your component id's). If you want to select at "Options" -> "Search" -> "Exclude digits" you set menu to the component id "mFile.mSearch" and item to "mExcludeDigits" (Of course you need to set your component id's).
|
[Summary] [qfs.qft] [qfs] [swing] [menu] |
Procedure: 'selectItem' |
Select an item from a menu. For example: for the File -> Open action, the component ID of "File" is the menu, and the ID for "Open" is the item.
|
[Summary] [qfs.qft] [qfs] [swing] [menu] |
Procedure: 'selectItemWithCoordinates' |
Select an item from a menu. For example: for the File -> Open action, the component ID of "File" is the menu, and the ID for "Open" is the item.
|
[Summary] [qfs.qft] [qfs] [swing] [menu] |
Procedure: 'selectMenuItemInHierarchy' |
Select an item from a menu. This procedure is designed to work with any menu item. You can define the entire menu path in the parameter menu. Samples: If you want to select at "File" -> "Close" you set menu to the component id "mFile" and item to "mClose" (Of course you need to set your component id's). If you want to select at "Options" -> "Search" -> "Search text" you set menu to the component id "mFile.mSearch" and item to "mSearchText" (Of course you need to set your component id's).
|
[Summary] [qfs.qft] [qfs] [swing] [menu] |
Procedure: 'selectMenuItemInHierarchyWithCoordinates' |
Select an item from a menu. This procedure is designed to work with any menu item. You can define the entire menu path in the parameter menu. You can specify the coordinates for clicking. Samples: If you want to select at "File" -> "Close" you set menu to the component id "mFile" and item to "mClose" (Of course you need to set your component id's). If you want to select at "Options" -> "Search" -> "Search text" you set menu to the component id "mFile.mSearch" and item to "mSearchText" (Of course you need to set your component id's).
|
[Summary] [qfs.qft] [qfs] [swing] [menu] |
Procedure: 'selectSubItem' |
Select an item within a submenu. For example: for the View -> Terminal -> Show action, the component ID of "View" is the menu, the ID for "Terminal" is the item, and the ID for "Show" is the sub-item to select.
|
[Summary] [qfs.qft] [qfs] [swing] [menu] |
Procedure: 'selectSubItemWithCoordinates' |
Select an item within a submenu. For example: for the View -> Terminal -> Show action, the component ID of "View" is the menu, the ID for "Terminal" is the item, and the ID for "Show" is the sub-item to select.
|
[Summary] [qfs.qft] [qfs] [swing] [menu] |
Procedure: 'setCheckItem' |
Select a checkbox menu item. For example: for the View -> Show Details action, the component ID of "View" is the menu, and the ID for "Show Details" is the checkbox item to set (to true or false).
|
[Summary] [qfs.qft] [qfs] [swing] [menu] |
Procedure: 'setCheckItemWithCoordinates' |
Select a checkbox menu item. For example: for the View -> Show Details action, the component ID of "View" is the menu, and the ID for "Show Details" is the checkbox item to set (to true or false).
|
[Summary] [qfs.qft] [qfs] [swing] [menu] |
Procedure: 'setSubCheckItem' |
Select a checkbox menu item within within a submenu. For example: for the View -> Terminal -> Wrap Lines action, the component ID of "View" is the menu, the ID for "Terminal" is the item and the ID for "Wrap Lines" is the checkbox menu item to set (to true or false).
|
[Summary] [qfs.qft] [qfs] [swing] [menu] |
Procedure: 'setSubCheckItemWithCoordinates' |
Select a checkbox menu item within within a submenu. For example: for the View -> Terminal -> Wrap Lines action, the component ID of "View" is the menu, the ID for "Terminal" is the item and the ID for "Wrap Lines" is the checkbox menu item to set (to true or false).
|
[Summary] [qfs.qft] [qfs] [swing] |
Package: 'optionpane' |
Procedures for accessing standard error/message dialogs.
(Swing component
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Check the message of the current javax.swing.JOptionPane dialog. |
|||
| Check the title of the current javax.swing.JOptionPane dialog. |
|||
| Click on the Cancel Button of the current javax.swing.JOptionPane dialog. |
|||
| Click on the No Button of the current javax.swing.JOptionPane dialog. |
|||
| Click on the OK Button of the current javax.swing.JOptionPane dialog. |
|||
| Click on the Yes Button of the current javax.swing.JOptionPane dialog. |
|||
| Uninstall the JOptionPane name resolver. |
|||
| Install the JOptionPane name resolver. |
|||
| Get the message of the current javax.swing.JOptionPane dialog. |
|||
| Return the message Type of the current javax.swing.JOptionPane dialog. |
|||
| Get the title of the current javax.swing.JOptionPane dialog. |
|||
| Check if the current javax.swing.JOptionPane dialog has an Cancel Button. |
|||
| Check if the current javax.swing.JOptionPane dialog has an NO Button. |
|||
| Check if the current javax.swing.JOptionPane dialog has an OK Button. |
|||
| Check if the current javax.swing.JOptionPane dialog has an YES Button. |
|||
| Check, if current window is a javax.swing.JOptionPane ErrorDialog. |
|||
| Check, if current window is a javax.swing.JOptionPane InfoDialog. |
|||
| Check, if current window is a javax.swing.JOptionPane dialog. |
|||
| Check, if current window is a javax.swing.JOptionPane PlainDialog. |
|||
| Check, if current window is a javax.swing.JOptionPane QuestionDialog. |
|||
| Check, if current window is a javax.swing.JOptionPane WarningDialog. |
[Summary] [qfs.qft] [qfs] [swing] [optionpane] |
Procedure: 'checkMessage' |
Check the message of the current
|
[Summary] [qfs.qft] [qfs] [swing] [optionpane] |
Procedure: 'checkTitle' |
Check the title of the current
|
[Summary] [qfs.qft] [qfs] [swing] [optionpane] |
Procedure: 'clickCancelButton' |
Click on the Cancel Button of the current
|
[Summary] [qfs.qft] [qfs] [swing] [optionpane] |
Procedure: 'clickNoButton' |
Click on the No Button of the current
|
[Summary] [qfs.qft] [qfs] [swing] [optionpane] |
Procedure: 'clickOkButton' |
Click on the OK Button of the current
|
[Summary] [qfs.qft] [qfs] [swing] [optionpane] |
Procedure: 'clickYesButton' |
Click on the Yes Button of the current
|
[Summary] [qfs.qft] [qfs] [swing] [optionpane] |
Procedure: 'disableNameResolver' |
Uninstall the The name resolver is automatically enabled and disabled by the other procedures of this packages. Therefore you typically don't need to do this explicitely.
|
[Summary] [qfs.qft] [qfs] [swing] [optionpane] |
Procedure: 'enableNameResolver' |
Install the The name resolver is automatically enabled and disabled by the other procedures of this packages. Therefore you typically don't need to do this explicitely.
|
[Summary] [qfs.qft] [qfs] [swing] [optionpane] |
Procedure: 'getMessage' |
Get the message of the current
|
[Summary] [qfs.qft] [qfs] [swing] [optionpane] |
Procedure: 'getOptionPaneMessageType' |
Return the message Type of the current
|
[Summary] [qfs.qft] [qfs] [swing] [optionpane] |
Procedure: 'getTitle' |
Get the title of the current
|
[Summary] [qfs.qft] [qfs] [swing] [optionpane] |
Procedure: 'hasCancelButton' |
Check if the current
|
[Summary] [qfs.qft] [qfs] [swing] [optionpane] |
Procedure: 'hasNoButton' |
Check if the current
|
[Summary] [qfs.qft] [qfs] [swing] [optionpane] |
Procedure: 'hasOkButton' |
Check if the current
|
[Summary] [qfs.qft] [qfs] [swing] [optionpane] |
Procedure: 'hasYesButton' |
Check if the current
|
[Summary] [qfs.qft] [qfs] [swing] [optionpane] |
Procedure: 'isErrorDialog' |
Check, if current window is a
|
[Summary] [qfs.qft] [qfs] [swing] [optionpane] |
Procedure: 'isInfoDialog' |
Check, if current window is a
|
[Summary] [qfs.qft] [qfs] [swing] [optionpane] |
Procedure: 'isOptionPane' |
Check, if current window is a
|
[Summary] [qfs.qft] [qfs] [swing] [optionpane] |
Procedure: 'isPlainDialog' |
Check, if current window is a
|
[Summary] [qfs.qft] [qfs] [swing] [optionpane] |
Procedure: 'isQuestionDialog' |
Check, if current window is a
|
[Summary] [qfs.qft] [qfs] [swing] [optionpane] |
Procedure: 'isWarningDialog' |
Check, if current window is a
|
[Summary] [qfs.qft] [qfs] [swing] |
Package: 'popupmenu' |
Procedures to select items and checkbox menu items from popup menus. Note that for all procedures, the popup menu must first be opened by the calling test-suite, as the popup menu is component-dependent. See package "menu" for more details about menus and sub-menus.
(Swing components
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Select an item in a popup menu. | |||
| Select an item in a popup menu. | |||
| Select an item within a submenu of a popup menu. | |||
| Select an item within a submenu of a popup menu. | |||
| Select a checkbox menu item in a popup menu. | |||
| Select a checkbox menu item in a popup menu. | |||
| Select a checkbox menu item within a submenu of a popup menu. | |||
| Select a checkbox menu item within a submenu of a popup menu. |
[Summary] [qfs.qft] [qfs] [swing] [popupmenu] |
Procedure: 'clickItemWithDetails' |
Select an item in a popup menu. You can specify the coordinates for clicking and all other details of that mouse click.
|
[Summary] [qfs.qft] [qfs] [swing] [popupmenu] |
Procedure: 'selectItem' |
Select an item in a popup menu.
|
[Summary] [qfs.qft] [qfs] [swing] [popupmenu] |
Procedure: 'selectSubItem' |
Select an item within a submenu of a popup menu.
|
[Summary] [qfs.qft] [qfs] [swing] [popupmenu] |
Procedure: 'selectSubItemWithCoordinates' |
Select an item within a submenu of a popup menu. You can specify the coordinates for clicking.
|
[Summary] [qfs.qft] [qfs] [swing] [popupmenu] |
Procedure: 'setCheckItem' |
Select a checkbox menu item in a popup menu.
|
[Summary] [qfs.qft] [qfs] [swing] [popupmenu] |
Procedure: 'setCheckItemWithCoordinates' |
Select a checkbox menu item in a popup menu. You can specify the coordinates for clicking.
|
[Summary] [qfs.qft] [qfs] [swing] [popupmenu] |
Procedure: 'setSubCheckItem' |
Select a checkbox menu item within a submenu of a popup menu.
|
[Summary] [qfs.qft] [qfs] [swing] [popupmenu] |
Procedure: 'setSubCheckItemWithCoordinates' |
Select a checkbox menu item within a submenu of a popup menu. You can specify the coordinates for clicking.
|
[Summary] [qfs.qft] [qfs] [swing] |
Package: 'radiobutton' |
Procedures to get and set the state of radio buttons.
(Swing component
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Return the value of a radio button. | |||
| Select a radio button. | |||
| Select a radio button. |
[Summary] [qfs.qft] [qfs] [swing] [radiobutton] |
Procedure: 'getValue' |
Return the value of a radio button. It's either 1, if radio button is selected of 0, if radio button is not selected.
|
[Summary] [qfs.qft] [qfs] [swing] [radiobutton] |
Procedure: 'select' |
Select a radio button. If the radio button is already selected, no action is performed.
|
[Summary] [qfs.qft] [qfs] [swing] [radiobutton] |
Procedure: 'selectWithCoordinates' |
Select a radio button. If the radio button is already selected, no action is performed. You can specify the coordinates for clicking.
|
[Summary] [qfs.qft] [qfs] [swing] |
Package: 'slider' |
Procedures to access sliders.
(Swing component
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Return the value of a slider component. | |||
| Set the value of a slider component. |
[Summary] [qfs.qft] [qfs] [swing] [slider] |
Procedure: 'getValue' |
Return the value of a slider component.
|
[Summary] [qfs.qft] [qfs] [swing] [slider] |
Procedure: 'setValue' |
Set the value of a slider component.
|
[Summary] [qfs.qft] [qfs] [swing] [slider] |
Package: 'checks' |
Procedure for checking slider values.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Check the value of a slider component |
[Summary] [qfs.qft] [qfs] [swing] [slider] [checks] |
Procedure: 'checkValue' |
Check the value of a slider component
|
[Summary] [qfs.qft] [qfs] [swing] |
Package: 'startup' |
Procedures for startup of swing applications.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Set delays for the QF-Test SUT initialization process. | |||
| Define properties for recognizing WebStart and applet security dialogs that should be closed automatically. | |||
| Start an applet as SUT in a browser. | |||
| Start a Webstart SUT. |
[Summary] [qfs.qft] [qfs] [swing] [startup] |
Procedure: 'setDelays' |
Set delays for the QF-Test SUT initialization process. Note: Values that are documented to have a default will pick up that default when you set them to 0. Use 1 to disable the default. The Java WebStart launcher has several race conditions where initialization of QF-Test SUT client wrapper can lead to problems, even to crashes. Newer versions of the Java applet plugin exhibit similar problems. QF-Test therefore delays certain steps in the SUT connection process to allow the SUT to get past the critical points. By calling this procedure before SUT startup with one or more of the following parameters it is possible to fine-tune these delays. Unfortunately there is no single optimal setting. In case you experience problems with SUT startup you will need to experiment with these values. Start with few parameters and values between 5000 and 10000.
|
[Summary] [qfs.qft] [qfs] [swing] [startup] |
Procedure: 'setSecurityDialogSpec' |
Define properties for recognizing WebStart and applet security dialogs that should be closed automatically. Default values, which handle English and German security dialogs in current versions of Java 6, 7 and 8 apply in case of empty parameters. Do disable automatic handling of security dialogs, set the title parameter to '-'.
|
[Summary] [qfs.qft] [qfs] [swing] [startup] |
Procedure: 'startAppletSUT' |
Start an applet as SUT in a browser. It is ensured a new browser default is used, otherwise the applet is not properly recognized by QF-Test. This procedure just delegates to qfs.web.browser.general.startAsNewProcess. Therefore parameter description can be found at http://www.qfs.de/include/qfs_pkgdoc/qfs_pkgdoc.html#qfs.web.browser.general.startAsNewProcess
|
[Summary] [qfs.qft] [qfs] [swing] [startup] |
Procedure: 'startWebstartSUT' |
Start a Webstart SUT.
|
[Summary] [qfs.qft] [qfs] [swing] |
Package: 'tabbedpane' |
Procedures to work with TabbedPanes.
(Swing component
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Close a tab via clicking on the "X "button. | |||
| Return the index of a given tab in a JTabbedPane. | |||
| Return the text of a given tab in a JTabbedPane. | |||
| Select a tab in a given TabbedPane. |
[Summary] [qfs.qft] [qfs] [swing] [tabbedpane] |
Procedure: 'closeTab' |
Close a tab via clicking on the "X "button. The procedure assumes that the "X" button is located 10 pixel away from the right corner. If this doesn't work for you, you can configure this via the parameter "wdiff".
|
[Summary] [qfs.qft] [qfs] [swing] [tabbedpane] |
Procedure: 'getIndexOfTab' |
Return the index of a given tab in a JTabbedPane.
|
[Summary] [qfs.qft] [qfs] [swing] [tabbedpane] |
Procedure: 'getValueOfTab' |
Return the text of a given tab in a JTabbedPane.
|
[Summary] [qfs.qft] [qfs] [swing] [tabbedpane] |
Procedure: 'selectTab' |
Select a tab in a given TabbedPane.
|
[Summary] [qfs.qft] [qfs] [swing] |
Package: 'table' |
Procedures to access tables.
(Swing component
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Select a given cell. | |||
| Return the number of columns of a given table. | |||
| Return the current index of a given column. | |||
| Return the header text of a given column. | |||
| Return the number of rows of a given table. | |||
| Return the row number of a given cell. | |||
| Return the text of a given cell. | |||
| Resize width of a table column. | |||
| Select a given cell. |
[Summary] [qfs.qft] [qfs] [swing] [table] |
Procedure: 'clickCellWithDetails' |
Select a given cell. You can specify the coordinates for clicking and all other details of that mouse click.
|
[Summary] [qfs.qft] [qfs] [swing] [table] |
Procedure: 'getColumnCount' |
Return the number of columns of a given table.
It uses the method
|
[Summary] [qfs.qft] [qfs] [swing] [table] |
Procedure: 'getIndexOfColumn' |
Return the current index of a given column. Sample usage: Can be used to determine the numeric index of a column like 'Price'.
|
[Summary] [qfs.qft] [qfs] [swing] [table] |
Procedure: 'getNameOfColumn' |
Return the header text of a given column. Sample usage: Determine the title of the second column.
|
[Summary] [qfs.qft] [qfs] [swing] [table] |
Procedure: 'getRowCount' |
Return the number of rows of a given table. It uses the method JTable.getRowCount() to get the number.
|
[Summary] [qfs.qft] [qfs] [swing] [table] |
Procedure: 'getRowIndexOfCell' |
Return the row number of a given cell. Sample usage: Can be used to determine in which row a dedicated cell is located.
|
[Summary] [qfs.qft] [qfs] [swing] [table] |
Procedure: 'getValueOfCell' |
Return the text of a given cell. Sample usage: Can be used to determine the text of the cell in the first column and first row.
|
[Summary] [qfs.qft] [qfs] [swing] [table] |
Procedure: 'resizeColumn' |
Resize width of a table column.
|
[Summary] [qfs.qft] [qfs] [swing] [table] |
Procedure: 'selectCell' |
Select a given cell.
|
[Summary] [qfs.qft] [qfs] [swing] [table] |
Package: 'checkbox' |
Procedures to set the state of checkboxes in a table-cell. These procedures become necessary, because checkboxes in tables cannot be treated like normal checkboxes.
|
Procedure/Dependency | Description | |||
---|---|---|---|---|
| Deselect a checkbox in a table-cell. | |||
| Deselect a checkbox in a table-cell. | |||
|