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 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 |
how to merge object repositories in qtp for n different applications
how many test scripts we will write in qtp? very urgent. please??? Thanks in advance..
how to acess a test in RSA?
what is the latest version of QTP? Main difference between 9.2 and 10 version
How to write script to display a message box having the "Date" value of the fourth mail(yahoo account). I've tried it with the web table concept but the content doesn't get displayed? Please help me out to resolve this :-)
In Datatable having the data like this S.no Name Address 1 raj hyderabad 2 suresh Mumbai 3 shyam chennai 4 dev banglore i want to get the shyam row id & column id using scipting i.e 3,3
What are the advantages of a Hybrid framework?
1. I have asked the same question for the third time, but i am getting wrong answers. Pls give me the script to count the number of edit boxes or checkboxes in an windows application screen. In windows application childobject is not working, anyone very urgent
I need to know how to Automate a Username and Password for a Web-based product? I'm scripting 3 different types of surveys but each Survey requires a Username and Password which is always the same. I can I do this using QTP?
Write a Script With descriptive programming(Without Repository) to update an Update an order in Flight App and verify whether it is done successfully.(Use ChildObjects method)
What is Parameterizing Tests?
When u r running a script , if u get a popup window that describing that u have received a mail to your outlook application. so to avoid the interference of the popup window , which recovery scenario(popup,object state,application hang,system crash) would u use ?