all%2520dumps
DESCRIPTION
ddfgdfdfdfTRANSCRIPT
All Dumps
All DumpsQuestion1 of 25
A test cannot be associated with multiple defects in QC
a) True
b) False
Ans - b
----------------------------------------------------------------------------------------------------------------------------------------------
Question2 of 25
When a defect is repaired, its status is fixed.
a) True
b) False
Ans - a
----------------------------------------------------------------------------------------------------------------------------------------------
Question3 of 25
Main Function of Requirement module is to share Common vision for requirements management
a) True
b) False
ans - a
----------------------------------------------------------------------------------------------------------------------------------------------
Question4 of 25
The requirements Grid view enables you to display requirements in a ________ View
a) Flat
b) Hierarchical
c) Flat-hierarchical
d) Flat non-hierarchical
ans - d
----------------------------------------------------------------------------------------------------------------------------------------------
Question5 of 25
In the Requirement module, you create ________ By selecting test to link to a requirement.
a) RTM
b) Requirement coverage
c) Test coverage
d) SRS
ans - c
----------------------------------------------------------------------------------------------------------------------------------------------
Question6 of 25
In the test plan tree you can define the filter for associated test sets as 'Open'. This ensures that only tests that belong to an open test set are displayed.
a) Double
b) Twice
c) Cross
d) Multiple
Ans - c
----------------------------------------------------------------------------------------------------------------------------------------------
Question7 of 25
What are the views available in test plan module
a) Test Grid, Test Plan Tree
b) Test Plan Tree, Test Grid, Test Plan Details
c) Test Plan Details, Test Plan Tree
d) Test Grid, Test Plan Details
Ans - a
----------------------------------------------------------------------------------------------------------------------------------------------
Question8 of 25
What Forms the Basis for Test Plan Tree
a) Test cases
b) Requirements
c) Test sets
d) Test Plan
Ans - b
----------------------------------------------------------------------------------------------------------------------------------------------
Question9 of 25
The Primary Data Sets used during Test Data Preparation are Valid Data Set, Invalid Data Set, Blank or Default Data Set and Boundary Condition Data Set. True or False? a) True
b) FALSE
Ans -a
----------------------------------------------------------------------------------------------------------------------------------------------
Question10 of 25
Omitting the where clause from a DELETE statement has which of the following effects?
a) The delete statement will fail because there are no records to delete
b) The delete statement will prompt the user to enter criteria for the deletion
c) The delete statement will fail because of syntax error
d) The delete statement will remove all records from the table
Ans - d
----------------------------------------------------------------------------------------------------------------------------------------------
Question11 of 25
User RAMA would like to insert a row into the EMPLOYEE table, which has three columns: EMPID, LASTNAME and SALARY. The user would like to enter data for EMPID 1000, LASTNAME MIRZA but no salary. Which statement would work Best?
a) insert into EMPLOYEE values (1000, 'MIRZA',NULL);
b) insert into EMPLOYEE values (1000,'MIRZA);
c) insert into EMPLOYEE (EMPID,LASTNAME, SALARY) values (1000,'MIRZA');
d) insert into EMPLOYEE (select 1000 from 'MIRZA');
ans - a
----------------------------------------------------------------------------------------------------------------------------------------------
Question12 of 25
Effect of running a set of transactions should be the same, as if they are run independently is defined by
a) Consistency
b) Isolation
c) Durability
d) Atomicity
ans -a
----------------------------------------------------------------------------------------------------------------------------------------------
Question13 of 25
What is the output of thr below SQL,
select to_char( sysdate,'DY') from dual
a) Month value from the sysdate
b) Complete sysdate in mm/dd/yyyy format
c) Year value from the sysdate
d) DAY of the week from sysdate
Ans - d
----------------------------------------------------------------------------------------------------------------------------------------------
Question14 of 25
What is the output of the below SQL
select REPLACE('ball','l','a') from dual
a) baal
b) baaa
c) blll
d) alll
Ans - b
----------------------------------------------------------------------------------------------------------------------------------------------
Question15 of 25
Which of the following SQL function will be used to remove the decimal places from a number
a) TRUNC
b) TRIM ( used to remove spaces)
c) PAD
d) A & B
Ans - a
----------------------------------------------------------------------------------------------------------------------------------------------
Question16 of 25
Which of the following is a server side language?
a) Perl
b) TSL
c) VB
d) Java
ans - a
----------------------------------------------------------------------------------------------------------------------------------------------
Question17 of 25
Functionality Testing tools verifies the _____
a) Code coverage
b) Parameterization
c) Code complexity
d) Specification
Ans - d
----------------------------------------------------------------------------------------------------------------------------------------------
Question18 of 25
Batch Testing in the Functionality testing tools is used to ___
a) Execute single test
b) parameterize
c) execute group of test scripts.
d) handle errors
ans - c
----------------------------------------------------------------------------------------------------------------------------------------------
Question19 of 25
Which one of the following is false about tools?
a) Testing tools are useful for speeding up all types of testing activities
b) Debugging tool is used to try to find a particular defect
c) Coverage measurement tools are most often used in component testing
d) Performance testing tools are more often used as system testing, system integration testing and acceptance testing
Ans - a
----------------------------------------------------------------------------------------------------------------------------------------------
Question20 of 25
Which of the following is not tracked by an incident management tool?
a)Assigning actions to people (fix, confirmation to test, etc.)
b)Monitoring Status (e.g. open, rejected, closed, etc.)
c) Capturing the circumstances that led to the incident
d) Capturing the behavior that will prevent the incident from happening
Ans -d
----------------------------------------------------------------------------------------------------------------------------------------------
Question21 of 25
A = Array(10,20,30), A(2) value is
a) 10
b) 20
c) 30
ans - c
----------------------------------------------------------------------------------------------------------------------------------------------
Question22 of 25
ExitGlobalIteration teriminates the entire run of the test
a) True
b) False
Ans - b ( not sure )
----------------------------------------------------------------------------------------------------------------------------------------------
Question23 of 25
Key Elements considered for framework design
a) Application Under Test
b) Modularity
c) Test cases
d) All of the above
ans - d
----------------------------------------------------------------------------------------------------------------------------------------------
Question24 of 25
Len("VBSCRIPT") returns a) 7
b) 8
c) 9
d) 0
ans - 8
----------------------------------------------------------------------------------------------------------------------------------------------
Question25 of 25
LoadPicture function retruns the picture object
a) True
b) False
Ans - a
----------------------------------------------------------------------------------------------------------------------------------------------
Question1 of 25
You can filter quality center data to display only those records that meet the criteria that you define.
a) True
b) False
Ans - a
--------------------------------------------------------------------------------------------------------------------------
Question2 of 25
Which of the operations can be done from Requirement Module
a) Add test coverage for the requirement
b) Add defect links for the requirement.
c) Add New Child Requirement to the requirement tree.
d) All the above
ans - d
--------------------------------------------------------------------------------------------------------------------------
Question3 of 25
Priority of the Requirement cannot be changed in QC
a) True
b) False
ans - b
--------------------------------------------------------------------------------------------------------------------------
Question4 of 25
You can also import requirements to your Quality Center project from Microsoft word, Excel, or their third party requirement management tools. To import requirement, you must first install the appropriate..
a) HP Third Party add-in
b) HP Quality Center add-in
c) HP Quality Center
d) HP Quality Center License
Ans - b
--------------------------------------------------------------------------------------------------------------------------
Question5 of 25
user can change password from
a) Test lab button
b) Tools menu
c) Filter button
d) Test Plan
Ans - b
--------------------------------------------------------------------------------------------------------------------------
Question6 of 25
What database can be used with QC 9.2?
a) Access and Sybase
b) Oracle and Paradox
c) SQLServer and Oracle
d) All of the above
Ans - c
--------------------------------------------------------------------------------------------------------------------------
Question7 of 25
You can assign multiple values to a parameter during a test run.
a) True
b) False
Ans b------------------------------------------------------------------------------------------------------------------------
Question8 of 25
Which of the item is not a part of "Developing a test plan" in QC.
a) Design Test Step
b) Design Tests
c) Automate Tests
d) Define Testing Policy settings
Ans - d -----------------------------------------------------------------------------------------------------------------
Question9 of 25
The Primary Data Sets used during Test Data Preparation are Valid Data Set, Invalid Data Set, Blank or Default Data Set and Boundary Condition Data Set. True or False? a) True
b) FALSE
Ans - a
--------------------------------------------------------------------------------------------------------------------------
Question10 of 25
What are different types of SQL statements available in Oracle?
a) Data Definition Language
b) Data Manipulation Language
c) Transaction Control Language
d) All of the above
Ans - d
--------------------------------------------------------------------------------------------------------------------------
Question11 of 25
Which of the following is not a Database component
a) Data
b) Storage space
c) Query
d) Laptop
ans - d
--------------------------------------------------------------------------------------------------------------------------
Question12 of 25
How would you rename a column heading in the output display of a query result
a) Use Column Alias in the select list
b) Rename the column in table using DDL
c) You cannot not rename a column heading
d) None of the above
Ans - a
--------------------------------------------------------------------------------------------------------------------------
Question13 of 25
Which type of join is the below statement?
"Joining two tables in such a way that query can also retrieve rows that do not have corresponding join values in the other table". a) Self Join
b) Inner Join
c) Equi Join
d) Outer Join
ans - d
--------------------------------------------------------------------------------------------------------------------------
Question14 of 25
The function COUNT returns : a) The number of items in a group
b) The (number of items 1) in a group
c) The (number of items non null items) in a group
d) None
ans - c ( http://www.techonthenet.com/sql/count.php )
--------------------------------------------------------------------------------------------------------------------------
Question15 of 25
Which of the following Operator is used to concatenate the Data using SQL
a) ||
b)
c) >
d) <
ans : a
--------------------------------------------------------------------------------------------------------------------------
Question16 of 25
Which of the following is a server side language?
a) Perl
b) TSL
c) VB
d) Java
ans - a
--------------------------------------------------------------------------------------------------------------------------
Question17 of 25
Which among the following are Classifications of software test tool?
a) Whitebox
b) Functionality
c) Test management tool
d) All of the above
ans -d
--------------------------------------------------------------------------------------------------------------------------
Question18 of 25
Which one of the following is false about tools?
a) Testing tools are useful for speeding up all types of testing activities
b) Debugging tool is used to try to find a particular defect
c) Coverage measurement tools are most often used in component testing
d) Performance testing tools are more often used as system testing, system integration testing and acceptance testing
ans - a
--------------------------------------------------------------------------------------------------------------------------
Question19 of 25
Which of the following is not tracked by an incident management tool?
a)Assigning actions to people (fix, confirmation to test, etc.)
b)Monitoring Status (e.g. open, rejected, closed, etc.)
c) Capturing the circumstances that led to the incident
d) Capturing the behavior that will prevent the incident from happening
Ans -d
--------------------------------------------------------------------------------------------------------------------------
Question20 of 25
Incident Management is taken care by
a) Incident Management Tool
b) Test Management Tool
c) Both of the Above
d) None of the Above
ans - a
--------------------------------------------------------------------------------------------------------------------------
Question21 of 25
$ symbol in regular expression describes
a) Beginnning of input
b) End Of Input
c) None Of the above
ans - c
--------------------------------------------------------------------------------------------------------------------------
Question22 of 25
Erase Statement takes the below argument
a) Number
b) Array
c) None of the above
ans - b
--------------------------------------------------------------------------------------------------------------------------
Question23 of 25
Function procedure returns a value
a) True
b) False
Ans - a
--------------------------------------------------------------------------------------------------------------------------
Question24 of 25
Rnd Function returns the
a) Round number
b) Random number
c) None of the above
ans - b
--------------------------------------------------------------------------------------------------------------------------
Question25 of 25
Statement that executes one or more specified statements in the global namespace of a script
a) Execute
b) ExecuteGlobal
c) Stat
d) Exec
Ans - b
--------------------------------------------------------------------------------------------------------------------------
1) It is an event that may or maynot happen:
a) constraints
b) Risk
c) Process
d) Product
Ans - b
--------------------------------------------------------------------------------------------------
Question
2 of 25
QC is also a defect tracking tool
a) True
b) False
Ans - a
------------------------------------------------------------------------------------------------------
3 of 25
Risk Management Resposes include
a) Risk Acceptance
b) Risk Mitigation
c) Risk Transfer
d) All of the above
ans -d
-----------------------------------------------------------------------------------------------------
4) Risk tab enables you to calculate and analyze risk associated with a
a) Release
b) Requirement
c) Test Plan
d) Test Lab
Ans - b
--------------------------------------------------------------------------------------------------
5) One test can be associated with multiple defects
a) True
b) False
ans - a
--------------------------------------------------------------------------------------------------
6)Through Which Module do you link test to requirement
a) Test Plan Module
b) Requirement Module
c) Test Lab module
d) None of the above
ans - a
--------------------------------------------------------------------------------------------------
7 of 25
What is a test set?
a) test set is a group of test designed to achieve specific testing goals
b) Collection of test steps
c) Organizing tests into Defects Module
d) Both a and C
ans - a
--------------------------------------------------------------------------------------------------
8)
In relation to a test plan module, You can add user-defined fields and change the label of any of the fields in the Test Grid
a) True
b) False
ans -a
--------------------------------------------------------------------------------------------------
Question
9 of 25
Which of the following can be used for Test Data Management?
Databases
XML
Excel
All of the above
ans d
--------------------------------------------------------------------------------------------------
10 of 25
User RAMA would like to insert a row into the EMPLOYEE table, which has three columns: EMPID, LASTNAME and SALARY. The user would like to enter data for EMPID 1000, LASTNAME MIRZA but no salary. Which statement would work Best?
a) insert into EMPLOYEE values (1000, 'MIRZA',NULL);
b) insert into EMPLOYEE values (1000,'MIRZA);
c) insert into EMPLOYEE (EMPID,LASTNAME, SALARY) values (1000,'MIRZA');
d) insert into EMPLOYEE (select 1000 from 'MIRZA');
ans - a
--------------------------------------------------------------------------------------------------
11 of 25
You are entering several dozen rows of data into the BANK_ACCT table. Which of the
following statements enables you to execute the same statement again and again, entering
different values for variables at statement runtime?
a) insert into BANK_ACCT (ACCTNO, NAME) VALUES (123456,'SMITH');
b) insert into BANK_ACCT (ACCTNO, NAME) VALUES (&VAR1, '&VAR2');
c) insert into BANK_ACCT (select ACCTNO, NAME from EMP_BANK_ACCTS);
d) insert into BANK_ACCT (ACCTNO, NAME) VALUES (VAR1, VAR2);
ans - b
--------------------------------------------------------------------------------------------------
12 of 25
What is the meaning of DBMS?
a) Data base manipulation system
b) Data base management system
c) Data base memory system
d) None of the above
Ans - b
--------------------------------------------------------------------------------------------------
13 of 25
RDBMS stands for
a) Relational Database Migration System
b) Relational Database Management Systems
c) Relational Data Backup and Migration System
d) None of the above
Ans - b
--------------------------------------------------------------------------------------------------
Question
14 of 25
Process of storing the data is ---------------database
a) Constructing
b) Manipulating
c) Updating
d) None of the above
Ans - c
--------------------------------------------------------------------------------------------------
15 of 25
Which of the following command is not a SQL command
a) Select
b) AND
c) Group by
d) None
ans - d
--------------------------------------------------------------------------------------------------
Question
16 of 25
Which among the following are Classifications of software test tool?
a) Whitebox
b) Functionality
c) Test management tool
d) All of the above
ans - d
--------------------------------------------------------------------------------------------------
17 of 25
Which one of the following is false about tools?
a) Testing tools are useful for speeding up all types of testing activities
b) Debugging tool is used to try to find a particular defect
c) Coverage measurement tools are most often used in component testing
d) Performance testing tools are more often used as system testing, system integration testing and acceptance testing
Ans - a
--------------------------------------------------------------------------------------------------
Question
18 of 25
Which of the following is not tracked by an incident management tool?
a) Assigning actions to people (fix, confirmation to test, etc.)
b) Monitoring Status (e.g. open, rejected, closed, etc.)
c) Capturing the circumstances that led to the incident
d) Capturing the behavior that will prevent the incident from happening
Ans - d
--------------------------------------------------------------------------------------------------
19 of 25
Which of the following is not taken care by a requirements management tool?
a) Linkage to Test Management Tool
b) Test Coverage and Code Coverage Information
c) Requirements Prioritizing
d) Requirement Related Defect Tracking
Ans - d
--------------------------------------------------------------------------------------------------
Question
20 of 25
Incident Management is taken care by
a) Incident Management Tool
b) Test Management Tool
c) Both of the Above
d) None of the Above
Ans - a
--------------------------------------------------------------------------------------------------
Question
21 of 25
$ symbol in regular expression describes
a) Beginnning of input
b) End Of Input
c) None Of the above
ans - c
--------------------------------------------------------------------------------------------------
Question
22 of 25
Randomize statement in vbscript intializes the random number generator
a) True
b) False
Ans - a
--------------------------------------------------------------------------------------------------
Question
23 of 25
Regular expression in W|Wipro matches which of the following
a) W
b) Wipro
c) Both a and b
d) None of the above
Ans - c
--------------------------------------------------------------------------------------------------
Question
24 of 25
Test library architecture framework requires the creation of
a) SQABasic Libraries
b) API's
c) DLL
d) All of the above
ans - d
--------------------------------------------------------------------------------------------------
25 of 25
With Statement in vbscript executed a seies of statements on a single object
a) True
b) False
ans - a
--------------------------------------------------------------------------------------------------
QTP Questions below
--------------------------------------------------------------------------------------------------
Question
1 of 25
Which one is the default data type of QTP
a) Integer
b) String
c) Variant
d) Double
Ans -b
--------------------------------------------------------------------------------------------------
Question
2 of 25
In VB Script functions, which one is false among the following
a) Variables must be declared before use
b) Variables may not be declared before use
c) Variables may be declared without data types
d) None
Ans - a
--------------------------------------------------------------------------------------------------
Question
3 of 25
Operator used for concatenation of two strings
a) &
b) $
c) and
d) *
Ans - a
--------------------------------------------------------------------------------------------------
Question
4 of 25
Expert View contains each step as a VBScript line. In object-based steps, the VBScript line defines the ------ hierarchy.
a) Action
b) Object
c) Test
d) Step
Ans - b
--------------------------------------------------------------------------------------------------------------
Question
5 of 25
You can specify the time (in milliseconds) QuickTest pauses between each step by modifying the ------- option in the Run tab of the Options dialog box (Tools > Options)
a) Delay step execution by
b) Delay every step execution by
c) Delay all steps execution by
d) Delay each step execution by
Ans - d
--------------------------------------------------------------------------------------------------
6 of 25
------- runs only the current line of the script. When the current line calls a method, the method is performed in its entirety, but is not displayed in the view.
a) Step Over
b) Step Out
c) Step Into
d) Step Till
Ans - a
--------------------------------------------------------------------------------------------------
Question
7 of 25
When creating a programmatic description for an ActiveX test object and the relevant run-time object is windowless, you must add the ------ property to the description and set its value to True.
a) WindowHandle
b) WindowLess
c) Winless
d) None
Ans - b
--------------------------------------------------------------------------------------------------
Question
8 of 25
How can you ensure that all variables must be declared within a script?
a) OptionDeclare
b) Declare Explicit
c) Option Explicit
d) Option Variable
ans - c
--------------------------------------------------------------------------------------------------
Question
9 of 25
In QTP11 there is a NEW function to load function libraries, what is it called?
a) ExecuteFile
b) LoadLibrary
c) ExecuteLibrary
d) LoadFunctionLibrary
ans - d
--------------------------------------------------------------------------------------------------
Question
10 of 25
You can use the Version History dialog box to ------
a) View version information about the currently open test
b) Retrieve an earlier version of the test
c) View an earlier version of the test
d) All the above
ans - d
--------------------------------------------------------------------------------------------------
11 of 25
The ------ tracking options enable you to track application performance counters during run session.
a) Local System Monitor
b) Global System Monitor
c) Local Sys Monitor
d) Global Sys Monitor
Ans -a
--------------------------------------------------------------------------------------------------
Question
12 of 25
When you finish performing the necessary operations, or you want to perform operations that require closing and restarting QuickTest (such as changing the set of loaded add-ins), use the ------ method.
a) Application.Exit
b) Application.End
c) Application.Close
d) Application.Quit
Ans- d
--------------------------------------------------------------------------------------------------
Question
13 of 25
To retrieve the current property value of the objects in your application during the run session.
a) GetVisibleText
b) GetROProperty
c) SetROProperty
d) GetTOProperty
Ans- b
--------------------------------------------------------------------------------------------------
Question
14 of 25
You can modify the properties of the temporary version of the object during the run session without affecting the permanent values in the object repository by adding a ------ statement.
a) SetROProperty
b) GetTOProperty
c) SetTOProperty
d) Both option 1 & option 3
Ans- c
--------------------------------------------------------------------------------------------------
Question
15 of 25
QuickTest uses a very similar process of elimination with its ------ mechanism to identify an object, even when they learned description is no longer accurate.
a) Elimination
b) Ordinal Identifier
c) Identification
d) Smart Identification
Ans -d
--------------------------------------------------------------------------------------------------
Question
16 of 25
The object used for sending information to the test results is
a) ReporterEvent
b) Reporter
c) Both option 1 & option 2
d) None of the above
Ans - b
--------------------------------------------------------------------------------------------------
Question
17 of 25
You can use ----- property to completely disable or enable reporting of steps
a) Enable
b) Disable
c) Filter
d) Enable-Disable
Ans - c
--------------------------------------------------------------------------------------------------
Question
18 of 25
To terminate an application that is not responding we use
a) SystemUtil.terminate
b) SystemUtil.Stop
c) SystemUtil.CloseProcessByName
d) SystemUtil.Quit
Ans- c
-----------------------------------------------------------------------------------------------------
Question19 of 25
....... parameters are especially useful for localization testing, when you want to test an application where the user interface strings change, depending on the selected language. a) Action
b) Environment
c) Test
d) Parent action
Ans - b
---------------------------------------------------------------------------------------------------------------
Question20 of 25
....... built-in environment variable that tells the OS which you are working.
a) OS
b) OS_Ver
c) OSVER
d) OSVersion
Ans - a
---------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------
22)
Integrating QuickTest with Quality Center enables you to store and access files in a Quality Center project, as well as use the________object to access the wide range of functionality provided in the Quality Center Open Test Architecture API.
a) QCUtility
b) QCCenterUtil
c) QCConnection
d) QCUtil
Ans - d
--------------------------------------------------------------------------------------------------------------------
Question
a) Presskeys
b) SendKeys
c) SendMethod
d) PressMethod
-----------------------------------------------------------------------------------------------------------------------
Which method is used in Wscript to display the message Hello only for 10 Seconds ?
a) Echo
b) PopUp
c) EchoforSec
d) Display
Ans- b
------------------------------------------------------------------------------------------
18 of 25
To terminate an application that is not responding we use
a) SystemUtil.terminate
b) SystemUtil.Stop
c) SystemUtil.CloseProcessByName
d) SystemUtil.Quit
ans - c
-----------------------------------------------------------------------------------------------------
19 of 25
The command used to connect with Database is
a) Createobject(connectivity name)
b) dbconnect(connectivity name)
c) open(connectivity name)
d) None of the above
Ans - a
--------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------
You can use ___________ property to completely disable or enable reporting of steps.
a) Enable
b) Disable
c) Filter
d) Enable-Disable
Ans - c
-----------------------------------------------------------------------------------------------------------------------------------------
Question
20 of 25
....... parameters are especially useful for localization testing, when you want to test an application where the user interface strings change, depending on the selected language.
a) Action
b) Environment
c) Test
d) Parent action
Ans - b
-------------------------------------------------------------------------------------------------------------------------------------------------------
Question1 of 25
Statement to return the value from the function
a) Return (return value)
b) Exit (Return value)
c) Function name = Return value
d) None
Ans - c ( not sure) or d (choose this)
------------------------------------------------------------------------------------------------------------------------------------------------------------
Question2 of 25
Select Case statement's end with
a) End case
b) Exit Case
c) End select
Ans - c
------------------------------------------------------------------------------------------------------------------------------------------------------------
Question3 of 25
How do you declare a constant?
a) Dim statement
b) Con statement
c) Constant statement.
d) Option explicit Statement
Ans - constant ( main correct ans is const but since it is not there, so this is the nearest or all the ans are wrong)
------------------------------------------------------------------------------------------------------------------------------------------------------------
Question4 of 25
Which one is true about Do statement
a) End with Loop while false
b) End with Until True
c) End with Wend
d) Both A and B.
Ans - d (not sure )
------------------------------------------------------------------------------------------------------------------------------------------------------------
Question5 of 25
When does a Do loop statements evaluate for continuation?
a) At the end of the loop
b) At the start of the loop
c) At the start or the end of the loop
d) Ths loop uses a counter variable
Ans - c
------------------------------------------------------------------------------------------------------------------------------------------------------------
Question6 of 25
In VB Script functions, which one is false among the following
a) Variables must be declared before use
b) Variables may not be declared before use
c) Variables may be declared without data types
d) None
ans -a
------------------------------------------------------------------------------------------------------------------------------------------------------------
Question7 of 25
Expert View contains each step as a VBScript line. In object-based steps, the VBScript line defines the ------ hierarchy.
a) Action
b) Object
c) Test
d) Step
Ans -b
------------------------------------------------------------------------------------------------------------------------------------------------------------
Question8 of 25
You can run in Maintenance Run Mode only when QuickTest is set to use the ------- run mode.
a) Maintenance
b) Low Level
c) Analog
d) Normal
Ans -d
------------------------------------------------------------------------------------------------------------------------------------------------------------
Question9 of 25
When you run a test in Maintenance Mode, the ------- opens for steps that failed because an object was not found in the application.
a) Maintenance Wizard
b) Maintenance Run Wizard
c) Maintenance Run Option
d) Maintenance Work Wizard
Ans -b
------------------------------------------------------------------------------------------------------------------------------------------------------------
Question10 of 25
A relative path is a path that is indicated relatively to a ------- location in the file system tree. a) previous
b) root
c) current
d) base
Ans - c
------------------------------------------------------------------------------------------------------------------------------------------------------------
Question11 of 25
You can use a ------- statement in your test to retrieve the complete path that QuickTest will use for a specified relative path based on the folders specified in the Folders tab.
a) PathFinder.Locale
b) PathFinder.Locate
c) Locale.PathFinder
d) Locate.PathFinder
Ans - b
------------------------------------------------------------------------------------------------------------------------------------------------------------
Question12 of 25
The ------ tracking options enable you to track application performance counters during run session.
a) Local System Monitor
b) Global System Monitor
c) Local Sys Monitor
d) Global Sys Monitor
Ans - a
------------------------------------------------------------------------------------------------------------------------------------------------------------
Question13 of 25
QuickTest uses a very similar process of elimination with its ------ mechanism to identify an object, even when they learned description is no longer accurate.
a) Elimination
b) Ordinal Identifier
c) Identification
d) Smart Identification
Ans -d
------------------------------------------------------------------------------------------------------------------------------------------------------------
Question14 of 25
All_______are automatically treated as regular expressions.
a) Programmatic Description
b) Window
c) WinObject
d) Collection
Ans - a
------------------------------------------------------------------------------------------------------------------------------------------------------------
Question15 of 25
You can retrieve property values from the run-time object during the run session by__________method
a) GetTOProperty
b) GetROProperty
c) GetProperty
d) GetMethod
ans - b
------------------------------------------------------------------------------------------------------------------------------------------------------------
Question16 of 25
If you do not want QuickTest to perform a step or checkpoint until an object in your application achieves a certain status, you should insert a________point to instruct QuickTest to pause the test until the object property achieves the value you specify.
a) Synchronization
b) Check
c) Smart Identification
d) All of the above
Ans - a
------------------------------------------------------------------------------------------------------------------------------------------------------------
Question17 of 25
The_________Method enables you to synchronize the test run based on a specific object property
a) WaitProperty
b) Wait
c) Sync
d) Exist
Ans - a
------------------------------------------------------------------------------------------------------------------------------------------------------------
Question18 of 25
The method used to get data from HTML Table is
a) GetData(Row,Col)
b) GetRowValue(Rowid,Colname)
c) GetCellData (Row,Col)
d) All the above
Ans - c
------------------------------------------------------------------------------------------------------------------------------------------------------------
Question19 of 25
....... parameters are especially useful for localization testing, when you want to test an application where the user interface strings change, depending on the selected language.
a) Action
b) Environment
c) Test
d) Parent action
Ans - b
------------------------------------------------------------------------------------------------------------------------------------------------------------
Question20 of 25
If the Global Data sheet contains no data and the Local Datasheet contains two rows of data, how
many times will the test iterate?
a) 1
b) 2
c) 3
d) 4
ans -a
------------------------------------------------------------------------------------------------------------------------------------------------------------
Question21 of 25
Which statement is correct to create a Dictionary Object?
a) CreateObject(Dictionary.Scripting)
b) CreateObject(Scripting.Dictionary)
c) CreateObject(Dictionary)
d) CreateObject(ScriptingDictionary)
ans - b
------------------------------------------------------------------------------------------------------------------------------------------------------------
Question22 of 25
Which method adds a new key/item pair to a Dictionary object.
a) Add
b) AddDictionary
c) Value
d) None of the above
ans - a
------------------------------------------------------------------------------------------------------------------------------------------------------------
Question23 of 25
Quality Center connection is a must for___________
a) Linear Scripting
b) Data Driven Framework
c) Hybrid Framework
d) HP BPT Framework
Ans - d
------------------------------------------------------------------------------------------------------------------------------------------------------------
Question24 of 25
Integrating QuickTest with Quality Center enables you to store and access files in a Quality Center project, as well as use the________object to access the wide range of functionality provided in the Quality Center Open Test Architecture API.
a) QCUtility
b) QCCenterUtil
c) QCConnection
d) QCUtil
Ans -d
------------------------------------------------------------------------------------------------------------------------------------------------------------
Question25 of 25
_______method is used to kill the process in Wscript Object.
a) Kill()
b) Terminate()
c) Close()
d) End()
Ans - none of the above answers are right becuase
correct ans is Quit [errorcode] - Terminates the script. If a numeric value is specified, it is returned as the process's exit codethis can be useful when running scripts from batch files.
can opt for option b and then report to UCF team ( note down the qn no )
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Question1 of 25
Which one is the default data type of QTP
a) Integer
b) String
c) Variant
d) Double
ans - b
---------------------------------------------------------------------------------------------------------------------------------
Question2 of 25
How do you declare a constant? a) Dim statement
b) Con statement
c) Constant statement.
d) Option explicit Statement
Ans - constant ( main correct ans is const but since it is not there, so this is the nearest or all the ans are wrong)
---------------------------------------------------------------------------------------------------------------------------------
Question3 of 25
Do statements always end with a) End while
b) End Do
c) Wend
d) Loop
Ans - d
---------------------------------------------------------------------------------------------------------------------------------
Question4 of 25
When does a Do loop statements evaluate for continuation? a) At the end of the loop
b) At the start of the loop
c) At the start or the end of the loop
d) Ths loop uses a counter variable
ans - c
---------------------------------------------------------------------------------------------------------------------------------
Question5 of 25
Operator used for concatenation of two strings
a) &
b) $
c) and
d) *
ans - a
---------------------------------------------------------------------------------------------------------------------------------
Question6 of 25
You cannot debug a file that is called using an ------- statement, or any of the functions contained in the file.
a) ExecuteFiles
b) Execute_File
c) Execute-File
d) ExecuteFile
Ans - d
---------------------------------------------------------------------------------------------------------------------------------
Question7 of 25
You can run in Maintenance Run Mode only when QuickTest is set to use the ------- run mode.
a) Maintenance
b) Low Level
c) Analog
d) Normal
ans -d
---------------------------------------------------------------------------------------------------------------------------------
Question8 of 25
A relative path is a path that is indicated relatively to a ------- location in the file system tree.
a) previous
b) root
c) current
d) base
Ans - c
---------------------------------------------------------------------------------------------------------------------------------
Question9 of 25
You can use a ------- statement in your test to retrieve the complete path that QuickTest will use for a specified relative path based on the folders specified in the Folders tab.
a) PathFinder.Locale
b) PathFinder.Locate
c) Locale.PathFinder
d) Locate.PathFinder
Ans - b
---------------------------------------------------------------------------------------------------------------------------------
Question10 of 25
The native property set for each run-time object is created and maintained by the --------
a) QuickTest
b) Object Creator
c) Microsoft
d) Adobe
Ans - b
---------------------------------------------------------------------------------------------------------------------------------
Question11 of 25
How can you ensure that all variables must be declared within a script?
a) OptionDeclare
b) Declare Explicit
c) Option Explicit
d) Option Variable
ans - c
---------------------------------------------------------------------------------------------------------------------------------
Question12 of 25
In QTP11 there is a NEW function to load function libraries, what is it called?
a) ExecuteFile
b) LoadLibrary
c) ExecuteLibrary
d) LoadFunctionLibrary
Ans - d
---------------------------------------------------------------------------------------------------------------------------------
Question13 of 25
When you finish performing the necessary operations, or you want to perform operations that require closing and restarting QuickTest (such as changing the set of loaded add-ins), use the ------ method. a) Application.Exit
b) Application.End
c) Application.Close
d) Application.Quit
ans - d
---------------------------------------------------------------------------------------------------------------------------------
Question14 of 25
The mechanism used to identify objects during run session is
a) Recovery Scenario
b) Smart Identification
c) Handling Object
d) Ordinal Identifier
ans - b
---------------------------------------------------------------------------------------------------------------------------------
Question15 of 25
To retrieve the current property value of the objects in your application during the run session.
a) GetVisibleText
b) GetROProperty
c) SetROProperty
d) GetTOProperty
Ans - b
---------------------------------------------------------------------------------------------------------------------------------
Question16 of 25
You can modify the properties of the temporary version of the object during the run session without affecting the permanent values in the object repository by adding a ------ statement.
a) SetROProperty
b) GetTOProperty
c) SetTOProperty
d) Both option 1 & option 3
Ans - c
---------------------------------------------------------------------------------------------------------------------------------
Question17 of 25
The object used for sending information to the test results is
a) ReporterEvent
b) Reporter
c) Both option 1 & option 2
d) None of the above
Ans - b
---------------------------------------------------------------------------------------------------------------------------------
Question18 of 25
There are two types of programmatic descriptions:
a) Static & Dynamic
b) Statement & Dynamic
c) Standard & Dynamic
d) Step & Dynamic
ans - a
---------------------------------------------------------------------------------------------------------------------------------
Question19 of 25
You can retrieve property values from the run-time object during the run session by__________method
a) GetTOProperty
b) GetROProperty
c) GetProperty
d) GetMethod
ans - b
---------------------------------------------------------------------------------------------------------------------------------
Question20 of 25
....... built-in environment variable that tells the OS which you are working. a) OS
b) OS_Ver
c) OSVER
d) OSVersion
Ans - a
---------------------------------------------------------------------------------------------------------------------------------
Question21 of 25
What are the two most commonly used ADO objects?
a) Fields
b) Execute
c) Connection, RecordSet
d) Open, ConnectionString
ans - c
---------------------------------------------------------------------------------------------------------------------------------
Question22 of 25
Which statement returns the total number of sheets in the run-time Data table
a) DataTable.GetSheetCount
b) DataTable.GetSheet
c) DataTable.RowCount
d) DataTable.SheetCount
Ans - a
---------------------------------------------------------------------------------------------------------------------------------
Question23 of 25
Quality Center connection is a must for___________
a) Linear Scripting
b) Data Driven Framework
c) Hybrid Framework
d) HP BPT Framework
Ans - d (not sure)
---------------------------------------------------------------------------------------------------------------------------------
Question24 of 25
When you run a QuickTest test or business process test from Quality Center, the QuickTest _______Opens on the QuickTest computer. The QuickTest_________determines how QuickTest behaves when a test is run by a remote application such as Quality Center.
a) Connection Agent
b) Server Agent
c) Remote Agent
d) Both A & B
Ans - c
---------------------------------------------------------------------------------------------------------------------------------
Question25 of 25
Which method is used in Wscript to display the message Hello only for 10 Seconds ?
a) Echo
b) PopUp
c) EchoforSec
d) Display
Ans - b
------------------------------------------------------------------------------------------------------------------------------------
Wipro Mock Exams
------------------------------------------------------------------------------------------------------------------------------------
Answer Report
Question 1:
A ------------ clause allows you to filter out any unwanted data so that the data you do get is exactly what you are looking for
Option Available
SELECT
WHERE
FROM
INSERT
Your selected option : WHERE
--------------------------------------------------------------------------------------------------------------------------------------------------
Question 2:
You are cleaning information out of an Oracle database. Which of the following statements
will get rid of all views that use a table at the same time you eliminate the table from the
Option Available
alter table drop constraint
Drop View
Drop Index
Alter Table
Your selected option : Drop View
---------------------------------------------------------------------------------------------------------------------------------------------------
Question 3:
what will be the output of the select substr("ABCDEFG",1,2) FROM DUAL;
Option Available
AB
BC
CD
DE
Your selected option : AB
----------------------------------------------------------------------------------------------------------------------------------------------------
Question 4:
What are the methods in which a column can be aliased in the Select statement
Option Available
By using AS keyword
By using Double Quotation Marks
By giving a name next to the Column name in the Select clause
All of the above
Your selected option : All of the above
----------------------------------------------------------------------------------------------------------------------------------------------------
Question 5:
What is the output of the below SQL
select ROUND(2.7,0) FROM DUAL;
Option Available
2
3
2.8
0.7
Your selected option : 3
Question 6:
What is the output of the below SQL
select MOD(27,2) from dua
Option Available
1
2
3
4Your selected option : 1
Question 7:
Which of the following statements will convert '02-Jan-2008' to a date
Option Available
SELECT '02-Jan-2008' from DUAL
SELECT TO_DATE('02-Jan-2008','DD-Mon-YYYY') FROM DUAL
SELECT TO_DATE('02-Jan-2008') from DUAL
None of the aboveYour selected option : SELECT TO_DATE('02-Jan-2008','DD-Mon-YYYY') FROM DUAL
Question 8:
In order to perform an inner join, which criteria must be true
Option Available
The common columns in the join do not need to have shared values
The tables in the join need to have common columns
The common columns in the join may or may not have shared values
The common columns in the join must have shared values\
Your selected option : The common columns in the join must have shared values
Question 9:
Which SQL statement is used to extract data from a database?
Option Available
Get
Open
Select
ExtractYour selected option : Select
Question 10:
WAL protocol guarantees
Option Available
Consistency
Isolation
Locking
Atomicity
Your selected option : Atomicity
Question 11:
What is the use of having a RDBMS system?
Option Available
It lets the user to put data in it
It stores the data
Lets the user to get data and work on it
All of the above
Your selected option : All of the above
Question 12:
The ---------section is used to manipulate the data such as querying it
Option Available
DML
DDL
DSL
DLD
Your selected option : DML
Question 13:
EMPLOYEES:
EM_ID
EMP_F_NAME
EMP_L_NAME
EMP_HIRE_DATE
EMP_CONTACT
Which of the following INSERT statements will create a new record?
Option Available
Insert into employee (emp_id, emp_f_name, emp_l_name, emp_contact, emp_hire_date) value ( 7,'JOHN', 'GREG','01-Jan-1988','08022002020')
Insert into employee (emp_id, emp_f_name, emp_l_name, emp_contact, emp_hire_date) values ( 7,'JOHN', 'GREG','01-Jan-1988','08022002020')
Insert into employee values ( 7,'JOHN', 'GREG','08022002020')
Insert into employee values ( 7,'JOHN', 'GREG','08022002020','01-Jan-1988')Your selected option : Insert into employee values ( 7,'JOHN', 'GREG','08022002020','01-Jan-1988')
Question 14:
The DEPARTMENTID column of EMPLOYEES table references DEPARTMENTID column of DEPARTMENTS table. Both tables have data.
What will be the result of the following sql ?
Delete from departments;
Option Available
All records from the Departments table will be deleted.
The statement will fail because Employee table contains data
The statement will fail because no columns are specified
All records from DEPARTEMENTS and EMPLOYEES table will be deleted
Your selected option : The statement will fail because Employee table contains data
Question 15:
To convert a requirement to a test
Option Available
Select an automatic method for conversion
Make changes to the automatic conversion
Select the destination subject path for tests
All of the above
Your selected option : All of the above
Question 16:
Test plan tree consists
Option Available
Manual Tests
Automated Tests
Both
None
Your selected option : Both
Question 17:
Risks are associated in
Option Available
Databases
Third Party tools
Users of the software
All of the above
Your selected option : All of the above
Question 18:
He actively participates in risk management and optimizes test strategy and test effort to reduce product risks. He is?
Option Available
Management
Customer
Project Manager
Test Manager
Your selected option : Test Manager
Question 19:
Amount of testing performed will not depend on
Option Available
Risks involved
Contractual Requirements
Legal Requirements
Test Data
Your selected option : Risks involved
Question 20:
The purpose of Risk Management in a project is to
Option Available
Elimininate Risks
Minimize Risks
Avoid Risks
Anticipate the Risks
Your selected option : Minimize Risks
Question 21:
Ability to calculate and rank the severity of a risk quantitatively is called:
Option Available
Risk Magnitude
Contingency Planning
Risk Mitigation
None of the above
Your selected option : Risk Magnitude
Question 22:
For..Next is a
Option Available
Looping Statement
Conditional Statement
None of the above
Both a and b
Your selected option : Looping Statement
Question 23:
ReDim statement declares
Option Available
static-array variables
dynamic-array variables
Both a and b
None of the above
Your selected option : dynamic-array variables
Question 24:
To handle exceptions programaticall, you can use
Option Available
Exit Statement
On Error Resume Next Statement
None Of the above
both a and b
Your selected option : both a and b
Question 25:
Automation frame work should providethe tester
Option Available
Reusability
Ease of use
Portability
All of the above
Your selected option : All of the above
Question 26:
"The below code when executed in QTP returns
Instr(1,Automation,o,0) "
Option Available
2
9
4
7
Your selected option : 4
Question 27:
"The below code when executed in QTP returns StrComp(Wipro,Wipro,0) "
Option Available
0
TRUE
FALSE
1
Your selected option : 0
Question 28:
"The below code when executed in QTP returns
Mid(Wipro,3,2) "
Option Available
ip
pr
ro
ii
Your selected option : pr
Question 29:
"Apart from the Normal run mode, QuickTest Professional supports
a)Debug Mode
b)Update Mode
c)Manitenance Mode"
Option Available
a and b
b only
b and c
c and a
Your selected option : b and c
Question 30:
Which of the below Statements is False
a)Subroutines contains a series of statements
b)Subroutines accepts arguments
c)Subroutines can call itself
d)Subroutines returns a value"
Option Available
b
a
c
d
Your selected option : d
Question 31:
Which of the below loop will run in infinite
Option Available
"Dim I, intFlag I = 0 intFlag = True Do While intFlag = False I = I +1 Loop"
"Dim I, intFlag I = 0 intFlag = True Do I = I +1 Loop While intFlag = False"
"Dim I, intFlag I = 0 intFlag = False Do While intFlag = True I = I +1 Loop"
"Dim I, intFlag I = 0 intFlag = False Do While intFlag = True I = I +1 Loop" "Dim I, intFlag I = 0 intFlag = True Do I = I +1 Loop While intFlag = True"
Your selected option :
"Dim I, intFlag I = 0 intFlag = True Do While intFlag = False
I = I +1
Loop"
Question 32:
"The below code when executed in QTP returns
Dim Arr
Set Arr = CreateObject(""Scripting.Dictionary"")
Arr.Add ""First"", ""India""
Arr.Add ""Second"", ""US""
Arr.Add ""Third"", ""UK""
Arr.Add ""Fourth"", ""Sweden""
Countries = Arr.Items
MsgBox Countries(2)"
Option Available
Second
US
UK
Third
Your selected option : UK
Question 33:
What is the Regular Expression Matching Zero or More Specific Characters
Option Available
x
*
#
$
Your selected option : *
Question 34:
We can import Object Repositories from . to file
Option Available
XML
TSR
XLS
VBS
Your selected option : TSR
Question 35:
The Object Repository automation object module enables you to manipulate Quick Test . Object reprositories and their contents from outside of QuickTest
Option Available
Local
Shared
Both
None
Your selected option : Local
Question 36:
If you want to modify an object stored in a shared object repository, you can modify it
Option Available
you can modify it locally using the Object Repository Window
using the Object Repository Manager
Both A and B
None
Your selected option : using the Object Repository Manager
Question 37:
Quick Test Professional enalbes you to merge two shared object repositories into a single object repository using the .
Option Available
Object Repository Manager
Object Repository Merge Tool
Object Repository automation object model
Object Repository Dailog box
Your selected option : Object Repository Manager
Question 38:
ExcuteFile statement which executes the VBScript statements in the specified file can accept . Of the file to execute
Option Available
Absolute
Relative
Both A and B
None
Your selected option : Both A and B
Question 39:
You create a table checkpoint by inserting a .. Checkpoint on a table object.
Option Available
Table
Standard
Webtable
None
Your selected option : Table
Question 40:
The Quick Test automation object module provides .That enables you to control QuickTest from another application
Option Available
Objects
Methods
Properties
All of above
Your selected option : All of above
Question 41:
When you finish performing the necessary operations, or you want to perform operations that require closing and restarting QuickTest (such as changing the set of loaded add-ins), use the .
Option Available
Method Application.Exit
Applcations.Close
Application.End
Applcation.Quit
Your selected option : Applcations.Close
Question 42:
_____ Enables you to specify which information QuickTest saves and displays in the Active Screen while recording and running tests
Option Available
Active Pane
Active Record Pane
Active Screen Pane
Active Screens Pane
Your selected option : Active Screen Pane
Question 43:
The method enables you to record the exact mouse and keyword operations you perform in relation to either the screen or the application window
Option Available
Analog
Standard
Normal
Low Level
Your selected option : Analog
Question 44:
While parameterizing tests, you can supply data from .
Option Available
DataTable
Environment Variables
Values that QuickTest generates during the run session
All of above
Your selected option : All of above
Question 45:
An Action call in Expert View of QTP can define
Option Available
the action iterations
input parameter values
an action return values
All the above
Your selected option : All the above
Question 46:
After you insert a checkpoint step, the checkpoint object is added to the .. Object repository
Option Available
Local
Shared
Both
None
Your selected option : Local
Question 47:
The automation infrastructure usually includes ..
Option Available
one or more shared object repositories
one or more function libraries
Both A and B
None
Your selected option : one or more function libraries
Question 48:
If an object with the same name is located in both the local object repository and in a shared object repository associated with the same action, the action uses the defination
Option Available
Shared Object
Local Object
Object Spy
Smart Identification
Your selected option : Smart Identification
Question 49:
If you choose not to register your function at this time, you can manually register it later by adding a .. Statement
Option Available
RegisterUserFunction
RegisterUserFunc
RegUserFunc
None of the above
Your selected option : RegisterUserFunc
Question 50:
Which of the following is not a type of ordinal Identifier used by QuickTest to identify the object
Option Available
Index
Number
Location
CreationTime
Your selected option : Number