Thursday, April 22, 2010

How to Download & Install QTP

PART I ) Download & Install QTP
Follow the 6 steps below to download and install QTP

Step 1) Go to following Link to download QTP version 10.0. Please note that starting version 9.5, all add-ins are bundled with the core QTP installation and need not be downloaded separately. At the download link, you will be asked to enter user id & password. As a first time user, you will need to register on the site.
Step 2) After you sign - in, Accept the terms and conditions.
Step 3) You will be taken to download center and be given the link to download QTP DVD. File is 1410 MB in size and may take some time depending upon your Internet connection speed. It is advisable to use a download manager for this purpose. Step 4) Once download is complete, unzip the softcopy and double click on the setup icon to start installing. No ISO software is required.
Step 5) In the installation Wizard .Select Option – Quick Test Professional Setup. You will be then asked to Accept the License Agreement , Enter Name/Company information and select the ADD-In you want to install (show below.) Give the folder you want to install QTP and installation will begin with your confirmation.

QTP-Setup-Add-In-Selection-Screen


Step 6) Once installation is compete , you will be shown "Additional Installation Requirement" Screen.
Select all 3 options there and click Run.
Now PART I is complete , which is installing QTP. Proceed to Part II

 Part II) Get trial license to activate QTP.
Follow the 5 steps below to procure evalaution  license for QTP


Step 1) Determine & Note your IP address. (Use this link )
Step 2) Determine your locking code. To do this ,follow the three steps below

a) Once you launch QTP , you will see , the below error  screen. Click on Install license button
QTP-License-Error-Screen

b) Choose license Type as Seat License & Click Next
QTP-Installation-License-Type    
c) Note the Lock Code mentioned in the below welcome screen
QTP-Lock-Code


Step 3) Determine and note Product # for QTP.  For QTP version 10 it is T6512EAET .
To determine Product # for your version check the email- confirmation sent to you on
downloading QTP.

          QTP-Product-Number


Step 4) Depending upon your location send an email requesting Evaluation license for QTP.

USA/North America

Americas_password@cnd.hp.com This e-mail address is being protected from spambots. You need JavaScript enabled to view it




Europe / Africa
Europe_password@cnd.hp.com This e-mail address is being protected from spambots. You need JavaScript enabled to view it

Asia Pacific
Asia_password@cnd.hp.com This e-mail address is being protected from spambots. You need JavaScript enabled to view it

Do provide your contact information in the email.In case you need license for any ADD-ins apart from the default (Visual Basic , Web , Active X ) you need to ask for them explicitly.
A sample draft of an email, which you could use readily -


Hi,
Please provide Evaluation license for
Product # T6512EAET (*)
Product Name # HP QTP ver 10.0 (*)
Locking Code # 8-4C1AP (*)
IP Address # 65.17.117.26  (*)
Also , provide license for Java  Add - in (*).
Contact Information
Name :
Company :  leave blank in case you are not working.
Address:
Phone:
Email:
Purpose :  (Choose As Applicable or you can give your own reasons)
1) My company/project  is looking into Automation so I want to determine if QTP will meet the requirements and will later purchase accordingly.
2) I want the license for self-learning purposes.
Thanks & Regards
ABC (*)
(*) - Change as Applicable

Step 5) Once you obtain the license , Paste in the license wizard and you are good to goLaughing


Pointers :
1) If you are already into a job , it is best to send this mail from your company email id. Otherwise is also OK.:
2) Do not expect HP to respond immediately to your request. They will take their own sweet time (3-5 days) to respond to your request. You SHOULD follow up with them every two days to check on status of your request.
3) DO NOT forget to mention you contact number. The HP guys will call you in case they will require any further information to execute your request. Hence it is very important to send all the details with accurate information to be serviced promptly.
4) You can ask for an EXTENSION (usually 14 days) of your evaluation license, once your trial period is over.
5) Detailed contact information of HP's license delivery center is here.
Hope it Helps! Smile

Steps for installing crack file

1) Instal QTP into C
2) copy crack file and paste it in QTP installed folder
3) It will ask you already dat file is existed , do u wanna overwrite.
4)Click on Yes..

Tuesday, April 20, 2010

HP0-M16(new set of questions)

1. The toolbar enables you to view the details of an individual action or the entire test flow is

1. Testing toolbar
2. None of the above
3. Action toolbar
4. Test Pane

ANSWER: 3

2. The key that is used to Start/End analog recording mode ?

1. F3
2. SHIFT+ALT+F3
3. CTRL+SHIFT+F3
4. F10

ANSWER: 2

3. QuickTest supports virtual object for analog or low-level recording.

1. False
2. True

ANSWER: 1

4. To use a specific property to identify your object, but that property is not listed in the properties list. Then how do you identify that object?

1. Add the specific property to the list
2. Use the Default property
3. Use some other property to identify your object

ANSWER: 1

5. The checkpoint used to check the alt attribute exists for all relevant objects (such as images) is

1. DataBase CheckPoint
2. Accessibility checkpoint
3. Bitmap checkpoint
4. Standard checkpoint

ANSWER: 2

6. Bitmap checkpoint is supported in VB environment.

1. True
2. False

ANSWER: 1

7. Can we parameterize the checkpoints properties?

1. No
2. Yes

ANSWER: 2

8. What is the shortcut key that is used for a Standard Checkpoint ?

1. F12
2. F2
3. F10
4. F7

ANSWER: 1

9. Can we change name of checkpoint ?

1. No
2. Yes

ANSWER: 1

10. To compares the values of the specified property during a run session with the values stored for the same test object property within the test.

1. Checkpoint
2. All the above
3. Output Value
4. Compare the object property

ANSWER: 1
More Testing JOBS & FAQ @ http://www.TestingKen.com
11. You will use the recording mode for an object not recognized by QuickTest.

1. Low-Level Recording Mode
2. Normal recording Mode
3. Analog Mode

ANSWER: 1

12. The statement that calls the recorded analog file is

1. RunAnalog
2. CallAnalog
3. ExecuteAnalog

ANSWER: 1

13. An action can be called by other tests or actions is

1. Call Action
2. Split Action
3. Reusable Action

ANSWER: 3

14. You can replace the page in your Active Screen tab

1. False
2. True

ANSWER: 2

15. QuickTest adds a checkpoint statement in the Expert View as

1. Check Checkpoint
2. Checkpoint

ANSWER: 1

16. A Checkpoint checks that a text string is displayed within a defined area in a Windows application is

1. Accessibility
2. Text Area
3. Standard
4. Text

ANSWER: 2

17. In ActiveX environment an Accessibility checkpoint is supported.

1. No
2. Yes

ANSWER: 1

18. Can we get the execution time for an action in a Test.

1. Yes
2. No

ANSWER: 1

19. Can we add external library files in QTP ?

1. No
2. Yes

ANSWER: 2

20. The method used to get data from HTML Table is

1. GetData(Row,Col)
2. GetRowValue(Rowid,Colname)
3. GetCellData (Row,Col)

ANSWER: 3
More Testing JOBS & FAQ @ http://www.TestingKen.com
21.The Command used to insert the transactions in test is,

1. StartTransaction("Name"), EndTransaction("Name")
2. Services.StartTransaction "Name", Services.EndTransaction "Name"
3. StartTransaction.services "Name", EndTransaction.services "Name"

ANSWER: 2

22. A step in which one or more values are captured at a specific point in your test and stored for the duration of the run session is

1. Output Value
2. Checkpoints
3. Active Screen

ANSWER: 1

23. QuickTest can detects an application crash and activate a defined recovery scenario to continue the run session.

1. True
2. false

ANSWER: 1

24. In Batch Test process, the test list are saved in file format as,

1. *.mtb
2. *.mts
3. *.mbt
4. *.mtr

