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

Hi Guys, here I am posting one question. Wen u r working with Notepad. If it is not responding in the middle of TEst...what u will do.

7 Answers  


object types is used for what?

1 Answers  


In automation testing Can we retest virtual object in the application after getting new version from the developers, is there any property will change for that object or it won't.?

1 Answers   Siemens,


abt filter function if iam using below two statments its ok My = Array ("Apples","Oranges", "Apricots") MyResult = Filter(My, "Oran") if i use msgbox MyResult it shows type mismatch plz help me

2 Answers  


In QTP if u got a defect , how to report to developer using Test director or Quality center .

5 Answers   Wipro,






In web page there is five OK buttons available, while recording i click on 3rd OK button, How QTP identify the 3rd OK button while running script? Is qtp identify 3rd ok button?

14 Answers   Polaris,


write a qtp script to verify that the business price is twice the economy price in flight reservation window

1 Answers  


how to get the object count ?????????

8 Answers  


Hi i have a webtable which is having 7 columns and 6 rows of data in that table of 4th and 5 th column each row is partiotioned into 3 sub rows i want to verify in each partitioned rows of corresponding row for ex values will be like this 0 / 1 ,26/28.if it is 0/1 i want to skip only if any num/num greater than 1 i want to click.

1 Answers  


supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?

0 Answers   IBM,


how can we perform web datatable operations on webpages(Like rowcount,col count,cell data)?

2 Answers   Syntel,


How to creating an output value using quicktest professional?

0 Answers  


Categories