How exactly you start scripting in QTP? In the interview he
was not satisfied with my answer.Please post what is correct
answer.
Answers were Sorted based on User's Feedback
Answer / ravi, fortechsoft
In my company, we follow the below process while writing scripts
First, our Quality Leader will analyze the application and
identify the scenarios for automation. These scenarios are
divided among Automation Engineers for implementation.
This is the point where we(automation engineers) start our
automation process.
First we create automation folder structure(i.e., we create
separate folders for storing object repository files,
scripts, test data, test results, userdefined functions ,
recovery scenarios).
After creating the folder structure, we start recognizing
the objects using object repository manager and store the
object repository file in the specified folder. We then
attach the repository file to our test by using
Resources->Associate Repositories.
Now, we start writing the script for the scenarios.
We follow modular driven framework, and we also use data
driven framework where ever necessary to test the
application with multiple sets of data.
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / shraini
All the 7 steps , 1)prepare for the recording, 2)start
recording,3) add the logical statements,check points,&
commands, 4)Debugging the script, 5)Running the script
6) Analyzing the results & 7) reporting the results.
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / rajan velayutham
Simply following the 7 steps for Automation is not good
idea/move.
Once the Automation plan is completed should create POC.
Before POC should decide very important process.
That is AUTOMATION FRAMEWORK. It will guide to be in
positive track. The framework will tell you how the
reusability of functions and scripts and etc.
Until unless the framework is not designed the automation
testing will not give the good progress.
| Is This Answer Correct ? | 0 Yes | 1 No |
When and why do you use "OPTION EXPLICIT" in VB Script. Is there any online help or something to learn the script for Beginners?
1)what is the quality process in QTP? 2)how to add the .tsr file in qtp through scripting?
what do you call the window testdirector-testlab?
how to open Excel sheet & write in it & save it?
how do pass parameters from one action to another action
What is dictionary object? what is the use of it? How you will display all the items in the dictionary object?
What contains Data Driven Framework document in qtp?
Difference between image checkpoint and bitmap checkpoint
what is the difference betn QTP 8.0 AND PREVIOUS VERSION
We have a dynamic webtable where rows keep on adding.I have to click on particular row where the status changes to Update or Save.How do you click on Status(either it can be Update or save)
why require regression testing?
How many ways we can parameterize data in QTP ?