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

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -