Posts: 3
Threads: 2
Joined: Sep 2009
Reputation:
0
09-07-2009, 04:17 PM
Hi,
I am new to both SAP and QTP. I have a customer requirement to automate his manual test cases in SAP using QTP. The application is all about testing vendor master, customer master, invoicings, Accounts payable, accounts receivables, Fixed assets etc.. Please tell me the best approach to use while using QTP to write test scripts for the manual test cases related to above said features.
Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
09-07-2009, 04:24 PM
Best Approach ,
1. Learn about the test cases. See what percentage you can automate and how helpful it can be.
2. Read about framework. See which framework would suit your project.
3. Build a Framework.
4. Start your Design of Test Scripts.
The question you have specified is very generic. Something like, how to fish in a ocean. Start your course and if you encounter issues on the way let us know and we are more than happy to help.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Posts: 3
Threads: 2
Joined: Sep 2009
Reputation:
0
09-07-2009, 04:44 PM
Thanks Basanth for the reply. I understand your doubt about my question. I would like to be specific now. I have a test case which says "1. Start a transaction using code FB03. 2. Complete the fields like name etc. 3. Click on document list and select document Type. 5. Click on icon with clock and green checkmark." This completes one transaction.
I want to know whether just record and run approach is just good enough or I can put something more good inside automating the above said case?
Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
09-07-2009, 04:53 PM
Industry wise Record and playback have been misunderstood to be a easier way. I consider it as a good approach to learn the tool's interaction with the AUT. But a mere record and playback will ensure difficult maintenance, code coverage, verification and multi million issues. You can try with one script, analyse it and see what variations you can do, then you will easily learn the difficulties of record and playback.
It is always good to script and then make them better as you learn more.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.