Running the test suite from a different box/ environment out of your network reach

11 views
Skip to first unread message

Nagashree M

unread,
Sep 1, 2015, 9:34:47 AM9/1/15
to Selenium Users
Hi All,

I am new to selenium & trying to learn while developing a small framework. 
I have developed a simple BVT with as less as 10 tests in the suite.

Now If I would have to pass this someone else to run them from their environment. Basically I am probably trying to package the whole framework and try to trigger the tests from a command line.. is this possible & if so how could this be achieved?

Appreciate your support.

Regards,
shree

Krishnan Mahadevan

unread,
Sep 1, 2015, 9:49:51 AM9/1/15
to seleniu...@googlegroups.com
Yes. Its very much possible. On a high level here’s how you go about doing it.

Am assuming that you are doing this using Java.

  • Leverage a build tool such as ANT, Maven or Gradle to manage your project’s dependencies [ Jars that are required by your project to be made available in the CLASSPATH ]
  • Leverage a version control tool such as GitHub  (or) BitBucket for e.g., and check in all of your source code into it.
  • Now share the Repository URL with your team so that they would basically clone the repository and then run the tests using the build tool [ In Maven it would be “mvn clean test”, In ANT it would be “ant” and in gradle it would be “Gradle” ]

Hope that helps you get started !

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Technical Scribbings @ http://rationaleemotions.wordpress.com/


--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/7af297c6-704d-4738-9ccb-494ee7d4c7cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages