WinDriver

Z Wiki
Verze z 4. 12. 2024, 03:44, kterou vytvořil FuzzyBot (diskuse | příspěvky) (Stránka aktualizována, aby odpovídala nové verzi zdrojové stránky)
Přejít na: navigace, hledání
Jiné jazyky:
English • ‎čeština

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

Type String

The target of the command identified using parameters:

  • windowHandle
  • windowClass
  • windowText
  • parentHandle
  • parentClass
  • parentText
  • parentIndex
  • handle
  • class
  • text
  • index

Value

Type String

The value of the command parameter.

Enabled

Type Number

Enables or disables the command. If the value is 0, the command will not be executed.

PreWait

Type Number

Delay in milliseconds before executing the command. It has no effect if Enabled=0.

PostWait

Type Number

Delay in milliseconds before executing the command. It has no effect if Enabled=0.

Output parameters

Output

Type String

Command output