Software Testing 1
Software Testing 1
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
A1)Regular expressions enable Quick Test to identify objects and text strings 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
A1)Pacing is also like a wait but it is used to time count between two iterartion.
Q6)What is ORD parameter?
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
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:
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 ?
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
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?
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
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?
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.
A1)to get the property value from the apllication during run time
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?
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?
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?
A2)QTP is the best tool in present market which supports n number of environments
A3)QTP is better.
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?
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.
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?