WinDriver/en: Porovnání verzí
(Založena nová stránka s textem „Command for Windows API.“) |
(Založena nová stránka s textem „*click **Target=Control (typically Button) *getChecked **Target=Control (typically Checkbox or Radiobutton) **Output=State (0=unchecked, 1=checked) *getCou…“) |
||
| Řádek 21: | Řádek 21: | ||
*click | *click | ||
| − | **Target=Control ( | + | **Target=Control (typically Button) |
*getChecked | *getChecked | ||
| − | **Target=Control ( | + | **Target=Control (typically Checkbox or Radiobutton) |
| − | **Output= | + | **Output=State (0=unchecked, 1=checked) |
*getCount | *getCount | ||
**Target=Control | **Target=Control | ||
| − | **Output= | + | **Output=Number of objects found |
*getHandle | *getHandle | ||
**Target=Control | **Target=Control | ||
| − | **Output=Handle | + | **Output=Handle of the first object found |
*getHandles | *getHandles | ||
**Target=Control | **Target=Control | ||
| − | **Output= | + | **Output=Coma separated list of handles |
*getText | *getText | ||
**Target=Control | **Target=Control | ||
| − | **Output=Text | + | **Output=Text of object |
*setChecked | *setChecked | ||
| − | **Target=Control ( | + | **Target=Control (typically Checkbox or Radiobutton) |
| − | **Value= | + | **Value=Desired state (0=unchecked, non-zero integer=checked) |
*setText | *setText | ||
**Target=Control | **Target=Control | ||
Verze z 3. 12. 2024, 09:26
Obsah
Description
Alias: WND
Runs the command via Windows API messages.
Runs the command specified by the Command parameter via Windows API messages.
Input parameters
Command
Type String
Command for Windows API.
- click
- Target=Control (typically Button)
- getChecked
- Target=Control (typically Checkbox or Radiobutton)
- Output=State (0=unchecked, 1=checked)
- getCount
- Target=Control
- Output=Number of objects found
- getHandle
- Target=Control
- Output=Handle of the first object found
- getHandles
- Target=Control
- Output=Coma separated list of handles
- getText
- Target=Control
- Output=Text of object
- setChecked
- Target=Control (typically Checkbox or Radiobutton)
- Value=Desired state (0=unchecked, non-zero integer=checked)
- setText
- Target=Control
- Value=Text
Target
Typ String
Cíl příkazu.
Value
Typ String
Hodnota parametru příkazu.
Enabled
Typ Number
Povoluje nebo zakazuje příkaz. Při hodnotě 0 nebude příkaz proveden.
PreWait
Typ Number
Prodleva v milisekundách před provedením příkazu. Nemá žádný vliv je-li Enabled=0.
PostWait
Typ Number
Prodleva v milisekundách po provedení příkazu. Nemá žádný vliv je-li Enabled=0.
Výstupní parametry
Output
Typ String
Výstup příkazu