i need the brief explanations fo following question.

# 1 1. type of action, 2. smart identification, 3. check
points,
4. script to invoke web browser, 5. wot is get ro & getto
property, 6. can you set a value in runtime, 7. wot is the
use of bitmap checkpoint, 8. diff between dim & redim,
9. wot is function & Sub procedure,10. how u declare
constant value. 11. wot is output value , 12. virtual
object, 13. write script to retrieve data from the DB, 13.
Types of frame works explain them brieflly




i need the brief explanations fo following question. # 1 1. type of action, 2. smart identificati..

Answer / sadna

Hi I hope the following answer might help:

1) Types of Actions?
ans = There are three kinds of actions:

Non-reusable action: an action that can be called only in
the test with which it is stored, and can be called only
once.
Reusable action: an action that can be called multiple
times by the test with which it is stored (the local test),
as well as by other tests.
External action: a reusable action stored with another
test. External actions are read-only in the calling test,
but you can choose to use a local, editable copy of the
Data Table information for the external action.

2)Smart Identification?
ans = Smart identification comes into picture when Normal
identification fails to identify an object. The Smart
Identification mechanism uses two types of properties:

Base Filter Properties: creates a candidate list to
identify an object
Optional Filter Properties: filters the candidate lists
prepared.

3) checkpoints?
ans = There are 11 checkpoints in QTP:
1)Standard Checkpoint: checks the property value of an
object in your application or Web page.
2)Image Checkpoint: checks the value of an image in your
application or Web page.
3)Bitmap Checkpoint: checks an area of your Web page or
application as a bitmap.
4)Table Checkpoint: checks information within a table.
5)Text Checkpoint: checks that a text string is displayed
in the appropriate place on a Web page or application.
6)Text Area Checkpoint: checks that a text string is
displayed within a defined area in a Windows application,
according to specified criteria.
7)Accessibility Checkpoint: identifies areas of your Web
site that may not conform to the World Wide Web Consortium
(W3C) Web Content Accessibility Guidelines.
8)Page Checkpoint: checks the characteristics of a Web page.
9)Database Checkpoint: checks the contents of a database
accessed by your application.
10)XML Checkpoint (from application):checks the data
content of XML documents in XML files or XML documents in
Web pages and frames.
11) XML Checkpoint (from resource): does the same but it is
used when we have the file or application stored/ saved on
our system.

4) script to invoke web browser?
ans = SystemUtil.Run "iexplore", "http://google.com"

5) what is GetToProperty & GetROProperty?
ans= GetToProperty: Returns the collection of properties
and values used to identify the object.


GetROProperty: Returns the current value of the test object
property from the object in the application.

6. can you set a value in runtime?
ans= yes values can be set to be used at run-time using
Datatable.

7.wot is the use of bitmap checkpoint?
ans = Bitmap Checkpoint: checks an area of your Web page or
application as a bitmap.

8. diff between dim & redim?
ans = Dim: Variables declared with Dim at the script level
are available to all procedures within the script. At the
procedure level, variables are available only within the
procedure.

Redim: The ReDim statement is used to size or resize a
dynamic array that has already been formally declared using
a Private, Public, or Dim statement with empty parentheses
(without dimension subscripts). You can use the ReDim
statement repeatedly to change the number of elements and
dimensions in an array.

9. wot is function & Sub procedure?
ans = A Function procedure is a series of VBScript
statements enclosed by the Function and End Function
statements. A Function procedure is similar to a Sub
procedure, but can also return a value.

A Sub procedure is a series of VBScript statements
(enclosed by Sub and End Sub statements) that perform
actions but don't return a value.

10. how u declare constant value?
ans = You can define a value as a constant or a parameter
in several ways:

1)In the Value Configuration Options dialog box, you can
click the parameterization button for a selected value,
for example, in the Keyword View, Step Generator, or Object
Repository window.
2)In the Configure value area of a dialog box, you can
select a property or argument, for example, in the
Checkpoint Properties dialog box.

11. wot is output value?
ans = An output value is a step in which one or more values
are captured at a specific point in your test and stored
for the duration of the run session. The values can later
be used as input at a different point in the run session.

12. virtual object?
ans= The objects which are unseened by the tool are known
as Virtual Objects. they are recognised by its x,y,width
and height properties. to handle virtual objects in QTP we
have the virtual object wizard.

13. write script to retrieve data from the DB?
ans = 'Read from database

Set db = createObject("ADODB.Connection")
db.open=("DSN=bookstore") 'can give any web application name

If db.state = 1 Then
msgbox(" connected")
else
msgbox("Connection failed")
exittest
End If

Set rs = db.execute("select * from items")
fc = rs.Fields.count

While not rs.EOF
rdata = " "
For i = 0 to fc-1
rdata = rdata&vbtab&rs.fields(i).value
Next
print(rdata)
rs.movenext
Wend

Set fso = nothing
Set rs = nothing

13.Types of frame works explain them brieflly?
ans = Various framework in the market are:

1)KEYWORD DRIVEN: dont require any scripting language.
Create and excel file, store all the data.Add to the
KeywordEngine which inturn read and understand the excel
file and writes the script.

2)DATA DRIVEN: Running the test script with different Data
inputs. in QTP we have parameterization for this purpose.

3) HYBRID: it is a combination of the keyword driven and
data driven framework.

If u require any more info then mail me - sadna12@gmail.com

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Manual Testing Interview Questions

What is difference between static and dynamic and testing?

3 Answers   Ordain Solutions,


what is the diff b/w local and global variable?

1 Answers   Verifone,


Factors effecting Testing of Web Applications?

1 Answers   Crea,


should we include risk in Test Plan

5 Answers   iSoft, Mascon, Nigerian Ports Authority,


What is the actuall process of Smoke and Sanity Testing in companies

3 Answers  






what is ECP?

4 Answers  


what is integration testing technique(like topdown,bottomup and hybrid)explain me friends

2 Answers  


How can a LOG for testcases be maitained which can give information about a TestCase that is it new one or has been occured in previous versions of the software.

0 Answers  


wat is another name of retesting can we callit a retesting also

6 Answers  


We r developing one Web Site for construction company. In that Web site we have different option like About Us,Contact Us,Home,Sites,Site Map,Search Etc........ and front page of that web application contains 6 different pictures means single page contain 6 pics etc... write Test plan ,Test Scenarios,Test Case ....Plz answer this question ASAP

5 Answers  


How do you survive chaos?

1 Answers  


on what basis do the tester asssign severity

7 Answers   CMC,


Categories