Tips for doing effective QTP script Development
Read the Requirements completely and repeatedly till understanding it clearly without any ambiguity. It is better to create own automation testcase/requirement based on the manual test cases or business requirement document.
Highlight or make note of key requirements in the requirement document. And, highlight the points that are difficult to understand.
Don’t hesitate to approach the developer/customer/client if you need any clarification in the requirement and also don’t hesitate to inform if any of the requirements is unrealistic. Prepare a list of requirements or test cases which can not be automated.
QTP Script development Team also should participate in the requirement analysis before starting any application development activity. QTP team can give suggestions (e.g giving unique name/id for each window so that object identification problem can be avoided when creating QTP scripts) for the application development Team for improving effectiveness of the QTP script development.
Start working on coding/scripting part only after getting clear understanding of the overall Design of the system
Read more..http://qtpbook.com/2011/08/23/tips-for-doing-effective-qtp-script-development/