I'm testing a medical application,when I record a test for example add a new patient and then when I want play it back, message box said the patient is already exist, and doesn't show the procedure correctly.
What should I do? [img]/images/graemlins/confused.gif[/img]
Is someone have the same problem?
As far as I understand, the problem is that your application requires unique data input while TestComplete just plays back the actions you performed during the test recording. If so, I recommend that you just modify your test to make it provide different results every time. I recommend that you use the data-driven testing approach to achieve this (see the "Data-Driven Testing - Basic Concepts" help topic for more information).
The topic describes the general approach to data-driven testing and contains links to other topics which describe the process more minutely. For example, I recommend that you see the "Data-Driven Testing Tutorial" help topic which contains step-by-step instructions on reading data from an external storage and providing input values to an application. Also, I recommend that you see the "Using DDT Drivers" help topic for more sample scripts.