Forum Discussion

munteanadrian88's avatar
munteanadrian88
New Contributor
5 years ago
Solved

Handling click events for WPF buttons

Can you please provide an example for handling a click event on a WPF button? May someone help me with this, please?   Thanks in advance, Adrian M.
  • tristaanogre's avatar
    tristaanogre
    5 years ago

    You can't create custom events necessarily in TestComplete to perform those kinds of tasks.  What you could do is write a Script routine to click on WPF buttons so that, everytime you call that routine, it a) clicks on the button and b) fills in the desired data.