coded ui tests - Difference between "new WinWindow(UITestControl.Desktop)" and "new WinWindow()" -


when initializing winwindow in codedui, whats exact difference between

var win = new winwindow(); 

and

var win = new winwindow(uitestcontrol.desktop); 

in windows controls' root desktop, if no parent specified in winwindow constructor, search of control should start desktop anyway.

there's no difference between results, second constructor although makes possible specify control parent of control. if use desktop or not.


Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -