
|
If you were logged in you would be able to see more operations.
|
|
|
|
|
| Component/s: |
Server
|
| Affects Version/s: |
0.9.2
|
| Fix Version/s: |
None
|
|
Currently it appears that when the -userExtensions switch is provided to the Selenium Server, only one extensions file can be provided, and that file muste be named "user-extensions.js". I'm requesting an enhancement to allow for multiple user extensions files, and the removal of the requirement to name each file "user-extensions.js". Multiple files could be specified either by delimiting the file paths, (-userExtensions /path/to/ext1.js;/path/to/ext2.js), or by using multiple -userExtensions switches (-userExtensions /path/to/ext1.js -userExtensions /path/to/ext2.js).
Here's a use case:
Selenium IDE allows for multiple extensions files to be loaded, and imposes no naming convention on the extensions files. A user might create a test using the IDE loading several extensions, and export to an RC-language. Currently in order to run such tests using the RC, all extensions files must be concatenated into a single "user-extensions.js" file. With the enhancement, the extensions files could remain as is, and be specified as needed on the Server command line.
|
|
Description
|
Currently it appears that when the -userExtensions switch is provided to the Selenium Server, only one extensions file can be provided, and that file muste be named "user-extensions.js". I'm requesting an enhancement to allow for multiple user extensions files, and the removal of the requirement to name each file "user-extensions.js". Multiple files could be specified either by delimiting the file paths, (-userExtensions /path/to/ext1.js;/path/to/ext2.js), or by using multiple -userExtensions switches (-userExtensions /path/to/ext1.js -userExtensions /path/to/ext2.js).
Here's a use case:
Selenium IDE allows for multiple extensions files to be loaded, and imposes no naming convention on the extensions files. A user might create a test using the IDE loading several extensions, and export to an RC-language. Currently in order to run such tests using the RC, all extensions files must be concatenated into a single "user-extensions.js" file. With the enhancement, the extensions files could remain as is, and be specified as needed on the Server command line. |
Show » |
|
Right now, we have 4 different versions of the user-extensions.js file which all share about 90% of the same code. Every time a change is made to one function, we have to update all 4 files, and it's beginning to become a maintenance nightmare. Ideally, we could store all of the common code in one user-extensions.js file, and then specify a schema1.js, schema2.js, etc. Then we could specify the paths to user-extensions.js and the schema*.js for the instance we're testing in the commandline.