I am currently trying to create tests to test microsofts new CRM application. I have recorded numerous web tests, but they will stop working after a change is made to the application. As far as I can tell it is linked to an import of the configuration from another server. When the script does a form post of the information submitted in the test, it gets back an error stating that the form has expired. I can re-record the test now and it will pass, performing all of the same functions. This is an out of the box app from MS that we have tailored. I am trying to find a way to modify the tests so that they continue to work after the app changes in the background.
I coded both a test that no longer works and one that does, and compared the two files, without seeing anything that would suggest why it fails. Any help is greatly appreciated.

script fails after new version of software pushed
lucaz
Nope, the test doesn't store any secret data that you can't see in the code or XML, depending on whether you're talking about a coded or normal web test. You might want to diff the old test with the new test to help find out what changed.
Josh
marmok
What sort of differences are there between the old and new tests To have everything "just work" your new site would have to have exactly the same set of urls and querystring/form parameters.
Josh
David Jeavons
Well, i did a diff between the two and can't find anything signifigant that jumps out at me, and i had the guys that are doing some of the tailoring with the help of MS look at it, and they didnt see anything either.
But it's good to know that there is nothing else hidden stored away that the test uses. If it's all in the coded test, then looking through the code i should be able to see something. I just haven't found it yet.
DamageInc