Is it possible to use methods in java library or a java project snapshot in a protractor project?
If I create database testing project using java and export to a snapshot(as a jar), can I use it in a protractor project?
Hoping to use in protractor project,
protractor,jasmine framework along with visual studio code
Hoping to use in database project,
I can't use same technology for both API and E2E testing. Therefore I want to use database testing project in both API and E2E testing.
I know how to do in API project.What I don't know is whether I can use snapshot in protractor project.
If I can do it, should I expose database related methods as just a public method or as an API?
There is no way we can call Java methods/classes in Protractor, here is the reference link of discussion: https://stackoverflow.com/a/29985297/1976848.
But as in you Ques of using DB in protractor project, so you can use the same DB created for database testing project, checkout this reference Database connection with Protractor with this you can use snapshots in Protractor Project.
I hope this might help you!! let me know if it works.