0% found this document useful (0 votes)
75 views8 pages

Software Testing 1

The document discusses various questions and answers related to QuickTest Professional (QTP). Some key points discussed include: - Virtual objects in QTP are used when standard objects are not recognized, such as in unsupported environments. They allow defining an area as a non-standard object. - Alfa testing is done by developers in a controlled environment, while beta testing is done by end users at the client site. - Regular expressions in QTP allow identifying objects and text strings with varying values, and are used when object values change dynamically. - Reusable actions in QTP can be called from other tests, making their scope global. They enable reusing code sections across different tests.

Uploaded by

junaroopesh
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
75 views8 pages

Software Testing 1

The document discusses various questions and answers related to QuickTest Professional (QTP). Some key points discussed include: - Virtual objects in QTP are used when standard objects are not recognized, such as in unsupported environments. They allow defining an area as a non-standard object. - Alfa testing is done by developers in a controlled environment, while beta testing is done by end users at the client site. - Regular expressions in QTP allow identifying objects and text strings with varying values, and are used when object values change dynamically. - Reusable actions in QTP can be called from other tests, making their scope global. They enable reusing code sections across different tests.

Uploaded by

junaroopesh
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Q1)Define virtual object in QTP?

 
A1)Sometimes QTP do not recognize objects in the application, which is developed in unsupported
environment, then we are making the QTP to identify that object in the application.

A2)Some times QTP not able to recognize object even using smart identification. that time we are
creating virtual object and using that objects for identify objects.

A3)Sometimes QTP do not recognize objects in the application, which is developed in unsupported
environment, then we are making the QTP to identify that object in the application

A4)When QTP fails to identify an object in the application, virtual objects are used. It is a feature
provided by QTP where we can define an area that is a nonstandard object in the application
class and methods can be applied.
Q2)What is alfa testing and beta testing in qtp? 
A1)alfa testing done in the developer controlled environment and beta testing is done by
end user

A2)alfa testing is done developers and beta testing is done client site


Q3)What is regular expression in QTP? 

 A1)Regular expressions enable Quick Test to identify objects and text strings with varying
values.

You can use regular expressions when defining the 


properties of an object, the methods of an argument, when parameterizing a step, and
when creating checkpoints with varying values.

A regular expression is a string that specifies a complex search phrase. By using special
characters such as a period (.), asterisk (*), caret (^), and brackets ([ ]), you define the
conditions of the search.

we can write the user defined in a notepad and save the file as .vbs and we then associate
that to Test-Settings-Resources-Associate Library Files by clicking plus and select the .vbs
file. In the script we can call the function with function name ().

Regular expressions are used when the objects value is dynamically changed. 
for example: In flight reservation window we record the script for open order, and to send
the opened order as fax. in this condition the open order value is not the same for all, we
give different values, here we use regular expression, here we are saying what ever the
value may be if it is open order" " then execute it.
Q4)What is reusable action in qtp? 

A1)To call an action from other tests we must make it as reusable so that scope becomes
global and can be called from any test.A REUSABLE action can be called and executed but
not edited in the current test.

A2)Reusable action is using for reuse same set of statements in another action when ever
required.

A3)While creating action we have to select option as 'Reusable', then only this action can
use for other normal action in QTP.

A4)In a test there will be some action if any action in a test is useful in another test then
we are going to use that action as re-usable action then we going to that action in 
another test.

NOTE :We can use a action of one test in another test if that action is change into re-
usable action

A5)In a test there will be some action if any action in a test is useful in another test then
we are going to use that action as re-usable action then we going to that action in 
another test

A6)there are 3 type of actions in qtp.


1.normal actions
2.reusable actions
3.external actions

reusable actions enables to usable ofseveral times in different tests.


this reusable actions are in other test is called external actions.we cant modify these
external actions 
here.

Q5)What is pacing time in Load runner? 

