Forum Discussion

nedbacan's avatar
nedbacan
Frequent Contributor
2 years ago

Running a Data Driven Test using multiple Keywords and scripts

I have a data driven test setup using a Keyword test and scripts included in the main Keyword Test 1.   It works, but it will get longer with time, and I'm afraid it may be hard to manage (modify) ...
  • rraghvani's avatar
    2 years ago

    Understand. I guess in certain situation, like yours, there's no easier solution. I can only suggest to insert suitable comments, make the coding as readable as possible, and make functions not too complicated.

     

    Even the example from SmartBear, https://services.smartbear.com/samples/TestComplete15/smartstore, follows similar process.

  • Marsha_R's avatar
    Marsha_R
    2 years ago

    At some point, you have to have a master test. Breaking tests into smaller and smaller groups ends up making things more difficult over time. Name your tests clearly, whether scripts or keyword tests, and it will work out fine.