Hi All,

I am a beginner in QTP and have understood the basics of QTP
by going through tutorial.
I am trying to Automate a HRMIS application, What is the
right approach to Automate this application. Kindly answer.

Thanks in advance

Answer Posted / nanda.d reddy

Hi dude,

the approach will be..

1 . First Identify the scenarios and test cases to be automated.
2. Do naming conventions to all scenarios.
3. Separate the Reusable scenarios, which we can use across
in all modules. and module specific scenarios.
4. Prepare the test data.
5. Now come to QTP, Identify the install the add in, that
application supports. For Example: Application is developed
with Java, Add in should be Java.
6. Capture required objects to Object Repository (some times
u have to Descriptive also), and save that object repository
as shared repository(do this by using repository manager
window, not with repository window).
7. Associate the shared repository to test.
8. Take one scenario, which is identified to automate in step 1.
9. Paste the required test data in Data Table( Data table
will be used only in basic level, in general it will be in
external excel sheet)
10. Use Environment variables to store global
variables(Global variables means which can be used in all
the scripts, by all the testers and in all environments).
These variables should be stored in external XML file. and
later u have to import that XML file in to script.
11. Write the script for each step by step. for validation
of every step use exist method, getROProperty and Different
types of operators.
12. make sure that each script should contain only one test
case or scenario.
13. If scenario is reusable, then make that automation
script as reusable.
14. if u r using some lines of script many more times, it is
better to put those script in functions.
15. Do not use any checkpoints.
16. If u r getting any unexpected pop ups use recovery
manager, else do not.

you told u are still basic, so these steps are enough for
u now.

If you get any doubts, mail me at:
nanda.dreddy@gmail.com by referring the URL of this
question.

Regards...
Nanda.D Reddy

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is use of object spy?

616


hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company

1432


How you know that a test case is a regression test case

3063


How many types of parameters are available in quicktest professional (qtp)?

586


what is the diffrence bw qtp architectute and qtp framework?

1544






1 Folders in VSS 2 In navigation script there are 100 script i want to run first 50 and 37th script also not needed to run how to do this 3 What is navigation script,Driver script, business script what we are loaded in this script 4 use of resource tab 5 Difference between verification and validation give real scenario example 6 file scripting object when to use it 7 what are the problems you are faced while testing web application 8 difference between expert view and keyword view 9 difference between QTP 8.2 and QTP 9.2 navigation frame work please answer these questions from real time working people as early as possible

1612


What are the key elements available in test result window?

629


For which type of project the iterative model is suitable?

1387


in a web page hoe to check the dynamic links that rechabging with out using regular expressions

1783


what is review

1616


Why is Client side image is preferred over server side image?

1446


How do you compare the structure of 2 tables in database and check whether they are similar using qtp.

1479


What is environment variable in qtp and why to use it?

551


How to build scripts that access data from external sources?

1614


i have asked earlier only one question how to test web application using QTp plz send me the answer quickly

1662