A1)Pacing is also like a wait but it is used to time count between two iterartion.
Q6)What is ORD parameter? 

Q7)How can you do the manual correlation in load runner? 

Q8)Discuss QTP Environment. 

A1)QuickTest Pro environment using the graphical interface and ActiveScreen technologies
- A testing process for creating test scripts, relating manual test requirements to
automated verification features - Data driving to use several sets of data using one test
script.

QuickTest Pro environment using the graphical interface and ActiveScreen technologies -
A testing process for creating test scripts, relating manual test requirements to automated
verification features - Data driving to use several sets of data using one test script.
Q9)What is think time in load runner? 

 A1)The time gap in between the users sending the request and geting the response
from the server is known as think time.

A2)The time game in between the users request to the server, and getting the response
from the server is known as think time.
A3)The amount of waiting time between the useractions is called "think time"
Q10)When we use update mode in qtp? 

Q11)Explain the terms Test Object Model, Test Object & Run-Time object?

A1)The test object model is a large set of object types or classes that QuickTest uses
to representthe objects in your application. Each test object class has a list of properties
that can uniquely identify objects of that class and a set of relevant methods that
QuickTest can record for it. A test object is an object that QuickTest creates in the test or
component to represent the actual object in your application. QuickTest
stores information about the object that will help it identify and check the object during
the run session. A run-time object is the actual object in your Web site orapplication on
which methods are performed during the run session.

The test object model is a large set of object types or classes that QuickTest uses
to representthe objects in your application. Each test object class has a list of properties
that can uniquely identify objects of that class and a set of relevant methods that
QuickTest can record for it. A test object is an object that QuickTest creates in the test or
component to represent the actual object in your application. QuickTest
stores information about the object that will help it identify and check the object during
the run session. A run-time object is the actual object in your Web site orapplication on
which methods are performed during the run session

Q12)How Does Run time data (Parameterization) is handled in QTP? 

A1)You can then enter test data into the Data Table, an integrated spreadsheet with the
full functionality of Excel, to manipulate data sets and create multiple test iterations,
without programming, to expand test case coverage. Data can be typed in or imported
from databases, spreadsheets, or text files.
Explain about the Test Fusion Report of QTP ?
Once a tester has run a test, a TestFusion report displays all aspects of the test run: a
high-level results overview, an expandable Tree View of the test specifying exactly
where application failures occurred, the test data used, application screen shots for every
step that highlight any discrepancies, and detailed explanations of each checkpoint pass
and failure. By combining TestFusion reports with QuickTest Professional, you
can share reports across an entire QA and development team. 
Q13)What?s the QTP testing process? 
Answers: 

QTP testing process consist of seven steps-


* Preparing to recoding
* Recording
* Enhancing your script
* Debugging
* Run
* Analyze
* Report Defects (more?) 
Q14)Give me an example where you have used a COM interface in your QTPproject? 

Q15)What r the types of flat files in QTP? 


Flat files in QTP are:
1. Notepad
2. Wordpad
3. excel sheet
Q16)What is connection pooling in Load runner? 

Q17)What is the use of systemutil.run?


how we can test the weblinks?
what is the difference between Qtp and winrunner?

A1)systemutil.run is used to invoke an application..


Q18)What are the objectives of performance testing in load runner? 

Q19)What is elapsed time? 

A1)The elapsed time is that time which is used by server to take or given response to the
client for hitting server by client ,throughput data from server and client site and response
and average time
Q20)I want to know about silk testing,how we will do and when we use that tool ? 

Q21)What is threshold time in load runner Can you explain? 

Q22)What is bottle neck? in LOad runner? 

