0

testing Online Quiz - 168

Description: testing Online Quiz - 168
Number of Questions: 20
Created by:
Tags: testing
Attempted 0/20 Correct 0 Score 0

What does a live analysis graph illustrate in a visual overview?

  1. all the tests in the Test Plan

  2. all the cycles or releases the test is linked to

  3. all the requirements linked to the specified test

  4. all the tests in a specified folder in the Test Plan


Correct Option: D

AI Explanation

To answer this question, you need to understand the concept of a live analysis graph in the context of a visual overview.

A live analysis graph in a visual overview typically illustrates the distribution and status of tests in a specified folder in the Test Plan. It provides a visual representation of the tests within the specified folder, allowing you to quickly analyze the distribution of tests across different categories or attributes.

Let's go through each option to understand why it is correct or incorrect:

Option A) all the tests in the Test Plan - This option is incorrect because a live analysis graph specifically focuses on the tests in a specified folder, not all the tests in the Test Plan.

Option B) all the cycles or releases the test is linked to - This option is incorrect because a live analysis graph does not typically illustrate the cycles or releases the test is linked to. It focuses on the tests within a specific folder.

Option C) all the requirements linked to the specified test - This option is incorrect because a live analysis graph does not typically illustrate the requirements linked to the specified test. It focuses on the distribution of tests within a specific folder.

Option D) all the tests in a specified folder in the Test Plan - This option is correct because a live analysis graph typically illustrates the distribution and status of tests within a specified folder in the Test Plan. It provides a visual overview of how the tests are categorized and their status.

Therefore, the correct answer is Option D.

What does a live analysis graph illustrate in a visual overview?

  1. all the tests in the Test Plan

  2. all the cycles or releases the test is linked to

  3. all the requirements linked to the specified test

  4. all the tests in a specified folder in the Test Plan


Correct Option: D

When a defect is raise and there is no sufficient code to fix the defect (gap in requirements), what will be the state of the defect?

  1. Rejected

  2. Fixed

  3. Deferred

  4. Closed


Correct Option: C

Condition coverage checks each of the ways that the condition can be made true or false.

  1. True

  2. False


Correct Option: A

A structured approach to the error guessing technique is to enumerate a list of possible errors and to design tests that attack these errors. True or False

  1. True

  2. False


Correct Option: A

The prime benefit of testing is that it results in improved defects. True or False

  1. True

  2. False


Correct Option: B

Verification is checking whether are we building the right product? True or False

  1. True

  2. False


Correct Option: B

Condition coverage checks each of the ways that the condition can be made true or false. True or False

  1. True

  2. False


Correct Option: A

As a result of a change in the system under test, a new revision of the system, Sn+1, contains a defect not present in revision Sn, the quality of the system has progressed: True or False

  1. True

  2. False


Correct Option: B

As a result of a change in the system under test, a new revision of the system, Sn+1, contains a defect not present in revision Sn, the quality of the system has progressed: True or False

  1. True

  2. False


Correct Option: B

In QTP which method is used to retrieve data from HTML TABLE?

  1. GetCellData (Row,Col);

  2. GetRowValue (Rowid,Colname);

  3. GetData (Row,Col);

  4. GetCellValue (Row,Col);


Correct Option: A

In QTP, what command is used to insert the transactions in test?

  1. Services.StartTransaction "Name", Services.EndTransaction "Name";

  2. StartTransaction.Services “Name”,EndTransaction. Services "Name";

  3. StartTransaction ("Name"), EndTransaction ("Name");

  4. Services.StartTransaction "Name", EndTransaction. Services "Name";


Correct Option: A

AI Explanation

To answer this question, you need to understand how to insert transactions in a test in QTP (QuickTest Professional).

The correct command to insert transactions in a test in QTP is:

A. Services.StartTransaction "Name", Services.EndTransaction "Name";

This option is correct because it uses the correct syntax to start and end a transaction. The StartTransaction command is used to begin a transaction with a specified name, and the EndTransaction command is used to end the transaction with the same name.

Option B is incorrect because it uses the incorrect syntax for starting and ending a transaction. The StartTransaction and EndTransaction commands should be called on the Services object, not the other way around.

Option C is incorrect because it uses parentheses incorrectly. The correct syntax does not require parentheses around the transaction name.

Option D is incorrect because it swaps the order of the StartTransaction and EndTransaction commands. The StartTransaction command should come before the EndTransaction command.

Therefore, the correct answer is A. Services.StartTransaction "Name", Services.EndTransaction "Name".

The file extension of Shared object repository file and Local object repository file are

  1. .TSR and .QRS

  2. .QRS and .MTR

  3. .TSR and .MTR

  4. .MTR and .QFL


Correct Option: C
Explanation:

To solve this question, the user needs to have knowledge about automated testing tools and file extensions used in them.

The correct option is:

C. .TSR and .MTR

Explanation:

In automated testing tools like UFT (Unified Functional Testing), shared object repository and local object repository are used to store object information.

  • Shared Object Repository (SOR) file stores information about the objects that are common for multiple tests. The file extension of the Shared Object Repository file is .TSR (Test Shared Repository).

  • Local Object Repository (LOR) file stores information about the objects that are specific to a particular test. The file extension of the Local Object Repository file is .MTR (Mercury Test Results).

Therefore, the correct answer is option C, .TSR and .MTR.

To refer the global data sheet, we can use the statement/statements

  1. dtglobalsheet

  2. dtglobalsheet and Global

  3. dtGlobal and dtglobalsheet

  4. dtGlobal AND Global


Correct Option: B

AI Explanation

To refer to the global data sheet, we can use the statement/statements:

A. dtglobalsheet B. dtglobalsheet and Global C. dtGlobal and dtglobalsheet D. dtGlobal AND Global

Let's go through each option to understand why it is correct or incorrect:

Option A) dtglobalsheet - This option is incorrect because it only refers to the variable "dtglobalsheet" and does not include any reference to "Global".

Option B) dtglobalsheet and Global - This option is correct because it includes both the variable "dtglobalsheet" and the keyword "Global", which indicates that we are referring to the global data sheet.

Option C) dtGlobal and dtglobalsheet - This option is incorrect because it includes both the variables "dtGlobal" and "dtglobalsheet". It is not clear if "dtGlobal" is related to the global data sheet.

Option D) dtGlobal AND Global - This option is incorrect because it includes the variable "dtGlobal" and the keyword "Global", but it does not include "dtglobalsheet".

The correct answer is B) dtglobalsheet and Global. This option is correct because it includes both the variable "dtglobalsheet" and the keyword "Global", indicating that we are referring to the global data sheet.

Where the Checkpoint information will be stored in QTP

  1. Shared repository & Function Library

  2. Shared Repository

  3. Local Repository

  4. Function library


Correct Option: C

In QTP, which Checkpoint is being used for verifying the web page with W3C standard?

  1. Bitmap checkpoint

  2. Standard checkpoint

  3. Accessibility checkpoint

  4. XML checkpoint


Correct Option: C
Explanation:

To solve this question, the user needs to have knowledge about QTP and its various types of checkpoints. The user needs to know the purpose of each checkpoint and how they are used to test web pages.

Now, let's go through each option and explain why it is right or wrong:

A. Bitmap checkpoint: This checkpoint compares the bitmap of the actual and expected images, so it is used to verify the graphical elements of the web page. It is not used for verifying the web page with the W3C standard.

B. Standard checkpoint: This checkpoint verifies the property values of an object on a web page. It can be used to check the compliance of the web page with W3C standards, but it is not specifically designed for this purpose.

C. Accessibility checkpoint: This checkpoint is used to verify the accessibility of a web page for users with disabilities. It includes checking the compliance of the web page with W3C accessibility guidelines, which are related to W3C standards. So, this checkpoint is the correct option for verifying the web page with W3C standard.

D. XML checkpoint: This checkpoint verifies the content of an XML document. It is not used for verifying the web page with W3C standard.

The Answer is: C (Accessibility checkpoint)

What Property - Indicates whether QuickTest beeps after performing each Sync function during a run session?

  1. BeepSync

  2. BeepOnSync

  3. SoundOnSync

  4. SoundSync


Correct Option: B

AI Explanation

To answer this question, you need to understand the properties related to the beeping sound in QuickTest.

Option A) BeepSync - This option is incorrect because there is no such property in QuickTest.

Option B) BeepOnSync - This option is correct. It indicates whether QuickTest beeps after performing each Sync function during a run session. This property controls the beeping sound during synchronization points in QuickTest.

Option C) SoundOnSync - This option is incorrect because there is no such property in QuickTest.

Option D) SoundSync - This option is incorrect because there is no such property in QuickTest.

The correct answer is Option B) BeepOnSync. This option is correct because it specifically refers to the property that controls the beeping sound during synchronization points in QuickTest.

What Specifies the time interval (in seconds) during which QuickTest attempts to perform the checkpoint successfully.

  1. Text Checkpoint timeout

  2. Check Method timeout

  3. Standard Checkpoint timeout

  4. Checkpoint timeout


Correct Option: D

AI Explanation

To answer this question, we need to understand the concept of checkpoints in QuickTest.

In QuickTest, a checkpoint is a validation point that compares the expected value of a property or attribute with the actual value during a test run. It helps to verify that the application or website under test is functioning correctly.

The time interval during which QuickTest attempts to perform the checkpoint successfully is specified by the "Checkpoint timeout". This is the duration in seconds that QuickTest will wait for the checkpoint to pass before considering it as a failure.

Let's go through each option to understand why it is correct or incorrect:

Option A) Text Checkpoint timeout - This option is incorrect because it specifically mentions "Text Checkpoint", which is a type of checkpoint and not the overall timeout for checkpoints.

Option B) Check Method timeout - This option is incorrect because it does not refer to the timeout specifically for checkpoints. It may be related to the timeout for a specific method or action in QuickTest.

Option C) Standard Checkpoint timeout - This option is incorrect because there is no specific "Standard Checkpoint timeout" in QuickTest. The timeout for checkpoints is generally referred to as the "Checkpoint timeout".

Option D) Checkpoint timeout - This option is correct because it specifies the time interval during which QuickTest attempts to perform the checkpoint successfully. It is the overall timeout for checkpoints in QuickTest.

Therefore, the correct answer is option D - Checkpoint timeout.

Which of the following statement will be executed without any error?

  1. Browser("Ultimatix GetConnected").Page("Ultimatix GetConnected").WebEdit("employeeNumber").Set "000000"

  2. Browser("title:=Ultimatix - Get Connected !").Page("title:=Ultimatix - Get Connected !").WebEdit("name:=employeeNumber").Set "000000"

  3. Browser("title:=Ultimatix - Get Connected !"). Page("title:=Ultimatix - Get Connected !"). WebEdit("employeeNumber").Set "000000"

  4. Browser("Ultimatix GetConnected").Page("Ultimatix GetConnected"). WebEdit("name:=employeeNumber").Set "000000"


Correct Option: C

The file extension of Shared object repository file and Local object repository file are

  1. (.TSR and .QRS)

  2. (.QRS and .MTR)

  3. (.TSR and .MTR)

  4. (.MTR and .QFL)


Correct Option: C

AI Explanation

To answer this question, you need to understand the file extensions used for shared object repository (SOR) files and local object repository (LOR) files.

Option A) (.TSR and .QRS) - This option is incorrect because the file extension .TSR is not used for shared object repository files, and the file extension .QRS is not used for local object repository files.

Option B) (.QRS and .MTR) - This option is incorrect because the file extension .QRS is not used for shared object repository files. The file extension .MTR is used for the recovery scenario file, not for local object repository files.

Option C) (.TSR and .MTR) - This option is correct. The file extension .TSR is used for shared object repository files, and the file extension .MTR is used for local object repository files.

Option D) (.MTR and .QFL) - This option is incorrect because the file extension .MTR is not used for shared object repository files, and the file extension .QFL is not used for local object repository files.

The correct answer is Option C. The file extension of the shared object repository file is .TSR, and the file extension of the local object repository file is .MTR.

- Hide questions