My recommendation would be that you approach the transition to Selenium as an ongoing process rather than trying to convert all of your existing scripts at once. Start by building any new tests in Selenium and keep both the RFT scripts and the Selenium tests running at first. Then, over time, analyze your RFT scripts. It may not be worthwhile to move some of them into the Selenium suite - it's not uncommon to have tests that really aren't ever going to find bugs anymore since they've grown stale as the system has changed or which have had their functionality duplicated by other tests created later. As you find those, you can remove them from your RFT run and not worry about rewriting them in Selenium. There may also be scripts that are always failing due to issues in how the script was written initially (and not due to bugs in the application). You may have a small number of test scripts which require the majority of your time to keep working. Figure out how you could redesign those scripts in Selenium to be more robust and useful and re-implement them using the new designs, then remove the old scripts from RFT. Over time, you may also find that existing scripts need significant rework to keep them working against your application as it changes. When you find these tests, rather than making significant changes in RFT, write the test in Selenium and remove the old RFT ones.
Eventually, you'll probably be left with a smaller set of RFT tests that are worthwhile to run but fairly stable. You can work on rewriting these in Selenium as time allows or keep them in RFT until they get stale or broken at which point you remove them or replace them with new tests in Selenium. You may find that at some point this pool of remaining RFT tests is small enough that it's worth the effort just to finish rewriting the tests in Selenium and finish the transition.
Changing an automation tool is not a quick task, particularly when you have as much invested in the original tool as it sounds like you have. While you might find a faster way than what I've recommended, you need to be careful that you don't just trade time transitioning for time performing ongoing maintenance of the test suites. If you take a little longer transitioning tests and spend the time to review and analyze your tests, you should end up with a higher quality test suite at the end.
In some ways, what you're trying to achieve is conceptually similar to trying to take an existing system and add unit tests across the system when they weren't present before. Michael Feathers talks a lot about this in his book "Working Effectively with Legacy Code" and you may find some ideas in there to help you plan out a sane transition strategy as well.
Andy
Dear all,
Thanks,
Purvi
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.