 | PopupWatcherWatch Method (RepoItemInfo, PopupItemCallback) |
Watches the specified repository item and invokes the specified callback when the repository item is found.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic void Watch(
RepoItemInfo watchedItem,
PopupItemCallback callback
)
Public Sub Watch (
watchedItem As RepoItemInfo,
callback As PopupItemCallback
)
Parameters
- watchedItem
- Type: Ranorex.Core.RepositoryRepoItemInfo
The repository item/folder to watch. - callback
- Type: RanorexPopupItemCallback
The notification callback.
Remarks
After adding watched items,
Start needs to be called to start the watcher.
See Also