Test Studio - Invoice Creation & Verification

2 posts, 0 answers
  1. Netra
    Netra avatar
    3 posts
    Member since:
    Jan 2014

    Posted 22 Mar 2014 Link to this post

    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.


  2. Velin Koychev
    Velin Koychev avatar
    88 posts

    Posted 26 Mar 2014 Link to this post

    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.
    Velin Koychev
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top