Software Testing Fundamentals and QTP Automation

Covers software testing methodologies, strategies, verification/validation, and QTP automation with VBScript

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Loop testing is a control structure testing technique where the criteria used to design test cases is that they

  1. Rely basis path testing
  2. Exercise the logical conditions in a program module
  3. Select test paths based on the locations and uses of variables
  4. Focus on testing the validity of loop constructs
Question 2 Multiple Choice (Single Answer)

Testing which is simulated or actual operational testing by potential users/customers or an independent test team at the developers' site is called

  1. Alpha Testing
  2. Beta Testing
  3. White Box Testing
  4. Black Box Testing
Question 3 Multiple Choice (Single Answer)

Test Cases are designed by

  1. Testers
  2. Test Lead
  3. Test Manager
  4. Developer
Question 4 Multiple Choice (Single Answer)

Identify the softwate testing website from below

  1. www.stickyminds.com
  2. www.softwaredioxide.com
  3. www.sulekha.com
  4. www.howstuffworks.com
Question 5 True/False

In the context of software Testing, Verification and Validation does not mean different things.

  1. True
  2. False
Question 6 Multiple Choice (Single Answer)

Testing is a means to

  1. Ensure the absence of defects
  2. Identify the presence of defects and fix them
  3. Identify a bad developer
  4. All of the above
Question 7 Multiple Choice (Single Answer)

Test entry and exit criteria are documented in

  1. Cost Avoidance Report
  2. Test Approach/Strategy
  3. Test Plan
  4. Test Model
Question 8 Multiple Choice (Single Answer)

To deliver quality software, which of the following is must

  1. Software Quality Assurance
  2. Software Testing
  3. A good Tester
  4. All of the above
Question 9 Multiple Choice (Single Answer)

Testing, in which code is not executed is called

  1. Static Testing
  2. Dynamic Testing
  3. White Box Testing
  4. Reliability Testing
Question 10 Multiple Choice (Single Answer)

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

  1. 0
  2. 1
  3. 2
  4. 3
Question 11 Multiple Choice (Single Answer)

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
Question 12 Multiple Choice (Single Answer)

File System Object Model is contained in which library in Scrrun.dll

  1. Scripting type
  2. File Creation
  3. Object Oriented
  4. Misselaneous
Question 13 Multiple Choice (Single Answer)

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
Question 14 Multiple Choice (Single Answer)

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
Question 15 Multiple Choice (Single Answer)

If an acceptance criterion or expected result is not specified in a test

  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
Question 16 Multiple Choice (Single Answer)

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
Question 17 Multiple Choice (Single Answer)

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
Question 18 Multiple Choice (Single Answer)

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
Question 19 Multiple Choice (Single Answer)

Cyclomatic complexity method comes under which testing method?

  1. Green box
  2. Black box
  3. White box
  4. Yellow box
Question 20 Multiple Choice (Single Answer)

The most effective approach to begin test

  1. After coding
  2. After freezing the requirement
  3. After internal design
  4. After external design