QTP and JProbe Testing Tools
Questions about QuickTest Professional (QTP) scripting and features, plus JProbe Java performance and memory analysis tools
Questions
What is the file extension of the setting file created by JProbe?
- .jpl
- .bat
- .jpb
- .sln
What is the default port used by JProbe?
- 52991
- 52992
- 52993
- 52990
What are three tabs displayed in Runtime Summary View in case of memory analysis?
- Memory Tab, Heap Tab, GC Tab
- Thread Tab, GC Tab, Memory Tab
- Memory Tab , Data Tab ,Heap Tab
- None
What is the option that must be used to set the level of data you want to record?
- Trigger
- Set Recording Level
- Configure Pool
- Leak Doctor
Which type of view is used for viewing object allocations?
- Instance View
- Allocation View
- Leak Doctor View
- Object View
Which type of view is used to identify Memory Leaks?
- Heap View
- Instance View
- Leak Doctor View
- Allocation View
What is the purpose of Performance Analysis?
- Focusing on a known efficient algorithm
- Focusing on object cycle and garbage collection issues
- Focusing on missing codes in a program
- None
A Deadlock is a situation in which…
- A cycle of threads is blocked as they are waiting for resource which is being held by another thread in cycle
- Object is waiting for garbage collection
- Java Application is having Memory Leaks
- None
If the Result of Snapshot differencing is Positive what we can infer?
- Modified code runs slower than original code
- Modified code runs faster than original code
- Modified code runs as fast as original code
- None
What is the data collected in the Source Code during Code Coverage Analysis?
- Line data, Conditional Data, Switch Data
- Missed Column, Switch data, Conditional Data
- Missed Column, Switch data, Unconditional Data
- None
Which type of analysis would you prefer if your application is continuously crashing?
- Memory Analysis
- Performance Analysis
- Coverage Analysis
- Static Analysis
Which of the following are created with each new action?
- Local data sheet, Global data sheet, Folder
- Local object repository, Local data sheet, Folder
- Local object repository ,Local data sheet, Global data sheet
- Local data sheet, Global data sheet, Local object repository
Constant is declared using :
- Dim statement
- Option Explicit statement
- Con Statement
- Const Statement
By default, arguments can be passed to the procedure using
- Byval
- Byref
- ByArg
- ByRes
Which of the following looping statements are available in QTP?
- For next,Do loop, Switch Case
- For next, Do loop, While end
- If then, While end, Do loop
- For next, Switch case, If then
Information pane displays
- Syntax errors
- Test name and author
- QTP license information
- Comment line
Two shared object repositories can be merged in ---------
- The object repository manager
- The object repository
- Associate object repository tool
- Only Local object repositories can be merged
Which of the following commands retrieves the number of items in the list for a weblist object
- GetList
- GetItem
- GetItemsCount
- GetRoProperty
What does the ChildObjects method return?
- A collection object
- A string true/false
- Number of objects matching the description
- Boolean True/False
What are all the available environment variable types?
- Built-in
- User-defined
- Built-in, User-defined
- User function