I'm using WebUI Test Studio 2010.2 to test an application that deals with orders for temporary workers. When a new temp order is created, a new guid is generated by the application and comes back to the web browser in a session variable. That value is then used in multiple places - links on the page, the url in the address bar, etc. Each time a new temp order is created it has a new guid. Note that the actual creation of the new guid and the new temp order record in the DB occurs upon the submission of form 1 in a 5-form process. So on page 1 there is no temp order and thus no guid. On pages, 2-5 - and all attendant lookups/popups - the guid hangs around to ensure all the actions are performed against that exact order and no other.
At the moment, the recorder does a fine job of recording all of these values but of course running the test fails since it's looking for the guids found when it was recorded, and now they're all 'wrong'. The guids are not sequential, they are totally random in the form of "8-4-4-4-12" , a hexidecimal string. I can't imagine the idea of dynamic values - that are not pre-recorded in a file - hasn't occurred to anyone at Telerik. I'm sure it's my own ignorance of the test suite, but I can't find any information about this in the docs. How do I get this done?
Thanks,
Todd B.
At the moment, the recorder does a fine job of recording all of these values but of course running the test fails since it's looking for the guids found when it was recorded, and now they're all 'wrong'. The guids are not sequential, they are totally random in the form of "8-4-4-4-12" , a hexidecimal string. I can't imagine the idea of dynamic values - that are not pre-recorded in a file - hasn't occurred to anyone at Telerik. I'm sure it's my own ignorance of the test suite, but I can't find any information about this in the docs. How do I get this done?
Thanks,
Todd B.