Tag: testing

Questions Related to testing

  1. GetCellData (Row,Col);

  2. GetRowValue (Rowid,Colname);

  3. GetData (Row,Col);

  4. GetCellValue (Row,Col);


Correct Option: A
  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
  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.

  1. dtglobalsheet

  2. dtglobalsheet and Global

  3. dtGlobal and dtglobalsheet

  4. dtGlobal AND Global


Correct Option: B
  1. Shared repository & Function Library

  2. Shared Repository

  3. Local Repository

  4. Function library


Correct Option: C
  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)

  1. Text Checkpoint timeout

  2. Check Method timeout

  3. Standard Checkpoint timeout

  4. Checkpoint timeout


Correct Option: D

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