SeleniumHQ / selenium-ide

Open Source record and playback test automation for the web.
https://selenium.dev/selenium-ide/
Apache License 2.0
2.78k stars 752 forks source link

Ability to reuse a test from another project #1529

Open balimoon777 opened 1 year ago

balimoon777 commented 1 year ago

🚀 Feature Proposal

Ability to reuse a test from another project.

Motivation

Currently a test can only be reused in the same project. Inter-project test reuse allows users to develop tests in multiple, smaller, manageable projects and prevent code duplications rather than in one single huge project. Test development will become much more scalable.

A possible solution is to specify the project (.side) file path location of the test to be reused in the run command. During a text execution, its .side file's JSON will be read into memory and needs to be expanded by tests from other specified project prior execution. Cyclic file reference must be detected and an exception should be thrown accordingly.

toddtarsi commented 1 year ago

I'm really not opposed to this feature, but with so many break-fix things ahead of me, something like this is probably years out.