Click or drag to resize
Ranorex

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
Syntax
public void Watch(
	RepoItemInfo watchedItem,
	PopupItemCallback callback
)

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