I have worked with QTP. I have worked with Selenium. It is possible to
convert QTP scripts to Selenium 2 scripts. Depending on the QTP
scripts, how clear they are, how well they are documented and how much
of the HP QC features the tester used, it could be a lot of work.
Personally, when switching tools I would continue to run the old
scripts with the old tool. As maintenance on the scripts is required,
I would convert who scripts to the new tool. All new automation would
be implemented in the new tool. Over time the old scripts would
diminish and the new tool test suite would grow.
Additionally, I'd evaluate the quality of the old scripts. Why are
they converting to a new tool? If the old scripts are difficult to
maintain, converting them programmatically will probably result in
Selenium scripts which are difficult to maintain.
Bottom line, it is possible but you'd have to evaluate the QTP scripts
to see if it is feasible and sensible.
Darrell
P.S. I don't have the time to take on this task. I'm just saying this
is a 'it depends' situation.