ANSWER: 1

25.The command used to invoke other application from QTP,

1. InvokeApplication
2. SystemUtil.Run
3. Run
4. Both b & c
5. Both a & b

ANSWER: 5

26.The command used to retrieve data from excel sheet is

1. Set ab = Connection("srcfilepath ") , Set ws = ab.getdata(sheetid)
2. Set ab = CreateObject("srcfilepath ") , Set ws = ab.getsheet(sheetid)
3. Set ab = GetObject("srcfilepath") , Set ws = ab.worksheets(sheetid)

ANSWER: 2

27. The method that explicitly activates the recovery scenario mechanism is,

1. recovery.activate
2. enable
3. recovery.enable
4. activate

ANSWER: 1

28. The method used for sending information to the test results.

1. Reporter.log()
2. Reporter.reportevent()
3. Reporter.msgbox()
4. Reporter.report()

ANSWER: 2

29.To terminate an application that is not responding we use,

1. SystemUtil.terminate
2. SystemUtil.Stop
3. SystemUtil.CloseProcessByName

ANSWER: 3

30. The recovery mechanism does not handle triggers that occur in the last step of a test

1. false
2. True

ANSWER: 2
More Testing JOBS & FAQ @ http://www.TestingKen.com
31. We can add Test object methods, function calls into the Test using

1. Function generator
2. Step generator
3. Object repository

ANSWER: 1

32. The method that adds to the test while implementing Synchronization is

1. Synchronize
2. Wait
3. WaitProperty
4. Pause

ANSWER: 3

33. The mechanism used to identify objects during run session is

1. Recovery scenario
2. Smart identification
3. Handling object

ANSWER: 2

34. Post-recovery test run options specifies

1. how to continue the run session after QTP identify the event
2. errors while running
3. recovery scenario during a run session

ANSWER: 1

35. The action that can be called multiple times by the test as well as by other tests is called

1. non-reusable action
2. Reusable action
3. External action

ANSWER: 2

36. The command used to connect with Database is

1. Createobject(connectivity name)
2. dbconnect(connectivity name)
3. open(connectivity name)
4. None of the above

ANSWER: 1

37. The method used to retrieve the folders is

1. FileSystemObject.Getfolder()
2. FileSystemObject.selectfolder()
3. FileSystemObject.retrievefolder()

ANSWER: 1

38. The method used to compare 2 XML files is:

1. XMLfile1.compare(XMLfile2)
2. XMLcompare(file1,file2)
3. compare(XMLfile1,XMLfile2)

ANSWER: 3

39. The QTP script files are stored in the extension of

1. *.mts
2. *.usr
3. *.mtr
4. *.vbs

ANSWER: 1

40. The method used to register the user-defined function with test object is

1. setFunc()
2. RegisterUserFunc()
3. RegisterFunc()

ANSWER: 2
More Testing JOBS & FAQ @ http://www.TestingKen.com
41. The method used to open the specified URL in a browser is

1. openURL()
2. navigateURL()
3. navigate()

ANSWER: 3

42. The 3 Parameter types available in data driver is

1. DataTable,Environment,Random number
2. DataTable,random number,unique
3. environment,string,numeric

ANSWER: 1

43. The method added to the test while parameterizing is

1. get Data (variable, dtGlobalSheet)
2. get DataTable(variable, dtGlobalSheet)
3. Set Data(variable, dtGlobalSheet)
4. Set DataTable(variable, dtGlobalSheet)

ANSWER: 4

44. The length of the array can be get by the method

1. length(array)
2. ubound(array)
3. count(array)

ANSWER: 2

45. The method used to get the count value of list box or combo box os

1. GetItemsCount
2. GetCount
3. GetItemCount

ANSWER: 1

46. To retrieve the current property value of the objects in your application during the run session.

1. GetVisibleText
2. GetROProperty
3. SetROProperty
4. GetTOProperty

ANSWER: 2

47. In data base check point we can not set the expected value from the test ?

1. True
2. False

ANSWER: 2

48. The list of test objects and their properties and values are stored in the

1. Object Repository
2. Object Identification

ANSWER: 1

49. The method used to continue the test execution after getting run-time error is

1. On Error Resume Next
2. On Error Raise Next
3. On Error Next

ANSWER: 1

QTP Quiz: Test Yourself on QTP

