visual studio - CUIT fails on other machines -


14 hours , couldn't find out why ???

i've done tests web application , of them running perfectly, till started running tests on 3 different machines of them failed still working on dev machine

most of tests done manually, used test builder generate ui map

i used walkthrough use multiple ui maps , of tests manually http://blogs.msdn.com/b/anutthara/archive/2010/02/10/walkthrough-using-multiple-coded-ui-maps-in-test-automation.aspx

how i'm generating map, - create new map - run test builder map - assertions on controls need in test - generate method - delete generated method map, because dont need it, , controls in map

then i'm using same way in walkthrough code test steps

i repeated these steps again on 1 of maps, after got problem , solved problem, because i've done tests manually take me days change controls names in maps

i checked designer.cs map find changes between old , new ones, nothing different, made sure searchproperties , searchconfigurations not using window title , these stuff. i'm relying on id, name, taginstance same

i ran issue coded uis.

the tests run fine on machine vs 2013 has 8 gb of ram, seem fail on rest of machines have 4 gb ram.

for quick fix added following test methods:

playback.playbacksettings.waitforreadylevel = waitforreadylevel.allthreads; 

later on went through failure points , adjusted conditions & in cases added 1 or 2 second wait (even though hate doing it) allow page or object fully.


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -