This is a migrated thread and some comments may be shown as answers.

Test Studio - Invoice Creation & Verification

1 Answer 57 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Netra
Top achievements
Rank 1
Netra asked on 22 Mar 2014, 06:03 PM
Using Test Studio Record & play with data driven frame work, I recorded test case to create invoice form & update invoice into invoice table. here unique # is invoice id.

I am using Data driven file (excel) to to input all the fields required for invoice form, and then I
Click update button,
next I need to verify whether new invoice # has been updated to invoice table or not, here issue is when verify Invoice # element is different from when I play the same test case for other new invoice #.

Can anyone suggest me how to create test case for above scenario, Using Test Studio Record & play with data driven frame work.

Thanks
NDS

1 Answer, 1 is accepted

Sort by
0
Velin Koychev
Telerik team
answered on 26 Mar 2014, 02:10 PM
Hi Netra,

Yes, you should be able to do this test scenario using data driven testing.  You just have to make sure that you verify with the same value that you used for creating the invoice.

Another issue that you might experience is if the invoice element find logic is not a static and it changes every time you execute the test with a new invoice #. If that is the case, you might need to modify the find expression that Test Studio uses. 

Either way, if you continue to experience any issues, please provide us with a copy of your test and if it is possible grant us access to your application so we can reproduce the issue on our end and give you a solution. 

Looking forward to hearing from you.
 
Regards,
Velin Koychev
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Tags
General Discussions
Asked by
Netra
Top achievements
Rank 1
Answers by
Velin Koychev
Telerik team
Share this question
or