Forum Discussion

Happy's avatar
Happy
Contributor
8 years ago
Solved

Make reusable test project with authentication

Is it possible to reuse test project with authentication? For example define username and password in pom or somewhere

  • It is possible using Groovy step.

4 Replies

  • nmrao's avatar
    nmrao
    Champion Level 3
    Not sure about pom. But I guess should be able to pass some arguments though.

    Do you mean to say a project with just authentication and no other tests? Why, can't you just use step in a test case?
  • kondasamy's avatar
    kondasamy
    Regular Contributor

    Possible through making use of properties in pom.xml. It would be more helpful if you elaborate your exact requirement with context!

     

    Thanks,

    Kondasamy