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 |
requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" ar = Window("Flight Reservation").WinComboBox("Fly From:").GetContent your actual value is : that shows data in combo box how can u test the both data is correct or not by using split function
How can we disable popup blocker? (I think it means when we get a pop up messge(its error) how we wil disable that one with out interrupting normal process)
Describe how Smart Identification is used
What is a reusable action?
1) How will you associate SOR in Runtime? ( u had written 10 lines of code from 11th line u want associate what code u will write) 2) How will close n number of browser expect only one which is has to test? ( First tell me how will you identify how many browser are opened ) what logic u will use? 3) In web Table u want to click on link ( Link Name Mohamed ) you dont know in which row and column that link is there. how wil u identify and click on that link.
How to load the object repository at run time?
Can the user toggle between using Local OR and shared OR for the same action?
There is an built in window application in qtp9.1,i.e.Flight4.0.i want to implement the recovery maneger on it.How can i do this?
Should have experience in framework means?
QTP Data Table Having 10 records with 10 to 15 fields(lets say).now i want to get alternative records from datatable.pls can any one answer it?
wht type of User defined functions or Java Releated functions Do we write in VB scripting
What are the Disadvantages of shared object repository?