A1)A bottleneck, in a communications context, is a point in the enterprise where the flow
of data is impaired or stopped entirely. Effectively, there isn't enough data handling
capacity to handle the current volume of traffic. A bottleneck can occur in the user
network or storage fabric or within servers where there is excessive contention for internal
server resources, such as CPU processing power, memory, or I/O (input/output). As a
result, data flow slows down to the speed of the slowest point in the data path. This slow
down affects application performance, especially fordatabases and other heavy
transactional applications, and can even cause some applications to crash.
Q23)What is meant by action why do we choose actions ? 
Q24)Describe some problem that you had with automating testing tool. 
Q25)What is correlation in load runner? 

A1) HTML pages often contain dynamic data,which is data that changes each time you
access
Q26)Explain in brief about the QTP Automation Object Model

Q27)Why QTP is called advanced keyword driven test? 

A1)ADV because it is the cluster of older versions.keyword driven means it's a architecture
which it is based.
Q28)What are different types of logs in load runner? 

A1) 3 Logs are there.


1.Recording Log
2. Generation Log
3. Reply Log
Q29)When i was doing the web testing with QTP in object selection the page and link
objects are not displaying.
With out displaying pages and links how can I test the pages and links object properties.

A1) go for descriptive testing


Q30)What is regular expression? 

Q31)What is the file extension of the code file & object repository file in QTP? 

A1).qfl is the extesion for code file and .tsr is the extension for object repository in QTP

Q32)How you can enhance your test? 

A1)There are variety of options to enhance your test: (1) You can add checkpoints to your
test. A checkpoint is a step in your test that compares the values of the specified property
during a test run with the values stored for the same test object property within the test.
This enables you to identify whether or not your Web site or application is functioning
correctly. (2) You can parameterize your test to replace fixed values with values from an
external source during your test run. The values can come from a Data Table, environment
variables you define, or values that QuickTest generates during the test run. (3)You can
retrieve values from your test and store them in the Data Table as output values. You can
subsequently use these values as an input parameter in your test. This enables you to use
data retrieved during a test in other parts of the test. (4) You can divide your test into
actions to streamline the testing process of your Web site or application. (5)You can use
special QuickTest options to enhance your test with programming statements. The Step
Generator guides you step-by-step through the process of adding recordable and non-
recordable methods to your test. You can also synchronize your test to ensure that
yourapplication is ready for QuickTest to perform the next step in your test, and you can
measure the amount of time it takes for your application to perform steps in a test by
defining and measuring transactions. (6)You can also manually enter standard VBScript
statements, as well as statements using QuickTest test objects and methods, in the Expert
View.
Q33)How many actions we can create within a test? 

A1)At maximum we can create 255 actions in a test, we use copy of action when we want
to modify the code of the called action,We use reusable actions when we want to use the
same code for many times.<br>
Q34)What is check point? 

A1)A checkpoint checks specific values or characteristics of a page, object, or text string
and enables you to identify whether or not your Web site or application is functioning
correctly. A checkpoint compares the value of an element captured in your test when you
recorded your test, with the value of the same element captured during the test run.
Q35)How do you plan test automation? 

Q36)Does automation replace manual testing?

Q37)Can Anyone explain me this line of code?

static lib_path = getvar("testname") & "\..\flt_lib"; 

Q38)How the server recognizes if the session fails after loading 100


recorders into the target ?

Q39)Where and when we do choose shared repository in qtp ? 

Q40)Why do we chose actions in QTP? 

 A1)Actions are used to make automation of the test cases very easy


A2)Actions are helpful in re-usability.
Q41)What is the use of "Unique" option in the parameterization of the loadRunner script 

Q42)What automating testing tools are you familiar with? 


Q43)Write some details on AHEAD testing tool? 

Q44)What are the baseline documents for the performance testing? in load runner? 

 Q45)What is virtual object in qtp? for what purpose will it be used ? 

Q46)I am working in Loadrunner trial version software.How do you loacte the Web server
monitors,aplication server monitors,database server monitors? 

A1)If you want to add web server or application and database monitors in the load runner.
go to online monitors in the controller and select windows resource graph and right click
on the monitor select add measurments.Now you get one window there you can add all
monitors by giving ip address of that servers.

