Forum Discussion

bawa's avatar
bawa
Regular Visitor
5 years ago

How to execute dependent script library when executing main project using TestRunner in command line

Below is my projct structure

| Project 1 (This is my main project which has application specific test cases)

   |Test Suite 1

      |Test Case 1

      |Test Case 2

   |Test Suite 2

      |Test Case 1

| Project 2(Script Library)

   |Test Suite 1

     |Test Case 1

         |Groovy Step(Shared Groovy Methods)

 

I want to run the Project 1 using TestRunner Command line utility. But Project 1 is dependent on Project 2 as it has shared resusable methods from Script library

I have went through many posts in community but could not find resolution for above issue. Can some help me know how to achieve the same.