Forum Discussion

DaveBillingham's avatar
DaveBillingham
New Contributor
4 years ago

Can you reference Keyword tests across Projects in a Project Suite?

Is it possible to reference keyword tests between projects in a project suite?

 

For example, if we had set up our project suite, projects and keyword tests as follows...

 

Project Suite: MyTestSuite

    Project: FinanceSystemTests

        Keyword Test: SalesInvoiceCreated

    Project: WarehouseSystemTests

        Keyword Test: SalesOrderDespatched

 

...is it possible to add a Run Keyword Test action in my SalesOrderDespatched keyword test which executes the SalesInvoiceCreated test located in the other project? I've given this a try but the Run Keyword Test popup seems to limit the list to just the current project.

  • the scope that you can call from within a project is limited to the project itself (as you pointed out)

    the easiest workaround for this would be to "add existing item" (in terms of a keyword test)

    so that you bring in KDT A from Project A into Project B.

    Then you can call on the KDT A (now a test item within Project B) and invoke it as a step from any of your kdt's or scripts within Project B.

     

  • the scope that you can call from within a project is limited to the project itself (as you pointed out)

    the easiest workaround for this would be to "add existing item" (in terms of a keyword test)

    so that you bring in KDT A from Project A into Project B.

    Then you can call on the KDT A (now a test item within Project B) and invoke it as a step from any of your kdt's or scripts within Project B.