Q47)What is get RO peoperty? 

A1)to get the property value from the apllication during run time

Q48)please send me winrunner and qtp scripts for healthcare and phishing domain ? 

Q49)Can u explain me the ATP life cycle. 

Q50)What is debug viewer pane ? 

Q51)What is the difference between HTML and URL recording? 

A1)HTML - hyper text markup language its a programing language where as url is uniform
resource locater which will directs to particular location based on the path.
Q52)What are the objects of actions? 

Q53)What is the difference between properties and methods? 

Q54)What is frame work ? 

A1)We can do entire qtp tool to automated it will open tool and run the scripts and keep
the result files one folder.
Q55)Can test automation improve test effectiveness? 
Q56)Which automated testing tools is used for SAP R3 ABAP? 

Q57)What is memory leakage and how can we find out in load runner? 

Q58)Is properties of an object changes during execution? 

A1)yes object properties canges during execution 

for exp:- html id


Q59)What is virtual object in qtp? 

Q60)What is data table method in qtp? 

Q61)What is frame work in qtp ? 

A1)a document that defines controlling and monitoring mechanisms for a specific test
Q62)How did you use automating testing tools in your job? 
Q63)How you will evaluate the tool for test automation? 
Q64)How will you choose a tool for test automation? 
Q65)What is Batch testing in QTP? 
Q66)What are the main attributes of test automation? 
Q67)What is recovery scenario Manager? 
Q68)What are the properties you would use for identifying a browser & page when using
descriptive programming ? 
A1)Browser= name
Page = Title
 Q69)What is the difference between test object and run tme object? 

 A1)test objects:all the reference objects for the original objects stored in object
repository.
runtime objects:all the original objects present in the application.
Q70)What are the different scripting languages you could use when working with QTP ? 
Q71)Which is the best tool one should learn i.e the tool having demand in the market? 

A1)QTP.QTP Is the best automation tool

A2)QTP is the best tool in present market which supports n number of environments

 A3)QTP is better.

 A4)QTP is best tool.

A5)QTP Best tool,Because time save, No of Environment are suport.


Q72)What is data table method in qtp ? 

A1)Datatable Object and related Functions: Basic use of Datatable object is to create an
object for adding, deleting, updating data of an excel sheet used. Main functions of the
datatable object:
Q73)When and where do choose shared repository in qtp? 

Q74)What is key word driven framework in qtp? 

A1)QTP has two views:

1.Keyword view

2. expert view

in keyword view one can see the object ,the operation performed on it and it's value

In keyword driven testing you use the recorded object to generate operations on it.

i mean you select a object and press f7 or right click the mouse and select insert step
menu.that way you can generate code without having to generate it manually.

This is called keyword driven testing.Each object visible can be thaught of as keyword
DataDriven testing:

Datadrivent testing means testing the same functionality of application with different set
of data to check whether it works on all kind of data.

For this case you parameterize a step in qtp,put alll the data values in datatable and run
the script for number of iterations equal to number of rows in datatable.
Q75)What are the three aspects of GUI software to test with win runner? 

 A1)Create GUI map and Test csripts<br>2.Debug and Run the defects<br>3.view and
report the Results.

 A2)you can check Screen Area, Bitmap on the screen, Object properties such as a button
is enabled or disabled, then there are Database checkpoints.

A3)single property<br>window/object property<br>multiple property


Q76)How many actions we can create within a test? 

A1)There is no limit, we can create any number of actions within a test.

A2)Within a test we can create only 255 actions, because we can add only 255 sheets to
the excel file from where we are importing the data to the action1 sheet. So there is a
limit in creating actions within a test
Q77)What is recovery scenarios in qtp? 
Q78)Can test automation improve test effectiveness? 
Q79)Define two logs standard log and extended log in load runner? 

Q80)What is a difference between propetty and a method in qtp ? 

Q81)What type of testing is done in the bar code generation? 

You might also like