visual studio 2010 - Coded UI Testing with more than one UIMap.Designer.cs? -


i started coded ui tests. far good, have 1 concern file uimap.uitest. since have create many test scenarios, means many cs files. more files have, bigger uimap.uitest is, because keeps regenerating code time. question it's possible have/create each uimap.uitest each cs file, respectively? using vs2010.

thanks

yes. information on "multiple ui maps". general approach right-click in solution explorer, add new item "coded ui test map" (add => new item => visual c# items (or possibly vb) => test => coded ui test map). after naming map , clicking ok normal coded ui dialogues should appear allowing recording , generating of new items. people recommend creating folder in solution explorer contain ui maps. after recording , generating code, calls of generated methods need added manually test methods. additionally, these new ui maps need instantiated. microsoft blog has more details http://blogs.msdn.com/b/anutthara/archive/2010/02/10/walkthrough-using-multiple-coded-ui-maps-in-test-automation.aspx

when using multiple ui maps not right click in source files , select "generate code coded ui test". if code added default "uimap.uitest" file, creating 1 if needed , no warning doing so. (see http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/3378897-choosing-the-uimap-when-recording-tests )

i have not found way of moving items 1 ui map file except editing xml sources , complicated.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -