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

ios - Memory not freeing up after popping viewcontroller using ARC -

Java JSoup error fetching URL -

webstorm - PhpStorm file cache conflict with TypeScript compiler -