-
-
Notifications
You must be signed in to change notification settings - Fork 513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can I add Reporting ability of Serenity into an existing project which has its own dependencies already? #2961
Comments
If you are migrating from TestNG already it would probably be easier simply to rewrite the tests using Serenity - Serenity has it's own way of managing the WebDriver lifecycle events that won't work if you try to use your own page objects. You also lose the option of using a more modern pattern such as Screenplay. |
[updated] I see, it will probably be just re-writting the base page objects and test classes... but, is there any official documentation to follow on using Serenity with Page Objects pattern? I'm not sure we can migrate also to Screenplay pattern right now... |
The official documentation is on https://serenity-bdd.github.io/. |
Sorry, I already read the documentation for Page Objects, I have to revisit. I was looking for a way to avoid migrating all my tests, but I will definitely reconsider. Thanks! |
Is there any way to create and maintain my PageObject extending classes on |
You can place your page object classes anywhere you want, as long as you have the Maven dependencies in the right scope. |
Oh, I see! I was struggling with that witout noticing until an hour ago. Thanks! |
I'm working with an existinng framework that already has it base page objects and test base classes, and I want to use Serenity for reporting. Is this possible? The project is using TestNG but I plan to move to Cucumber.
Thanks
The text was updated successfully, but these errors were encountered: