Tag: testing

Questions Related to testing

x=StrComp("abc","abc") x=???

  1. 0

  2. 1

  3. 2

  4. 3


Correct Option: A

While using Reporter Event Method in QTP,Event Status is given as 0. In Result Window, reporter reports the status as

  1. Pass

  2. Fail

  3. Done

  4. Warning


Correct Option: A
  1. Scripting type

  2. File Creation

  3. Object Oriented

  4. Misselaneous


Correct Option: A

Keyword that is used to diassociate an object variable from actual object in QTP using VB Script

  1. Free

  2. Release

  3. DisAssociate

  4. Nothing


Correct Option: D

Software Verification is

  1. checking that we are building the system right

  2. performed by an independent test team

  3. checking that we are building the right system

  4. make sure that that it is what the user wants


Correct Option: A
  1. it may be difficult to repeat the test

  2. it will be difficult to decide whether the test have passed/failed

  3. we cannot automate the user input

  4. we cannot run the test


Correct Option: B

The purpose of requirement phase is

  1. To freeze requirement

  2. To understand user needs

  3. To define the scope of testing

  4. all of the above


Correct Option: D

which of the following can be succesfully tested using loop testing methodology

  1. Simple loops

  2. Nested loops

  3. Concatenated loops

  4. All of the above


Correct Option: D

To know with adequate confidence "when is Testing over" , which of the following is the best approach?

  1. when the budget is consumed

  2. use test appropriate metrics

  3. when the time is out

  4. let the management decide


Correct Option: B

AI Explanation

To answer this question, you need to understand the concept of testing completion criteria.

Option A) When the budget is consumed - This option is incorrect because testing completion should not be solely based on budget consumption. While budget can be a factor to consider, it should not be the sole determining factor for when testing is over.

Option B) Use test appropriate metrics - This option is correct because using test appropriate metrics is the best approach to determine when testing is over. Test metrics can include factors such as test coverage, defect density, and test pass rate. These metrics provide objective data to evaluate the progress and effectiveness of testing, and can help determine when the testing objectives have been met.

Option C) When the time is out - This option is incorrect because testing completion should not be solely based on the passing of a specific time duration. While time can be a factor to consider, it should not be the sole determining factor for when testing is over.

Option D) Let the management decide - This option is incorrect because while management input and decision-making can be valuable, it should not be the sole determining factor for when testing is over. Testing completion should be based on objective criteria and metrics.

The correct answer is B) Use test appropriate metrics. This option is correct because using test appropriate metrics provides objective data to evaluate the progress and effectiveness of testing, and helps determine when the testing objectives have been met.

  1. Green box

  2. Black box

  3. White box

  4. Yellow box


Correct Option: C