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



Hi All, I am a beginner in QTP and have understood the basics of QTP by going through tutorial. ..

Answer / 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

More QTP Interview Questions

is it possible to operate(on/off)the capslock using qtp

2 Answers  


what are the frame work models of qtp?which frame work you follow in your company?and explain it process?

0 Answers   Covansys,


How to Analyze the Checpoint results by Text/Text Area Checkpoint?

1 Answers  


How can you merge two Object Repositories?

3 Answers  


if there r 10 windows open in QTP write a command to close all 10 windows at a time ?

10 Answers   Wipro,






four browser are open same application i want to enter 3browser how?

3 Answers   IBM,


I have a 10 lines of qtp script, while executing i got an error at line 7 but i dont want to stop the execution i want to continue the execution up to last line and display the test result window, wts the syntax we use?

3 Answers   BirlaSoft, Collabera,


can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?

0 Answers  


How to Test Dynamic links ?

4 Answers   Wipro,


How do client side image and server side image work?

0 Answers  


how to explain a claims and insurance project?

0 Answers  


My project title is "DRUG Audition and research management" it comes which domain?

4 Answers  


Categories