Quantcast
Channel: UI Automation PowerShell Extensions
Viewing all articles
Browse latest Browse all 33

New Post: wait-process

$
0
0
Hi arun_dhananjeyan, there are several ways to do what you've asked.
  1. The Wait-UiaControlState cmdlet with the -Seconds parameter
    Please refer to the page.
    Using this cmdlet you can wait for more sofisticated condition than other cmdlets offer.
  2. A 'regular' Get-UiaButton cmdlet has functionality to wait for a control, just set the number of seconds you are ready to wait:
Get-UiaWindow -Name wnd | Get-UiaButton -Name yourButtonName -Seconds 300;
  1. The Wait-UiaControlIsVisible cmdlet
Get-UiaWindow -Name windowName | Get-UiaButton -Name OK | Wait-UiaControlIsVisible -Seconds 60;

Viewing all articles
Browse latest Browse all 33

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>