forked from teamcfadvance/CFSelenium
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
1,628 additions
and
2,529 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,5 @@ | |
.settings/ | ||
settings.xml | ||
Selenium-RC/" | ||
testbox | ||
tests/results |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/** | ||
* Base Selenium based testing | ||
* Please make sure you call the `beforeAll()` method with the appropriate `browserURL` and `browser` arguments | ||
* The `beforeAll()` method will place an instance of the CFSelenium CFC in the `variables` scope as `selenium` | ||
*/ | ||
component extends="testbox.system.BaseSpec"{ | ||
|
||
/*********************************** LIFE CYCLE Methods ***********************************/ | ||
|
||
/** | ||
* Please note the two arguments to get a selenium server started | ||
* @browserURL The base URL of the application to test. | ||
* @browser The browser to run the tests, defaults to *firefox | ||
*/ | ||
function beforeAll( required browserURL, browser="*firefox" ){ | ||
// create Selenium class | ||
variables.selenium = new cfselenium.Selenium(); | ||
// Start it up. | ||
variables.selenium.start( arguments.browserURL, arguments.browser ); | ||
} | ||
|
||
// executes after all suites+specs in the run() method | ||
function afterAll(){ | ||
variables.selenium.stop(); | ||
variables.selenium.stopServer() | ||
} | ||
|
||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file renamed
BIN
+33.2 MB
...-RC/selenium-server-standalone-2.42.2.jar → ...-RC/selenium-server-standalone-2.46.0.jar
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
{ | ||
"name":"CFSelenium", | ||
"version":"2.0.0", | ||
"author":"Ortus Solutions, Corp", | ||
"homepage":"https://github.com/Ortus-Solutions/CFSelenium", | ||
"documentation":"https://github.com/Ortus-Solutions/CFSelenium/wiki", | ||
"repository":{ | ||
"type":"git", | ||
"url":"https://github.com/Ortus-Solutions/CFSelenium.git" | ||
}, | ||
"bugs":"https://github.com/Ortus-Solutions/CFSelenium/issues", | ||
"slug":"cfselenium", | ||
"shortDescription":"CFSelenium provides a native client library for Selenium-RC", | ||
"description":"CFSelenium is a ColdFusion Component (CFC) which provides a native client library for Selenium-RC. This allows you to write tests, using CFML, which will drive a browser and verify results via Selenium-RC.", | ||
"type":"projects", | ||
"keywords":[ | ||
"cfselenium", | ||
"testing", | ||
"selenium" | ||
], | ||
"engines":[ | ||
{ | ||
"type":"lucee", | ||
"version":">=4.5.x" | ||
}, | ||
{ | ||
"type":"adobe", | ||
"version":">=10" | ||
} | ||
], | ||
"projectURL":"https://github.com/Ortus-Solutions/CFSelenium", | ||
"license":[ | ||
{ | ||
"type":"Apache2", | ||
"url":"http://www.apache.org/licenses/LICENSE-2.0" | ||
} | ||
], | ||
"contributors":[ | ||
|
||
], | ||
"dependencies":{ | ||
|
||
}, | ||
"devDependencies":{ | ||
"testbox":"2.0.0" | ||
}, | ||
"installPaths":{ | ||
"testbox":"testbox" | ||
}, | ||
"ignore":[ | ||
"**/.*", | ||
"test", | ||
"tests" | ||
], | ||
"testbox":{ | ||
"runner":[ | ||
{ | ||
"default":"" | ||
} | ||
], | ||
"labels":[ | ||
|
||
], | ||
"reporter":"", | ||
"reporterResults":"", | ||
"bundles":[ | ||
"" | ||
], | ||
"directory":{ | ||
"mapping":"", | ||
"recurse":true | ||
}, | ||
"watchers":[ | ||
|
||
], | ||
"notify":{ | ||
"emails":[ | ||
|
||
], | ||
"growl":"", | ||
"url":"" | ||
} | ||
} | ||
} |
Oops, something went wrong.