Saturday 1 September 2007

QTP: Functions vs Actions

I started my QTP career with Actions but are now only using Functions. Why?

- All variables are shown when debugging (action parameters don't)
- Easier to add parameters
- Faster to load test that has only one Action (the default one)
- No need to bother where reusable Actions are located.
- Possible to edit the functions without have to load other test containing reusable actions

Conclusion: Faster, Easier and more cost effective...

...but it is also a matter of automation taste...

No comments: