11-24-2011, 10:12 PM
---------------------------
Thanks Ravi for your reply.
I am checking in the application.
My code is as below:
First Account number (EG 3000016), I am taking from the datatable.
Next time, when it runs, I have added Suffix "1" at the last , also incremented the counter.
For checing the Duplicate, I will be getting error message in the application saying "aCCount number already exists". I created Text Checkpoint for this error. This code I have put in DO while loop. whenever it returns true, next time it will imcrement the account number with "1" and check for the above error. Comes out of the loop when it is false.
Please guide me, whether the above procedure is correct, since I am new to QTP.
Thanks Ravi for your reply.
I am checking in the application.
My code is as below:
First Account number (EG 3000016), I am taking from the datatable.
Next time, when it runs, I have added Suffix "1" at the last , also incremented the counter.
For checing the Duplicate, I will be getting error message in the application saying "aCCount number already exists". I created Text Checkpoint for this error. This code I have put in DO while loop. whenever it returns true, next time it will imcrement the account number with "1" and check for the above error. Comes out of the loop when it is false.
Please guide me, whether the above procedure is correct, since I am new to QTP.