accelQ supports automated test logic for interacting with Window-GUI elements using AutoIT (https://www.autoitscript.com) tool. You can define logic to interact with any kind of Window-GUI elements that could be automated using AutoIt tool. One of the most common examples you would need this in browser automation, is the file upload dialog box.
Note: Before using any Windows GUI commands, accelQ requires installing a REST based
server for AutoIT. Please check with your administrator for the server deployment.
Note: All the reference to window and element selectors used in this article
should be defined in AutoIt format. Click here for a help article.
Configure Auto-It Server
Sets up auto-it server connection information. Use this command before any Windows UI commands are performed.
Port Number |
Port Number |
Windows GUI - Activate Window
Activates (transfers focus to) a window using AutoIt.
Selector |
Title/hWnd/class of the window to access (AutoIt format) |
Windows GUI - Click Element
Sends a mouse click command to a given element using AutoIt.
Text (optional) |
Text of the window to access |
Windows GUI - Close Window
Closes a window using AutoIt.
Selector
|
Title/hWnd/class of the window based on AutoIt format
|
Windows GUI - Double Click on Window
Performs a mouse double click operation on the currently active window using AutoIt.
Button
|
Mouse button to click
|
Windows GUI - Enter Text in Element
Sends a string of characters to an element using AutoIt.
Text (optional) |
Text of the window to access |
Windows GUI - Focus on Element
Sets input focus to a given control on a window using AutoIt.
Text (optional) |
Text of the window to access |
Windows GUI - Run Program
Runs a given program file specified as full path. Note that backslash character is represented with “\\”.
Program
|
Full path of the program file (EXE, BAT, COM, or PIF) to run.
|
Windows GUI - Send Command to Element
Sends a command to an element using AutoIt.
Element Selector |
Selector of element to interact with (AutoIt format) |
Windows GUI - Send Keys To Active Window
Sends simulated keystrokes to the active window using AutoIt.
Key strokes
|
Sequence of keys to send in AutoIt format
|
Windows GUI - Wait for Window to Activate
Pauses execution of the script until the requested window is active.
Text (optional) |
Text of the window to access |
Windows GUI - Wait for Window to Appear
Pauses execution of the script until the requested window exists.
N |
Time in seconds |
Comments
0 comments
Please sign in to leave a comment.