Forum Discussion

krenevla's avatar
krenevla
Contributor
12 years ago

Access TestCase from different Project

Hello,

is there a way how to access TestCase which is located at different Project, thus different XML file? This would be handy for situations where multiple teams are sharing common Project for accessing "modular test cases". Tried to search forum/Internet but didn't found anything so far.

Thanks!

5 Replies

  • You could access other projects using Groovy by calling getProjectByName(String projectName) on the workspace. From then on you could access the TestCase and clone it to another project.

    This would require some scripting though.
  • thank You for reply,
    I have one additional question.
    Is it possible to run whole test case in Groovy giving it it's input properties and defining return properties?
    This is what I would like to have - one place with modules (in form of test cases) which could be shared by multiple projects
  • thank You for respond.
    Do You think it's realizable candidate for feature request? I have no idea for how many users this could be handy, but accessing test cases from different Projects but within one workspace would help teams like ours is (each team has different Project file but they shares common Project file with modularized tests)

    edit: by feature request I mean access these test cases using Run test case Test step
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,

    I've created a feature request for this feature. We will let you know when we have more information on this matter.

    Regards,

    Arian
    SmartBear Sweden