 | PopupWatcherWatchAndClick Method (RepoGenBaseFolder, RepoItemInfo) |
Watches the repository item specified by watchedItem and clicks on the item specified by clickedItem
when the watched item is found.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic void WatchAndClick(
RepoGenBaseFolder watchedItem,
RepoItemInfo clickedItem
)
Public Sub WatchAndClick (
watchedItem As RepoGenBaseFolder,
clickedItem As RepoItemInfo
)
Parameters
- watchedItem
- Type: Ranorex.Core.RepositoryRepoGenBaseFolder
The repository item/folder to watch. - clickedItem
- Type: Ranorex.Core.RepositoryRepoItemInfo
The repository item to click on when the specified watched item is found.
Remarks
After adding watched items,
Start needs to be called to start the watcher.
See Also