| || |
how to handle autogenerated number data and field dependant data
we are testing application form in which order id is autogenerated from database. Each time we enter value and order id is incremented by one. I have to verify whether the order id is generated properly for each order. What is the method for handling such case?
Query 2:I have one field which is quantity on the basis of that my total amount is calculated. So for such kind of form data total will be different for different quantity entered. Is there any support for SilkTest as rational visual Test which has regular expression or how can we handle this?
Re: how to handle autogenerated number data and field dependant data
1 - Query database for the last order ID, run actions and verify that the order ID has incremented by 1
2 - Query the different fields' values for the amounts to add up and then verify that the field displays the properly added value.