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
Answer Posted / 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 View All Answers
What is XML Testing? Do we have any tools to test the XML? Please let me know.
what is independent question and what is retriewing and what is problem of severity.
What knowledge I must have as a 3 yrs. manual tester??
Can you explain regression testing and confirmation testing?
What are the properties of a good requirement?
What is an mr?
What is Pre UAT and UAT is there any difference ?
where can i learn domain knowledge? how cab i gain domain knowledge? what types of Questions can be asked in domain(BFSI)? PLZ REPLY ME
we are about to implement a Test tool to test the performance of website, so what script does a tester should know (friends plz help me)
What is a testbed in manual testing?
I know functional test cases are derived from frs and system design specs. But are test cases for performance, database, boundary, relational integrity and other types of tests other than functional tests created from frs and system design specs as well? When are these test cases created? Are they in the same test plans alongside functional test cases or is their a different test plan that includes these test cases?
1.what is a test condition ?
Define what is a critical bug.
There is an opening in our organization Sierra Atlantic, Hyderabad. All Manual test engineers with 2-3 years of experience can forward your resumes to mah_cs82@yahoo.com before May 01, 2008. (Only manual testers) with a covering letter, current CTC and Expected CTC.
When new application ready to test than whats your testing strategies?