Instructions: Click the answer button to see the correct answer.
  1. The toolbar enables you to view the details of an individual action or the entire test flow is


    1. Testing toolbar
    2. None of the above
    3. Action toolbar
    4. Test Pane

  2. The key that is used to Start/End analog recording mode?


    1. F3
    2. SHIFT+ALT+F3
    3. CTRL+SHIFT+F3
    4. F10

  3. To use a specific property to identify your object, but that property is not listed in the properties list. Then how do you identify that object?


    1. Add the specific property to the list
    2. Use the Default property
    3. Use some other property to identify your object

  4. The list of test objects and their properties and values are stored in the


    1. Object Repository
    2. Object Identification

  5. To retrieve the current property value of the objects in your application during the run session.


    1. GetVisibleText
    2. GetROProperty
    3. SetROProperty
    4. GetTOProperty

  6. Bitmap checkpoint is supported in VB environment.


    1. True
    2. False

  7. What is the shortcut key that is used for a Standard Checkpoint?


    1. F12
    2. F2
    3. F10
    4. F7

  8. To compares the values of the specified property during a run session with the values stored for the same test object property within the test.


    1. Checkpoint
    2. All the above
    3. Output Value
    4. Compare the object property

  9. You will use the recording mode for an object not recognized by QuickTest.


    1. Low-Level Recording Mode
    2. Normal recording Mode
    3. Analog Mode

  10. The statement that calls the recorded analog file is


    1. RunAnalog
    2. CallAnalog
    3. ExecuteAnalog

  11. An action can be called by other tests or actions is


    1. Call Action
    2. Split Action
    3. Reusable Action

  12. You can replace the page in your Active Screen tab


    1. False
    2. True

  13. QuickTest adds a checkpoint statement in the Expert View as



    1. Check Checkpoint
    2. Checkpoint

  14. A Checkpoint checks that a text string is displayed within a defined area in a Windows application is


    1. Accessibility
    2. Text Area
    3. Standard
    4. Text

  15. In ActiveX environment an “Accessibility checkpoint” is supported.


    1. No
    2. Yes

  16. Can we get the execution time for an action in a Test.


    1. Yes
    2. No

  17. The command used to retrieve data from excel sheet is


    1. Set ab = Connection("srcfilepath ") , Set ws = ab.getdata(sheetid)
    2. Set ab = CreateObject("srcfilepath ") , Set ws = ab.getsheet(sheetid)
    3. Set ab = GetObject("srcfilepath") , Set ws = ab.worksheets(sheetid)

  18. The method used to get data from HTML Table is


    1. GetData(Row,Col)
    2. GetRowValue(Rowid,Colname)
    3. GetCellData (Row,Col)


  19. The Command used to insert the transactions in test is,


    1. StartTransaction(“Name”), EndTransaction(“Name”)
    2. Services.StartTransaction "Name", Services.EndTransaction "Name"
    3. StartTransaction.services "Name”, EndTransaction.services "Name”

  20. A step in which one or more values are captured at a specific point in your test and stored for the duration of the run session is


    1. Output Value
    2. Checkpoints
    3. Active Screen

  21. QuickTest can detects an application crash and activate a defined recovery scenario to continue the run session.


    1. True
    2. false

  22. In Batch Test process, the test list are saved in file format as,


    1. *.mtb
    2. *.mts
    3. *.mbt
    4. *.mtr

  23. The command used to invoke other application from QTP,


    1. InvokeApplication
    2. SystemUtil.Run
    3. Run
    4. Both b & c
    5. Both a & b

  24. Can we add external library files in QTP?


    1. No
    2. Yes

  25. The method that explicitly activates the recovery scenario mechanism is,


    1. recovery.activate
    2. enable
    3. recovery.enable
    4. activate

  26. The method used for sending information to the test results.


    1. Reporter.log()
    2. Reporter.reportevent()
    3. Reporter.msgbox()
    4. Reporter.report()

  27. To terminate an application that is not responding we use,


    1. SystemUtil.terminate
    2. SystemUtil.Stop
    3. SystemUtil.CloseProcessByName

  28. The recovery mechanism does not handle triggers that occur in the last step of a test


    1. false
    2. True

  29. We can add Test object methods, function calls into the Test using


    1. Function generator
    2. Step generator
    3. Object repository

  30. The method that adds to the test while implementing Synchronization is


    1. Synchronize
    2. Wait
    3. WaitProperty
    4. Pause

  31. The mechanism used to identify objects during run session is


    1. Recovery scenario
    2. Smart identification
    3. Handling object

  32. Post-recovery test run options specifies


    1. how to continue the run session after QTP identify the event
    2. errors while running
    3. recovery scenario during a run session

  33. The action that can be called multiple times by the test as well as by other tests is called


    1. non-reusable action
    2. Reusable action
    3. External action

  34. QuickTest supports virtual object for anolog or low-level recording.


    1. False
    2. True

  35. The command used to connect with Database is


    1. Createobject(“connectivity name”)
    2. dbconnect(“connectivity name”)
    3. open(“connectivity name”)
    4. None of the above

  36. The method used to retrieve the folders is


    1. FileSystemObject.Getfolder()
    2. FileSystemObject.selectfolder()
    3. FileSystemObject.retrievefolder()

  37. The method used to compare 2 XML files is:


    1. XMLfile1.compare(XMLfile2)
    2. XMLcompare(file1,file2)
    3. compare(XMLfile1,XMLfile2)

  38. Can we change name of checkpoint?


    1. No
    2. Yes

  39. The QTP script files are stored in the extension of


    1. *.mts
    2. *.usr
    3. *.mtr
    4. *.vbs

  40. The method used to register the user-defined function with test object is


    1. setFunc()
    2. RegisterUserFunc()
    3. RegisterFunc()

  41. The method used to open the specified URL in a browser is


    1. openURL()
    2. navigateURL()
    3. navigate()

  42. The 3 Parameter types available in data driver is


    1. DataTable,Environment,Random number
    2. DataTable,random number,unique
    3. environment,string,numeric

  43. The method added to the test while parameterizing is


    1. get Data (variable, dtGlobalSheet)
    2. get DataTable(variable, dtGlobalSheet)
    3. Set Data(variable, dtGlobalSheet)
    4. Set DataTable(variable, dtGlobalSheet)

  44. The length of the array can be get by the method


    1. length(array)
    2. ubound(array)
    3. count(array)

  45. The method used to get the count value of list box or combo box os


    1. GetItemsCount
    2. GetCount
    3. GetItemCount

  46. Can we parameterize the checkpoints properties?


    1. No
    2. Yes

  47. In data base check point we can not set the expected value from the test?


    1. True
    2. False

  48. The checkpoint used to check the alt attribute exists for all relevant objects (such as images) is


    1. DataBase CheckPoint
    2. Accessibility checkpoint
    3. Bitmap checkpoint
    4. Standard checkpoint

  49. The method used to continue the test execution after getting run-time error is


    1. On Error Resume Next
    2. On Error Raise Next
    3. On Error Next



    HP QTP Certification HP-M016 Practice Exam Questions - 3

    Q1. 'Browser navigation timeout' is in which tab of Test Settings (File->Settings) window.
    A) Properties
    B) Resources
    C) Web
    D) Web Settings

    Q2. How many tabs are there in Test Settings (File->Settings) window
    A) 7
    B) 6
    C) 5
    D) 8

    Q3. Identify the tabs in the Test Settings (File->Settings) window
    A) Properties, Run, Resources, Parameters, Environment, Web, Recovery
    B) Properties, Run, Resources, Parameters, Environment, WebSettings,Recovery
    C) Properties, Run Options, Resources, Parameters, Environment, Web,Recovery
    D) Properties, Run, Resources, Input Parameters, Environment, Web, Recovery

    Q4. 'Generate Script' is in which tab of Test Settings (File->Settings)window
    A) Properties
    B) Web
    C) Resources
    D) Recovery

    Q5. The following are the four main columns in the Keyword view
    A) Item, Operation, Value, Comments
    B) Item, Operation, Value, Documentation
    C) Item, Operation, Property, Documentation
    D) Number, Operation, Value, Documentation

    Q6. For each object and method in an Expert View statement, acorresponding row exists in the Keyword View.
    A) True
    B) False
    C) There is a problem with the statement.
    D) None of above

    Q7. You can work on one or several function libraries at the same time.
    A) True
    B) False

    Q8. You can insert additional steps on the test objects captured in the Active screen after the recording session.
    A) True
    B) False

    Q9. The Active Screen enables you to parameterize object values andinsert checkpoints
    A) True
    B) False

    Q10. A QTP user can increase or decrease the active screen informationsaved with the test.
    A) True
    B) False

    Q11. The Information pane provides a list of............. in the test:
    A) Semantic errors
    B) Syntax errors
    C) Common errors
    D) Logic errors

    Q12. When we switch from Expert view to the Keyword view, QTPautomatically checks for syntax errors in the test and shows them in theinformation pane.
    A) True
    B) False

    Q13. If the information pane is not open, QTP automatically opens it incase a syntax error is detected.
    A) True
    B) False

    Q14. ..................... provides a list of the resources that arespecified in your test but cannot be found.
    A) Missing pane
    B) Missing Resources pane
    C) Resources pane
    D) Missing Items pane

    Q15. Whenever you open a test or a function library, QTP automaticallychecks for the availability of specified resources.
    A) True
    B) False

    Q16. The Data Table does not assists you in parameterizing your test.
    A) True
    B) False

    Q17. Tabs in the Debug Viewer pane are:
    A) Watch, Variables, Debug
    B) Watch, Data, Command
    C) Watch, Variables, Command
    D) View, Variables, Command

    Q18. ............... tab enables you to view the current value of anyvariable or VBScript expression.
    A) Watch
    B) VIew
    C) Locate
    D) Current

    Q19. The .... tab displays the current value of all variables that havebeen recognized up to the last step performed in the run session.
    A) View
    B)Variables
    C) Locate
    D) Current

    Q20. The .........tab enables you to run a line of script to set ormodify the current value of a variable or VBScript object in your testor function library.
    A) View
    B) Variables
    C) Command
    D) Current

    Q21. Panes in QTP can have one of the following states—docked or floating.
    A) True
    B) False

    Q22. Which of the following statement is True:
    A) QuickTest enables you to open and work on one test at a time
    B) QuickTest enables you to open and work on two tests at a time
    C) QuickTest enables you to open and work on predefined number of testsat a time
    D) QuickTest enables you to open and work on nine test at a time

    Q23. Which of the following statement is True:
    A) You can open and work on two function libraries simultaneously
    B) You can open and work on multiple function libraries simultaneously
    C) You can open and work on nine function libraries simultaneously
    D) You can open and work on one function library at a time

    Q24. You can open any function library, regardless of whether it isassociated with the currently open test.
    A) True
    B) False

    Q25. You can work with multiple documents (test, component, orapplication area, function libraries) using the...... dialog box
    A) Panes
    B) Display
    C) Show
    D) Windows

    Answers:-->

    Certification Q&A but little bit confusing

    1. The Toolbar enables you to view the details of an individual Action or the entire Test flow is
    1. Testing toolbar
    2. None of the above
    3. Action toolbar
    4. Test Pane
    ANSWERE: 3
    2. The key that is used to Start/End analog Recording mode ?
    1. F3
    2. SHIFT+ALT+F3
    3. CTRL+SHIFT+F3
    4. F10
    ANSWERE: 2
    3.QuickTest supports virtual object for anolog or low-level recording.
    1. False
    2. True
    ANSWERE: 1
    4. To use a specific property to identify your object, but that property is not listed in the properties list. Then how do you identify that object?
    1. Add the specific property to the list
    2. Use the Default property
    3. Use some other property to identify your object
    ANSWERE: 1
    5. The CHECKPOINT used to check the alt attribute exists for all relevant Objects (such as images) is
    1. DataBase CheckPoint
    2. Accessibility checkpoint
    3. Bitmap checkpoint
    4. STANDARD checkpoint

    ANSWERE: 2

    6. Bitmap checkpoint is supported in VB environment.
    1. True
    2. False
    ANSWERE: 1
    7.Can we parameterize the Checkpoints properties?
    1. No
    2. Yes
    ANSWERE: 2
    8. What is the shortcut key that is used for a Standard Checkpoint?
    1. F12
    2. F2
    3. F10
    4. F7

    ANSWERE: 1

    9.Can we change name of checkpoint?
    1. No
    2. Yes

    ANSWERE: 1

    10. To compares the values of the specified property during a run session with the values stored for the same test object property within the test.
    1. Checkpoint
    2. All the above
    3. Output Value
    4. Compare the object property
    ANSWERE: 1
    11. You will use the recording mode for an object not recognized by QuickTest.
    1. Low-Level Recording Mode
    2. Normal recording Mode
    3. Analog Mode
    ANSWERE: 1
    12. The statement that calls the recorded analog file is
    1. RunAnalog
    2. CallAnalog
    3. ExecuteAnalog

    ANSWERE: 1

    13. An action can be called by other tests or Actions is
    1. Call Action
    2. Split Action
    3. Reusable action
    ANSWERE: 3

    14. You can replace the page in your Active Screen tab
    1. False
    2. True

    ANSWERE: 2

    15. QuickTest adds a checkpoint statement in the Expert View as
    1. Check Checkpoint
    2. Checkpoint
    ANSWERE: 1
    16.A Checkpoint checks that a text string is displayed within a defined area in a Windows application is
    1. Accessibility
    2. Text Area
    3. Standard
    4. Text
    ANSWERE: 2
    17. In ActiveX environment an â€Å“Accessibility checkpoint” is supported.
    1. No
    2. Yes

    ANSWERE: 1

    18. Can we get the execution time for an action in a Test.
    1. Yes
    2. No

    ANSWERE: 1

    19. Can we add external library files in QTP?
    1. No
    2. Yes
    ANSWERE: 2
    20. The method used to get data from HTML Table is
    1. GetData(Row,Col)
    2. GetRowValue(Rowid,Colname)
    3. GetCellData (Row,Col)

    ANSWERE: 3

    21.The Command used to insert the transactions in test is,
    1. StartTransaction(â€Å“Name”), EndTransaction(â€Å“Name”)
    2. Services.StartTransaction “Name”, Services.EndTransaction “Name”
    3. StartTransaction.services “Name”, EndTransaction.services “Name”

    ANSWERE: 2

    22. A step in which one or more values are captured at a specific point in your test and stored for the duration of the run session is
    1. Output Value
    2. Checkpoints
    3. Active Screen
    ANSWERE: 1
    23. QuickTest can detects an Application crash and activate a defined recovery scenario to continue the run session.
    1. True
    2. false
    ANSWERE: 1
    24. In Batch Test process, the test list are saved in file format as,
    1. *.mtb
    2. *.mts
    3. *.mbt
    4. *.mtr
    ANSWERE: 1
    25.The command used to invoke other application from QTP,
    1. InvokeApplication
    2. SystemUtil.Run
    3. Run
    4. Both b & c
    5. Both a & b

    ANSWERE: 5

    26.The command used to retrieve data from excel sheet is
    1. Set ab = Connection(”srcfilepath “) , Set ws = ab.getdata(sheetid)
    2. Set ab = CreateObject(”srcfilepath “) , Set ws = ab.getsheet(sheetid)
    3. Set ab = GetObject(”srcfilepath”) , Set ws = ab.worksheets(sheetid)

    ANSWERE: 2

    27. The method that explicitly activates the recovery scenario mechanism is,
    1. recovery.activate
    2. enable
    3. recovery.enable
    4. activate

    ANSWERE: 1

    28. The method used for sending information to the test Results.
    1. Reporter.log()
    2. Reporter.REPORTEVENT()
    3. Reporter.MsgBox()
    4. Reporter.Report()

    ANSWERE: 2

    29.To terminate an application that is not responding we use,
    1. SystemUtil.terminate
    2. SystemUtil.Stop
    3. SystemUtil.CloseProcessByName

    ANSWERE: 3

    30.The recovery mechanism does not handle triggers that occur in the last step of a test
    1. false
    2. True

    ANSWERE: 2

    31. We can add Test object methods, function calls into the Test using
    1. Function generator
    2. Step Generator
    3. Object Repository
    ANSWERE: 1
    32. The method that adds to the test while implementing Synchronization is
    1. Synchronize
    2. Wait
    3. WaitProperty
    4. Pause

    ANSWERE: 3

    33. The mechanism used to identify objects during run session is
    1. Recovery scenario
    2. Smart identification
    3. Handling object

    ANSWERE: 2

    34.Post-recovery test run Options specifies
    1. how to continue the run session after QTP identify the event
    2. errors while Running
    3. recovery scenario during a run session
    ANSWERE: 1

    35. The action that can be called multiple times by the test as well as by other tests is called
    1. Non-Reusable action
    2. Reusable action
    3. External action

    ANSWERE: 2

    36. The command used to connect with Database is
    1. Createobject(â€Å“connectivity name”)
    2. dbconnect(â€Å“connectivity name”)
    3. open(â€Å“connectivity name”)
    4. None of the above

    ANSWERE: 1

    37. The method used to retrieve the folders is
    1. FileSystemObject.Getfolder()
    2. FileSystemObject.selectfolder()
    3. FileSystemObject.retrievefolder()

    ANSWERE: 1

    38. The method used to compare 2 XML files is:
    1. XMLfile1.compare(XMLfile2)
    2. XMLcompare(file1,file2)
    3. compare(XMLfile1,XMLfile2)

    ANSWERE: 3

    39. The QTP script files are stored in the extension of
    1. *.mts
    2. *.usr
    3. *.mtr
    4. *.vbs

    ANSWERE: 1

    40. The method used to register the user-defined function with test object is
    1. setFunc()
    2. RegisterUserFunc()
    3. RegisterFunc()
    ANSWERE: 2
    41. The method used to open the specified URL in a browser is
    1. openURL()
    2. navigateURL()
    3. navigate()
    ANSWERE: 3
    42. The 3 Parameter types available in data Driver is
    1. DataTable,Environment,Random number
    2. DataTable,random number,unique
    3. environment,string,numeric

    ANSWERE: 1

    43. The method added to the test while Parameterizing is
    1. get Data (variable, dtGlobalSheet)
    2. get DataTable(variable, dtGlobalSheet)
    3. Set Data(variable, dtGlobalSheet)
    4. Set DataTable(variable, dtGlobalSheet)

    ANSWERE: 4

    44. The length of the array can be get by the method
    1. length(array)
    2. ubound(array)
    3. count(array)
    ANSWERE: 2

    45. The method used to get the count value of list box or combo box os
    1. GetItemsCount
    2. GetCount
    3. GetItemCount
    ANSWERE: 1
    46. To retrieve the current property value of the objects in your application during the run session.
    1. GetVisibleText
    2. GetROProperty
    3. SetROProperty
    4. GetTOProperty

    ANSWERE: 2

    47. In data base check point we can not set the expected value from the test?
    1. True
    2. False
    ANSWERE: 2
    48. The list of test objects and their properties and values are stored in the
    1. Object Repository
    2. Object Identification
    ANSWERE: 1

    49. The method used to continue the test execution after getting run-time error is
    1. On Error Resume Next
    2. On Error Raise Next
    3. On Error Nexthttp://www.stestuff.com/50-qtp-certification-questions-and-answers/

    ANSWERE: 1

    50.Object repository file extension is?
    1.  .Obj
    2.  .Orf
    3.  .Tsr
    ANSWERE: 3

    HP QTP Certification HP-M016 Practice Exam Questions - 2

    Q1. The Command used to insert the transactions in test is:
    A. StartTransaction(Name�), EndTransaction(Name�)
    B. Services.StartTransaction "Name", Services.EndTransaction "Name"
    C. StartTransaction.services "Name�, EndTransaction.services "Name"
    Q2. A step in which one or more values are captured at a specific point in your test and stored for the duration of the run session is:
    A. Output Value
    B. Checkpoints
    C. Active Screen
    Q3. QTP can detects an application crash and activate a defined recovery scenario to continue the run session.
    A. True
    B. false
    Q4. In Batch Test process, the test list are saved in file format as:
    A. *.mtb
    B. *.mts
    C. *.mbt
    D. *.mtr
    Q5. The command used to invoke other application from QTP:
    A. InvokeApplication
    B. SystemUtil.Run
    C. Run
    D. Both b & c
    E. Both a & b
    Q6. The command used to retrieve data from excel sheet is
    A. Set ab = Connection("srcfilepath ") , Set ws = ab.getdata(sheetid)
    B. Set ab = CreateObject("srcfilepath ") , Set ws = ab.getsheet(sheetid)
    C. Set ab = GetObject("srcfilepath") , Set ws = ab.worksheets(sheetid)
    Q7. The method that explicitly activates the recovery scenario mechanism is:
    A. recovery.activate
    B. enable
    C. recovery.enable
    D. activate
    Q8. The method used for sending information to the test results is:
    A. Reporter.log()
    B. Reporter.reportevent()
    C. Reporter.msgbox()
    D. Reporter.report()
    Q9. To terminate an application that is not responding we use:
    A. SystemUtil.terminate
    B. SystemUtil.Stop
    C. SystemUtil.CloseProcessByName
    Q10. The recovery mechanism does not handle triggers that occur in the last step of a test:
    A. false
    B. True
    Q11. We can add Test object methods, function calls into the Test using:
    A. Function generator
    B. Step generator
    C. Object repository
    Q12. The method that adds to the test while implementing synchronization is:
    A. Synchronize
    B. Wait
    C. WaitProperty
    D. Pause
    Q13. The mechanism used to identify objects during run session is:
    A. Recovery scenario
    B. Smart identification
    C. Handling object
    Q14. Post-recovery test run options specifies:
    A. how to continue the run session after QTP identify the event
    B. errors while running
    C. recovery scenario during a run session
    Q15. The action that can be called multiple times by the test as well as by other tests is called:
    A. non-reusable action
    B. Reusable action
    C. External action
    Q16. The command used to connect with Database is:
    A. Createobject(connectivity name�)
    B. dbconnect(connectivity name)
    C. open(connectivity name)
    D. None of the above
    Q17. The method used to retrieve the folders is:
    A. FileSystemObject.Getfolder()
    B. FileSystemObject.selectfolder()
    C. FileSystemObject.retrievefolder()
    Q18. The method used to compare 2 XML files is:
    A1. XMLfile1.compare(XMLfile2)
    B. XMLcompare(file1,file2)
    C. compare(XMLfile1,XMLfile2)
    Q19. The QTP script files are stored in the extension of:
    A. *.mts
    B. *.usr
    C. *.mtr
    D. *.vbs
    Q20. The method used to register the user-defined function with test object is:
    A. setFunc()
    B. RegisterUserFunc()
    C. RegisterFunc()
    Q21. The method used to open the specified URL in a browser is:
    A. openURL()
    B. navigateURL()
    C. navigate()
    Q22. The 3 Parameter types available in data driver is:
    A. DataTable,Environment,Random number
    B. DataTable,random number,unique
    C. environment,string,numeric
    Q23. The method added to the test while parameterizing is:
    A. get Data (variable, dtGlobalSheet)
    B. get DataTable(variable, dtGlobalSheet)
    C. Set Data(variable, dtGlobalSheet)
    D. Set DataTable(variable, dtGlobalSheet)
    Q24. The length of the array can be get by the method:
    A. length(array)
    B. ubound(array)
    C. count(array)
    Q25. The method used to get the count value of list box or combo box is:
    A. GetItemsCount
    B. GetCount
    C. GetItemCount
    Q26. To retrieve the current the objects in your application during the run session:
    A. GetVisibleText
    B. GetROProperty
    C. SetROProperty
    D. GetTOProperty
    Q27. The list of test objects and their properties and values are stored in the:
    A. Object Repository
    B. Object Identification
    Q28. The method used to continue the test execution after getting run-time error is:
    1. On Error Resume Next
    2. On Error Raise Next
    3. On Error Next

    HP QTP Certification HP-M016 Practice Exam Questions - 1

    Q1. How many tabs are there in Test Settings (File->Settings) window
    A) 5
    B) 6
    C) 7
    D) 8

    Q2. 'Browser navigation timeout' is in which tab of Test Settings (File->Settings) window?A) Properties
    B) Resources
    C) Web
    D) Web Settings

    Q3. Identify the tabs in the Test Settings (File->Settings) window
    A) Properties, Run, Resources, Parameters, Environment, Web, Recovery
    B) Properties, Run, Resources, Parameters, Environment, Web Settings,Recovery
    C) Properties, Run Options, Resources, Parameters, Environment, Web, Recovery
    D) Properties, Run, Resources, Input Parameters, Environment, Web, Recovery

    Q4. 'Generate Script' is in which tab of Test Settings (File->Settings) window
    A) Properties
    B) Resources
    C) Web
    D) Recovery

    Q5. For each object and method in an Expert View statement, a corresponding row exists in the Keyword View.
    A) True
    B) False
    C) There is some problem with the statement.
    D) None of above

    Q6. The following are the four main columns in the Keyword view
    A) Item, Operation, Value, Comments
    B) Item, Operation, Value, Documentation
    C) Item, Operation, Property, Documentation
    D) Number, Operation, Value, Documentation

    Q7. You can work on one or several function libraries at the same time.
    A) True
    B) False

    Q8. You can insert additional steps on the test objects captured in the Active screen after the recording session.
    A) True
    B) False

    Q9. The Active Screen enables you to parameterize object values and insert checkpoints
    A) True
    B) False

    Q10. A QTP user can increase or decrease the active screen information saved with the test.
    A) True
    B) False

    Q11. The toolbar enables you to view the details of an individual action or the entire test flow is:
    A. Testing toolbar
    B. None of the above
    C. Action toolbar
    D. Test Pane

    Q12. The key that is used to Start/End analog recording mode ?
    A. F3
    B. SHIFT+ALT+F3
    C. CTRL+SHIFT+F3
    D. F10

    Q13. QuickTest supports virtual object for analog or low-level recording.
    A. False
    B. True

    Q14. To use a specific property to identify your object, but that property is not listed in the properties list. Then how do you identify that object?
    A. Add the specific property to the list
    B. Use the Default property
    C. Use some other property to identify your object

    Q15. The checkpoint used to check the alt attribute exists for all relevant objects (such as images) is
    A. Database CheckPoint
    B. Accessibility checkpoint
    C. Bitmap checkpoint
    D. Standard checkpoint
    Q16. Bitmap checkpoint is supported in VB environment.
    A. True
    B. False

    Q17. Can we parameterize the checkpoints properties?
    A. No
    B. Yes

    Q18. What is the shortcut key that is used for a Standard Checkpoint?
    A. F12
    B. F2
    C. F10
    D. F7

    Q19. Can we change name of checkpoint?
    A. No
    B. Yes

    Q20. To compare the values of the specified property during a run session with the values stored for the same test object property within the test.
    A. Checkpoint
    B. All the above
    C. Output Value
    D. Compare the object property

    Q21. You will use which recording mode for an object not recognized by QuickTest?
    A. Low-Level Recording Mode
    B. Normal recording Mode
    C. Analog Mode

    Q22. The statement that calls the recorded analog file is:
    A. RunAnalog
    B. CallAnalog
    C. ExecuteAnalog

    Q23. An action can be called by other tests or actions is:
    A. Call Action
    B. Split Action
    C. Reusable Action

    Q24. You can replace the page in your Active Screen tab:
    A. False
    B. True

    Q25. QuickTest adds a checkpoint statement in the Expert View as:
    A. Check Checkpoint
    B. Checkpoint

    Q26. A Checkpoint checks that a text string is displayed within a defined area in a Windows application is:
    A. Accessibility
    B. Text Area
    C. Standard
    D. Text

    Q27. In ACTIVE X environment, an ACCESSIBILITY checkpoint is supported?
    A. No
    B. Yes

    Q28. Can we get the execution time for an action in a Test?
    A. Yes
    B. No

    Q29. Can we add external library files in QTP?
    1. No
    2. Yes

    Q30. The method used to get data from HTML Table is
    A. GetData(Row,Col)
    B. GetRowValue(Rowid,Colname)
    C. GetCellData (Row,Col)

    Wednesday, April 14, 2010

    Top 25 common programming bugs every tester should know

    Just a quick note to share a useful resource with you. Just came across a good article 25 common programming errors for software programmers and software testers. Basically this is more useful for programmers but I think software testers can get insight on how developers can unknowingly leave bugs in software programs.
    Each bug listed in this resource can lead to serious software vulnerabilities if not fixed. The top 25 security bugs list will help programmers to avoid some common but serious coding mistakes. For software testers list will be useful as a security testing checklist for Internet as well as for testing desktop application.
    Here are few top security vulnerabilities discussed in detail in this article:
    •  Improper input validation
    •  Improper escaping of output or encoding
    •  SQL injection
    •  Cross-site scripting
    •  Race conditions
    •  Information leak in error messages
    •  Error while transmitting sensitive information
    •  Memory leak
    •  External control of critical data and file paths
    •  Improper initialization
    •  Improper authorization
    •  Client side security checks
    I think, the most common security vulnerability mistake developers make is “Client side enforcement of server side security”.

    Difference between Desktop, Client server and Web testing

    Each one differs in the environment in which they are tested and you will lose control over the environment in which application you are testing, while you move from desktop to web applications.

    Desktop application runs on personal computers and work stations, so when you test the desktop application you are focusing on a specific environment. You will test complete application broadly in categories like GUI, functionality, Load, and backend i.e DB.
    In client server application you have two different components to test. Application is loaded on server machine while the application exe on every client machine. You will test broadly in categories like, GUI on both sides, functionality, Load, client-server interaction, backend. This environment is mostly used in Intranet networks. You are aware of number of clients and servers and their locations in the test scenario.
    Web application is a bit different and complex to test as tester don’t have that much control over the application. Application is loaded on the server whose location may or may not be known and no exe is installed on the client machine, you have to test it on different web browsers. Web applications are supposed to be tested on different browsers and OS platforms so broadly Web application is tested mainly for browser compatibility and operating system compatibility, error handling, static pages, backend testing and load testing.
    I think this will have an idea of all three testing environment. Keep in mind that even the difference exist in these three environment, the basic quality assurance and testing principles remains same and applies to all.

    What is client-server and web based testing and how to test these applications

    What is the difference between client-server testing and web based testing and what are things that we need to test in such applications?
    Ans:
    Projects are broadly divided into two types of:
    • 2 tier applications
    • 3 tier applications
    CLIENT / SERVER TESTING
    This type of testing usually done for 2 tier applications (usually developed for LAN)
    Here we will be having front-end and backend.
    The application launched on front-end will be having forms and reports which will be monitoring and manipulating data
    E.g: applications developed in VB, VC++, Core Java, C, C++, D2K, PowerBuilder etc.,
    The backend for these applications would be MS Access, SQL Server, Oracle, Sybase, Mysql, Quadbase
    The tests performed on these types of applications would be
    - User interface testing
    - Manual support testing
    - Functionality testing
    - Compatibility testing & configuration testing
    - Intersystem testing
    WEB TESTING
    This is done for 3 tier applications (developed for Internet / intranet / xtranet)
    Here we will be having Browser, web server and DB server.
    The applications accessible in browser would be developed in HTML, DHTML, XML, JavaScript etc. (We can monitor through these applications)
    Applications for the web server would be developed in Java, ASP, JSP, VBScript, JavaScript, Perl, Cold Fusion, PHP etc. (All the manipulations are done on the web server with the help of these programs developed)
    The DBserver would be having oracle, sql server, sybase, mysql etc. (All data is stored in the database available on the DB server)
    The tests performed on these types of applications would be
    - User interface testing
    - Functionality testing
    - Security testing
    - Browser compatibility testing
    - Load / stress testing
    - Interoperability testing/intersystem testing
    - Storage and data volume testing
    A web-application is a three-tier application.
    This has a browser (monitors data) [monitoring is done using html, dhtml, xml, javascript]-> webserver (manipulates data) [manipulations are done using programming languages or scripts like adv java, asp, jsp, vbscript, javascript, perl, coldfusion, php] -> database server (stores data) [data storage and retrieval is done using databases like oracle, sql server, sybase, mysql].
    The types of tests, which can be applied on this type of applications, are:
    1. User interface testing for validation & user friendliness
    2. Functionality testing to validate behaviors, i/p, error handling, o/p, manipulations, services levels, order of functionality, links, content of web page & backend coverage’s
    3. Security testing
    4. Browser compatibility
    5. Load / stress testing
    6. Interoperability testing
    7. Storage & data volume testing
    A client-server application is a two tier application.
    This has forms & reporting at front-end (monitoring & manipulations are done) [using vb, vc++, core java, c, c++, d2k, power builder etc.,] -> database server at the backend [data storage & retrieval) [using ms access, sql server, oracle, sybase, mysql, quadbase etc.,]
    The tests performed on these applications would be
    1. User interface testing
    2. Manual support testing
    3. Functionality testing
    4. Compatibility testing
    5. Intersystem testing
    Some more points to clear the difference between client server, web and desktop applications:
    Desktop application:
    1. Application runs in single memory (Front end and Back end in one place)
    2. Single user only
    Client/Server application:
    1. Application runs in two or more machines
    2. Application is a menu-driven
    3. Connected mode (connection exists always until logout)
    4. Limited number of users
    5. Less number of network issues when compared to web app.
    Web application:
    1. Application runs in two or more machines
    2. URL-driven
    3. Disconnected mode (state less)
    4. Unlimited number of users
    5. Many issues like hardware compatibility, browser compatibility, version compatibility, security issues, performance issues etc.
    As per difference in both the applications come where, how to access the resources. In client server once connection is made it will be in state on connected, whereas in case of web testing http protocol is stateless, then there comes logic of cookies, which is not in client server.
    For client server application users are well known, whereas for web application any user can login and access the content, he/she will use it as per his intentions.
    So, there are always issues of security and compatibility for web application.

    Test Plan Template

    Its a Index of Test plan only.
    Each point will help you to elaborate your test plan step by step.
    Take this as a guideline and develop a full Test plan for Your project.

    Table of Contents :
    1. Introduction
    1.1. Test Plan Objectives
    2. Scope
    2.1. Data Entry
    2.2. Reports File Transfer
    2.3. File Transfer
    2.4. Security
    3. Test Strategy
    3.1. System Test
    3.2. Performance Test
    3.3. Security Test
    3.4. Automated Test
    3.5. Stress and Volume Test
    3.6. Recovery Test
    3.7. Documentation Test
    3.8. Beta Test
    3.9. User Acceptance Test
    4. Environment Requirements
    4.1. Data Entry workstations
    4.2 MainFrame
    5. Test Schedule
    6. Control Procedures
    6.1 Reviews
    6.2 Bug Review meetings
    6.3 Change Request
    6.4 Defect Reporting
    7. Functions To Be Tested
    8. Resources and Responsibilities
    8.1. Resources
    8.2. Responsibilities
    9. Deliverables
    10. Suspension / Exit Criteria
    11. Resumption Criteria
    12. Dependencies
    12.1 Personnel Dependencies
    12.2 Software Dependencies
    12.3 Hardware Dependencies
    12.3 Test Data & Database
    13. Risks
    13.1. Schedule
    13.2. Technical
    13.3. Management
    13.4. Personnel
    13.5 Requirements
    14. Tools
    15. Documentation
    16. Approvals

    Test plan sample: SoftwareTesting and Quality assurance Templates

    Test plan is in high demand. Ya it should be! Test plan reflects your entire project testing schedule and approach. This article is in response to those who have demanded sample test plan.
    In my previous article I have outlined Test plan Index. In this article I will elaborate that index to what each point mean to do. So this Test plan will include the purpose of test plan i. e to prescribe the scope, approach, resources, and schedule of the testing activities. To identify the items being tested, the features to be tested, the testing tasks to be performed, the personnel responsible for each task, and the risks associated with this plan.

    Find what actually you need to include in each index point.

    Test Plan Template:
    (Name of the Product)
    Prepared by:
    (Names of Preparers)
    (Date)
    TABLE OF CONTENTS
    1.0 INTRODUCTION
    2.0 OBJECTIVES AND TASKS
    2.1 Objectives
    2.2 Tasks
    3.0 SCOPE
    4.0 Testing Strategy
    4.1 Alpha Testing (Unit Testing)
    4.2 System and Integration Testing
    4.3 Performance and Stress Testing
    4.4 User Acceptance Testing
    4.5 Batch Testing
    4.6 Automated Regression Testing
    4.7 Beta Testing
    5.0 Hardware Requirements
    6.0 Environment Requirements
    6.1 Main Frame
    6.2 Workstation
    7.0 Test Schedule
    8.0 Control Procedures
    9.0 Features to Be Tested
    10.0 Features Not to Be Tested
    11.0 Resources/Roles & Responsibilities
    12.0 Schedules
    13.0 Significantly Impacted Departments (SIDs)
    14.0 Dependencies
    15.0 Risks/Assumptions
    16.0 Tools
    17.0 Approvals
    1.0 INTRODUCTION
    A brief summary of the product being tested. Outline all the functions at a high level.
    2.0 OBJECTIVES AND TASKS
    2.1 Objectives
    Describe the objectives supported by the Master Test Plan, eg., defining tasks and responsibilities, vehicle for communication, document to be used as a service level agreement, etc.
    2.2 Tasks
    List all tasks identified by this Test Plan, i.e., testing, post-testing, problem reporting, etc.
    3.0 SCOPE
    General
    This section describes what is being tested, such as all the functions of a specific product, its existing interfaces, integration of all functions.
    Tactics
    List here how you will accomplish the items that you have listed in the “Scope” section. For example, if you have mentioned that you will be testing the existing interfaces, what would be the procedures you would follow to notify the key people to represent their respective areas, as well as allotting time in their schedule for assisting you in accomplishing your activity?
    4.0 TESTING STRATEGY
    Describe the overall approach to testing. For each major group of features or feature combinations, specify the approach which will ensure that these feature groups are adequately tested. Specify the major activities, techniques, and tools which are used to test the designated groups of features.
    The approach should be described in sufficient detail to permit identification of the major testing tasks and estimation of the time required to do each one.
    4.1 Unit Testing
    Definition:
    Specify the minimum degree of comprehensiveness desired. Identify the techniques which will be used to judge the comprehensiveness of the testing effort (for example, determining which statements have been executed at least once). Specify any additional completion criteria (for example, error frequency). The techniques to be used to trace requirements should be specified.
    Participants:
    List the names of individuals/departments who would be responsible for Unit Testing.
    Methodology:
    Describe how unit testing will be conducted. Who will write the test scripts for the unit testing, what would be the sequence of events of Unit Testing and how will the testing activity take place?
    4.2 System and Integration Testing
    Definition:
    List what is your understanding of System and Integration Testing for your project.
    Participants:
    Who will be conducting System and Integration Testing on your project? List the individuals that will be responsible for this activity.
    Methodology:
    Describe how System & Integration testing will be conducted. Who will write the test scripts for the unit testing, what would be sequence of events of System & Integration Testing, and how will the testing activity take place?
    4.3 Performance and Stress Testing
    Definition:
    List what is your understanding of Stress Testing for your project.
    Participants:
    Who will be conducting Stress Testing on your project? List the individuals that will be responsible for this activity.
    Methodology:
    Describe how Performance & Stress testing will be conducted. Who will write the test scripts for the testing, what would be sequence of events of Performance & Stress Testing, and how will the testing activity take place?
    4.4 User Acceptance Testing
    Definition:
    The purpose of acceptance test is to confirm that the system is ready for operational use. During acceptance test, end-users (customers) of the system compare the system to its initial requirements.
    Participants:
    Who will be responsible for User Acceptance Testing? List the individuals’ names and responsibility.
    Methodology:
    Describe how the User Acceptance testing will be conducted. Who will write the test scripts for the testing, what would be sequence of events of User Acceptance Testing, and how will the testing activity take place?
    4.5 Batch Testing
    4.6 Automated Regression Testing
    Definition:
    Regression testing is the selective retesting of a system or component to verify that modifications have not caused unintended effects and that the system or component still works as specified in the requirements.
    Participants:
    Methodology:
    4.7 Beta Testing
    Participants:
    Methodology:
    5.0 HARDWARE REQUIREMENTS
    Computers
    Modems
    6.0 ENVIRONMENT REQUIREMENTS
    6.1 Main Frame
    Specify both the necessary and desired properties of the test environment. The specification should contain the physical characteristics of the facilities, including the hardware, the communications and system software, the mode of usage (for example, stand-alone), and any other software or supplies needed to support the test. Also specify the level of security which must be provided for the test facility, system software, and proprietary components such as software, data, and hardware.
    Identify special test tools needed. Identify any other testing needs (for example, publications or office space). Identify the source of all needs which are not currently available to your group.
    6.2 Workstation
    7.0 TEST SCHEDULE
    Include test milestones identified in the Software Project Schedule as well as all item transmittal events.
    Define any additional test milestones needed. Estimate the time required to do each testing task. Specify the schedule for each testing task and test milestone. For each testing resource (that is, facilities, tools, and staff), specify its periods of use.
    8.0 CONTROL PROCEDURES
    Problem Reporting
    Document the procedures to follow when an incident is encountered during the testing process. If a standard form is going to be used, attach a blank copy as an “Appendix” to the Test Plan. In the event you are using an automated incident logging system, write those procedures in this section.
    Change Requests
    Document the process of modifications to the software. Identify who will sign off on the changes and what would be the criteria for including the changes to the current product. If the changes will affect existing programs, these modules need to be identified.
    9.0 FEATURES TO BE TESTED
    Identify all software features and combinations of software features that will be tested.
    10.0 FEATURES NOT TO BE TESTED
    Identify all features and significant combinations of features which will not be tested and the reasons.
    11.0 RESOURCES/ROLES & RESPONSIBILITIES
    Specify the staff members who are involved in the test project and what their roles are going to be (for example, Mary Brown (User) compile Test Cases for Acceptance Testing). Identify groups responsible for managing, designing, preparing, executing, and resolving the test activities as well as related issues. Also identify groups responsible for providing the test environment. These groups may include developers, testers, operations staff, testing services, etc.
    12.0 SCHEDULES
    Major Deliverables
    Identify the deliverable documents. You can list the following documents:
    - Test Plan
    - Test Cases
    - Test Incident Reports
    - Test Summary Reports
    13.0 SIGNIFICANTLY IMPACTED DEPARTMENTS (SIDs)
    Department/Business Area Bus. Manager Tester(s)
    14.0 DEPENDENCIES
    Identify significant constraints on testing, such as test-item availability, testing-resource availability, and deadlines.
    15.0 RISKS/ASSUMPTIONS
    Identify the high-risk assumptions of the test plan. Specify contingency plans for each (for example, delay in delivery of test items might require increased night shift scheduling to meet the delivery date).
    16.0 TOOLS
    List the Automation tools you are going to use. List also the Bug tracking tool here.
    17.0 APPROVALS
    Specify the names and titles of all persons who must approve this plan. Provide space for the signatures and dates.
    Name (In Capital Letters) Signature Date
    1.
    2.
    3.
    4.

    How to find a bug in application? Tips and Tricks

    A very good and important point. Right? If you are a software tester or a QA engineer then you must be thinking every minute to find a bug in an application. And you should be!
    I think finding a blocker bug like any system crash is often rewarding! No I don’t think like that. You should try to find out the bugs that are most difficult to find and those always misleads users.

    Finding such a subtle bugs is most challenging work and it gives you satisfaction of your work. Also it should be rewarded by seniors. I will share my experience of one such subtle bug that was not only difficult to catch but was difficult to reproduce also.
    I was testing one module from my search engine project. I do most of the activities of this project manually as it is a bit complex to automate. That module consist of traffic and revenue stats of different affiliates and advertisers. So testing such a reports is always a difficult task. When I tested this report it was showing the data accurately processed for some time but when tried to test again after some time it was showing misleading results. It was strange and confusing to see the results.
    There was a cron (cron is a automated script that runs after specified time or condition) to process the log files and update the database. Such multiple crons are running on log files and DB to synchronize the total data. There were two crons running on one table with some time intervals. There was a column in table that was getting overwritten by other cron making some data inconsistency. It took us long time to figure out the problem due to the vast DB processes and different crons.
    My point is try to find out the hidden bugs in the system that might occur for special conditions and causes strong impact on the system. You can find such a bugs with some tips and tricks.
    So what are those tips:
    1) Understand the whole application or module in depth before starting the testing.
    2) Prepare good test cases before start to testing. I mean give stress on the functional test cases which includes major risk of the application.
    3) Create a sufficient test data before tests, this data set include the test case conditions and also the database records if you are going to test DB related application.
    4) Perform repeated tests with different test environment.
    5) Try to find out the result pattern and then compare your results with those patterns.
    6) When you think that you have completed most of the test conditions and when you think you are tired somewhat then do some monkey testing.
    7) Use your previous test data pattern to analyse the current set of tests.
    8) Try some standard test cases for which you found the bugs in some different application. Like if you are testing input text box try inserting some html tags as the inputs and see the output on display page.
    9) Last and the best trick is try very hard to find the bug ;-) As if you are testing only to break the application!

    Why Documentation is Important in Software Testing

    In my Software Testing career, I never heard people talking much about software testing documentation. The general opinion about testing documentation is that, anyone who has free time can do the documentation like Test case, Test plan, status report, Bug report, project proposal etc.
    Even I did not stress more on the documentation, but I can say it’s my habit to place all the data in black and white and to update others about that as well.
    Just want to share my experience with you:
    We had delivered a project (with an unknown issue in that) to one of our client (angry client). And they found issue at Client side, which was very bad situation for us, and as usual all blame was on QA’s. The issue was something regarding compatibility of one website. When it came to me, I was having proof that I didn’t get such requirement document which state I have to check compatibility of the website also. Thank god I was safe. That was the lesson for me, I realized importance of documentation and from that day I started to work on documents and created testing documents like Test plan, Test cases, sanity testing checklist, bug report and many.
    “Ink is better than the best memory” - Chinese proverb
    Software Testing Documentation: What’s that?
    We all read various articles on testing technologies and methods, but how many of us have seen articles on documentation? No doubt there are few, Is it that documents are not important? No, but its’ because we have not yet realized importance of documents.
    But, if we observe then the fact is, projects that have all the documents have high level of maturity. Most companies do not give even a little importance to the documentation as much they give to software development process. If we search on web then we can find various templates on how to create various types of documents. But how many of them are really used by organizations or individuals?
    Fact is that, careful documentation can save an organization’s time, efforts and money. While going for any type of certification, why there is stress given on documentation, it’s just because it shows importance of client and processes to individual and organization. Unless you are able to produce document that is comfortable to user no matter how good your product is, no one is going to accept it.
    It’s my experience, we own one product, which is having a bit confusing functionality. When I started working on that I asked for some help documents to Manager and I got answer “No, we don’t have any documents” Then I made an issue of that, because as a QA I knew, no one can understand how to use the product without documents or training. And if user is not satisfied, how we are going to make money out of that product?
    “Lack of documentation is becoming a problem for acceptance” - Wietse Venema

    Even same thing is applicable for User manuals. Take an example of Microsoft, they launch every product with proper documents, even for Office 2007 we have such documents, which are very explanatory and easy to understand for any user. That’s one of the reasons that all their products are successful.
    In small companies, we always heard “project rejects in proposal or kickoff phase” it’s just because proposal documentation lacks concise and expressive language, and to show the capability of the organization. It’s not that small companies can’t deliver good quality projects but it’s their inability to express their capability. (Me also working with a small organization of 80 employees, and I heard this many time)
    I personally feel Quality is the only department that can make it possible. We are the only department, which can argue on this and can provide successful future to our organizations.
    Let’s organize all discussion in few points in quality perspective:
    - Clarify quality objective and methods
    - Ensure clarity about tasks and consistency of performance
    - Ensure internal co-ordination in client work
    - Provide feedback for preventive actions
    - Provide feedback for your planning cycle
    - Create objective evidence of your quality management system’s performance
    There are hundreds of documents used in software development and testing life cycle. Here I am listing few important software testing documents that we need to use/maintain regularly:
    1) Test plan
    2) Test design and Test case specification
    3) Test Strategy
    4) Test summary reports
    5) Weekly Status Report
    6) User Documents/ manuals
    7) User Acceptance Report
    8 ) Risk Assessment
    9) Test Log
    10) Bug reports
    11) Test data
    12) Test analysis
    Also Software testers regularly need refer following documents:
    1) Software requirement specifications
    2) Functional documents
    Summary:
    Software Testing Documents always play an important role in Project development/testing phase. So always keep things documented whenever possible. Don’t rely on verbal communication. Be always on safe side. Documentation will not only save you but also help organization in long run saving thousands of dollars on training and more importantly on fixing issues caused due to lack of development and testing documents. Don’t document just to avoid finger pointing on you, but habit of documentation will certainly bring a systematic approach in your testing process, leaving the ad hoc testing behind.
    I will soon post “Why doing it is Important” second part of this post.