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
Post a Comment