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
How do you estimate white box testing?
how is market for testing in banglore,chennai,pune,delhi?
what are the test bugs
What will be the QA roles and responsibilities in Health care stream like BCBS,can someone please explain me any example project regarding health care services in web-based application?
Differentiate verification and validation?
In a systen design to work out the tax to be paid: An employee has Rs 4000 of salary tax free. the next Rs 1500 is taxed at 10% , the next Rs 28000 is taxed at 22% , any further amount is taxed at 40% , the nearest whole Rs, which of these is a valid boundary value analysis test case ???? a)Rs 1500 b)Rs 32001 c)Rs 33501 d) Rs 28000.
i heard that mainframe testing is diff from other environments & has lot of keyboard input????pl clarify my doubt & let me know in what way its diff??
About Hierarchy level in your company.
What are the standard you follow in your company to prepare test plan document? Content is same in every standard or not. Also is there any document to read about the testing standards? Thanks in advance for giving me the answer.
How to test an application if it was already developed and it is in the state of changing the functionality according to the customer requirement How to start testing in this situation. I got an application to test.It is a desktop application.It is still developing and started 8 months back.how can i start to test this application? Is it the right way to test it in "Random testing"? or writing the testcases from page one and executing them.i have an another responsibility that is I have to automate that application. can anyone tell me what is the process to test this application.
What are the two main categories of software testing?
tell me 5 new requirements in ur project? plz urgent
How did you do unit testing in your project?
Hi friends I am kranti completed my IT diploma in 2005 & after that complete my software testing course. Now I am working in small software form as software tester. I have 2 + year experience in manual testing. Now I wan to change company. Plz told me is there any effect that I can not have any degree although I have 2 + experience ?
Tell me agile process in your company