Just to be clear, do I put that dependency in the pom.xml of my system object project? If so, do I then do a maven install to get the dependency code to download into the local Maven repository? How do I then access the system objects in my own code? I'm just now checking out the git site which may well address any or all of this. ; )
When things go well, I can do quite a bit with Maven and Selenium, but when things go off the rails, my lack of real understanding bites me in the rear! Thanks in advance for any advice you can offer.
Last edit: KWood 2013-12-21
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I see on the git site, 'Saving the browser state between tests' YES! This is a huge hurdle I need to surmount in order to make my test components in JSystem modular. I'm going through the code on the site now, but any hints you can offer on this idea would be great.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I checked out the thread with the example code, but can't figure out how to get the imports to resolve correctly. Using eclipse, I put the dependency show above into my pom and then did a maven 'install' run. I then created a system object project in addition to the tests project I already have and tried pasting in the system object code from the example in the post (using my own package name - is that correct?) but could not get the imports to resolve. I realize this betrays a lack of understanding of how java projects are assembled, rather than any problem with JSystem in particular, but any help you could offer could go a long way towards my getting a better understanding of how this all works!
Thanks,
-Kent
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Kent,
If you added the maven dependency, you should be able to initialize the web driver. I recommend using the build command 'Clean Install' , not just 'Install'.
If it doesn't help, try see the maven error when you build it again and paste it here.
good luck
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is Selenium Sys Object is part of the release? and is there implemantsion of webdriver as the following HtmlUnitDriver as Sys Object?
Hi and welcome to the Selenium junkies :)
JSystem contains a wrapper for the Selenium driver. you can see the following thread for example on the subject: selenium System Object
Did this answer your question?
JSystem WebDriver system object sources are hosted in GitHub.
You can also add it as artifact to your JSystem Maven POM file:
Just to be clear, do I put that dependency in the pom.xml of my system object project? If so, do I then do a maven install to get the dependency code to download into the local Maven repository? How do I then access the system objects in my own code? I'm just now checking out the git site which may well address any or all of this. ; )
When things go well, I can do quite a bit with Maven and Selenium, but when things go off the rails, my lack of real understanding bites me in the rear! Thanks in advance for any advice you can offer.
Last edit: KWood 2013-12-21
I see on the git site, 'Saving the browser state between tests' YES! This is a huge hurdle I need to surmount in order to make my test components in JSystem modular. I'm going through the code on the site now, but any hints you can offer on this idea would be great.
Zack,
I checked out the thread with the example code, but can't figure out how to get the imports to resolve correctly. Using eclipse, I put the dependency show above into my pom and then did a maven 'install' run. I then created a system object project in addition to the tests project I already have and tried pasting in the system object code from the example in the post (using my own package name - is that correct?) but could not get the imports to resolve. I realize this betrays a lack of understanding of how java projects are assembled, rather than any problem with JSystem in particular, but any help you could offer could go a long way towards my getting a better understanding of how this all works!
Thanks,
-Kent
Hi Kent,
If you added the maven dependency, you should be able to initialize the web driver. I recommend using the build command 'Clean Install' , not just 'Install'.
If it doesn't help, try see the maven error when you build it again and paste it here.
good luck
Thanks, Zack. I did get the imports to resolve, but still much to learn!
“Tell me and I forget, teach me and I may remember, involve me and I learn.”
― Benjamin Franklin
Glad to have helped.