1. What does ChildObject Method Return
a. A Collection Object
b. A string true/false
c. A Boolean True/False
d. The Number of objects matching the child object descriptions
Ans: a
2. How can you make a test bypass the Object Repository during Test Run.
a. Turn the Object Repository Off
b. Use a programmatic Description
c. Delete all objects in all repositories
d. Add the Object in Object Repository Manager
Ans: b
3. When a test is run in Update mode, what options can you select? Select Three
a. the datatable
b. Check point properties
c. Test Object Description
d. Action Names in the test
e. Logical Names in the test
f. Active Screen Images and Values
4. What Object is used to read information from text file
a. Read
b. ReadLine
c. TextStream
d. FileStream
e. OpenTextFile
5. What can you use to handle unpredictable exceptions
a. A Do Loop
b. Recovery Scenario
c. If Then Else
d. Select Case Statemtn
Ans: b
6. You have just stopped recording steps into your tests. Your application under step is still up and visible on your screen. You now wish to add checkpoints into your test using the menu command, insert > Checkpoint from the toolbar. Which checkboxes are available to you? Select two
a. Text checkpoint
b. XML checkpoint
c. Bitmap checkpoint
d. TextArea checkpoint
7. Browser Navigation Timeout is in which tab of Test Settings
a. Properties
b. Resources
c. Web
d. Web Settings
Ans: c
8. How many tabs are present in Test Settings (File > Settings) window
a. 7
b. 6
c. 5
d. 8
Ans: a
9. 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, Parameters, Environment, Web, Recovery
d. Properties, Run, Resources, Input Parameters, Environment, Web, Recovery
Ans: a
10.'Generate Script' is in which tab of Test Settings (File > Settings) window
a. Properties
b. Web
c. Resources
d. Recovery
Ans: a
11. The following are the 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
Ans: b
12. 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 a problem with the statement
d. None of the above
Ans: a
13. You can work with one or several function libraries at the same time
a. True
b. False
Ans: a
14. You can insert additional steps on the test objects captured in the Active Screen after the recording session
a. True
b. False
Ans: a
15. Active screen enables you to parameterize object values and insert checkpoints
a. True
b. False
Ans: a
16. A QTP user can increase or decrease the active screen information saved with the test.
a. True
b. False
Ans: a
17. The information pane provides a list of .... in the test.
a. Semantic error
b. Syntax error
c. Common errors
d. Logical errors
Ans: b
18. When we switch from Expert view to Keyword view, QTP automatically checks for syntax errors and shows them in the information pane.
a. True
b. False
Ans: a
19. If the information pane is not open, QTP automatically opens it incase a syntax error is detected
a. True
b. False
Ans: a
20. Is it possible to automate all the test cases?
Ans: No, it is not possible to automate all the test cases. We need to pick the test cases that can be automated.
21. Which QTP method can be used to get the value of an object property during runtime?
Ans: GetROProperty
22. Will SetTOProperty method make any change in the Object Repository?
Ans: No, it won’t make any change in the Object Repository. It will just affect the way QTP identifies the object during runtime.
23. How will you read the Test Object property using scripting?
Ans: We can use the “GetTOProperty” method.
24. What is the use of GetTOProperties method?
Ans: This method will be used for getting all the properties and their values of a Test Object.
25. How to use Object Spy if the required object is not visible (i-e window of the the object is not active)?
Ans: Maximize the window or bring it into the top active window while holding Ctl key after clicking the hand symbol button pointer in the Object Spy dialog box. Once the object is visible, release the Ctl key to use the object spy functionality.
26. How can we close the application process in task manager using QTP?
Ans:
1. CloseProcessByName:- Closes a process based on its name
SystemUtil.CloseProcessByName(applicationname)
2. CloseProcessById :- Closes a process according to its Process ID (PID)
3. CloseProcessByWndTitle :- Closes a task based on titile of the Window.
27. What will you do, If an object is not identified by the tool?
Ans: We use Virtual Object for identifying the object in the application.
Monday, April 11, 2011
Wednesday, March 30, 2011
Friday, March 25, 2011
Monday, February 21, 2011
Introduction
QC is developed by Mercury Interactive Owned by HP Presently.
Quality Center is a Web Based Test Management Tool. QC is formally known as Test Director.
Quality Center provides:
1. Common Repository
2. Automatic Traceability Matrix
3. Bug Tracking Facility
4. Automatic Reports and Graph Generator
The following activities can be managed or organized using Quality Center:
1. Requirements Coverage
2. Test Case Management
3. Test Execution Reporting
4. Defect Management
5. Test Automation
Quality Center can be divided into parts:
1. Site Administrator Bin
2. Quality Center Bin
Site Administrator Bin: This part is used for all the administrative activities. From this part of the Quality Center, we generally do the following activities.
- Creating the projects
- Assigning users to the projects
- Creating specific roles
- Configuring QTP or Win Runner Scripts
- Verifying licencing information
- Information about Database
Quality Center Bin: This part is used by testers or test manager. From this part of Quality Center, we generally do the following activities.
- Defining Requirements
- Creating Test Plan
- Creating Test Cases
- Creating Test Lab
- Creating Defects
Microsoft Quality Center is installed as a service in Microsoft Windows Environment. Before Start working on it, make sure that microsoft quality center service is running.
Microsoft Quality Center provide role based access to the projects. For example, Test Manager can create a project, Test Lead can create test plan and tester can write test cases.
Quality Center can be divided in to 6 sections:
1. Business Component
2. Requirements
3. Test Plan
4. Test Lab
5. Defects
6. Dash Board
Quality Center is a Web Based Test Management Tool. QC is formally known as Test Director.
Quality Center provides:
1. Common Repository
2. Automatic Traceability Matrix
3. Bug Tracking Facility
4. Automatic Reports and Graph Generator
The following activities can be managed or organized using Quality Center:
1. Requirements Coverage
2. Test Case Management
3. Test Execution Reporting
4. Defect Management
5. Test Automation
Quality Center can be divided into parts:
1. Site Administrator Bin
2. Quality Center Bin
Site Administrator Bin: This part is used for all the administrative activities. From this part of the Quality Center, we generally do the following activities.
- Creating the projects
- Assigning users to the projects
- Creating specific roles
- Configuring QTP or Win Runner Scripts
- Verifying licencing information
- Information about Database
Quality Center Bin: This part is used by testers or test manager. From this part of Quality Center, we generally do the following activities.
- Defining Requirements
- Creating Test Plan
- Creating Test Cases
- Creating Test Lab
- Creating Defects
Microsoft Quality Center is installed as a service in Microsoft Windows Environment. Before Start working on it, make sure that microsoft quality center service is running.
Microsoft Quality Center provide role based access to the projects. For example, Test Manager can create a project, Test Lead can create test plan and tester can write test cases.
Quality Center can be divided in to 6 sections:
1. Business Component
2. Requirements
3. Test Plan
4. Test Lab
5. Defects
6. Dash Board
Introduction
QC is developed by Mercury Interactive Owned by HP Presently.
Quality Center is a Web Based Test Management Tool. QC is formally known as Test Director.
Quality Center provides:
1. Common Repository
2. Automatic Traceability Matrix
3. Bug Tracking Facility
4. Automatic Reports and Graph Generator
The following activities can be managed or organized using Quality Center:
1. Requirements Coverage
2. Test Case Management
3. Test Execution Reporting
4. Defect Management
5. Test Automation
Quality Center can be divided into parts:
1. Site Administrator Bin
2. Quality Center Bin
Site Administrator Bin: This part is used for all the administrative activities. From this part of the Quality Center, we generally do the following activities.
- Creating the projects
- Assigning users to the projects
- Creating specific roles
- Configuring QTP or Win Runner Scripts
- Verifying licencing information
- Information about Database
Quality Center Bin: This part is used by testers or test manager. From this part of Quality Center, we generally do the following activities.
- Defining Requirements
- Creating Test Plan
- Creating Test Cases
- Creating Test Lab
- Creating Defects
Microsoft Quality Center is installed as a service in Microsoft Windows Environment. Before Start working on it, make sure that microsoft quality center service is running.
Microsoft Quality Center provide role based access to the projects. For example, Test Manager can create a project, Test Lead can create test plan and tester can write test cases.
Quality Center can be divided in to 6 sections:
1. Business Component
2. Requirements
3. Test Plan
4. Test Lab
5. Defects
6. Dash Board
Requirements:
Helps you to organise the project requirements.
You define Requirements by building Requirements Tree. This is a graphical representation of your requirement specification, defining your requirements hierarchically.
Requirement Specification Module helps in:
1. Grouping and sorting requirement in a tree
2. monitoring the task allocation
3. monitoring the progress in meeting requirements
4. generating detailed graphs and reports.
Major tasks under Requirement Specification Module are
1. Defining Requirements
2. Viewing Requirements
3. Modifying Requirements
4. Converting Requirements
Test Plan:
This module is used for designing the Test Cases and to store the Test Scripts.
Test Cases can be mapped with requirements, which are created. Each Requirement can be mapped with one or more test Case.
Test Lab:
This module is used for executing the Test Cases and Track the Results.
1. Building the Test Set
2. Execute the Test Set
3. Analyse the Results
Defects:
This module acts like a Bug Tracking Tool. It helps in Managing the Defects like, adding a defect, changing the status of the defect.
Dashboard:
This module enables you to define graphs and reports.
ReportYou can generate a report from Requirements, Test Plan, Test Lab and Defects.
Execution Report:enables project Manager to see a list of test instances and results.
Graph: To Generate the graph Choose Analysis > Graph > Group-Summary by Status
Live Analysis Graph: Provides a visual overview of all the tests within the folder in Test Plan Tree.
Summary Graph: enables to view the child requirements data related to the tests that the requirements cover
Coverage Progress Graph:
Defect Opening Rate Graph: Summarizes the number of defects detected in the selected release.
Outstanding Defects: Summarizes the number of outstanding defects in the selected release. By default, defects with the status of New, Open and ReOpen are displayed in the Graph.
Quality Center is a Web Based Test Management Tool. QC is formally known as Test Director.
Quality Center provides:
1. Common Repository
2. Automatic Traceability Matrix
3. Bug Tracking Facility
4. Automatic Reports and Graph Generator
The following activities can be managed or organized using Quality Center:
1. Requirements Coverage
2. Test Case Management
3. Test Execution Reporting
4. Defect Management
5. Test Automation
Quality Center can be divided into parts:
1. Site Administrator Bin
2. Quality Center Bin
Site Administrator Bin: This part is used for all the administrative activities. From this part of the Quality Center, we generally do the following activities.
- Creating the projects
- Assigning users to the projects
- Creating specific roles
- Configuring QTP or Win Runner Scripts
- Verifying licencing information
- Information about Database
Quality Center Bin: This part is used by testers or test manager. From this part of Quality Center, we generally do the following activities.
- Defining Requirements
- Creating Test Plan
- Creating Test Cases
- Creating Test Lab
- Creating Defects
Microsoft Quality Center is installed as a service in Microsoft Windows Environment. Before Start working on it, make sure that microsoft quality center service is running.
Microsoft Quality Center provide role based access to the projects. For example, Test Manager can create a project, Test Lead can create test plan and tester can write test cases.
Quality Center can be divided in to 6 sections:
1. Business Component
2. Requirements
3. Test Plan
4. Test Lab
5. Defects
6. Dash Board
Requirements:
Helps you to organise the project requirements.
You define Requirements by building Requirements Tree. This is a graphical representation of your requirement specification, defining your requirements hierarchically.
Requirement Specification Module helps in:
1. Grouping and sorting requirement in a tree
2. monitoring the task allocation
3. monitoring the progress in meeting requirements
4. generating detailed graphs and reports.
Major tasks under Requirement Specification Module are
1. Defining Requirements
2. Viewing Requirements
3. Modifying Requirements
4. Converting Requirements
Test Plan:
This module is used for designing the Test Cases and to store the Test Scripts.
Test Cases can be mapped with requirements, which are created. Each Requirement can be mapped with one or more test Case.
Test Lab:
This module is used for executing the Test Cases and Track the Results.
1. Building the Test Set
2. Execute the Test Set
3. Analyse the Results
Defects:
This module acts like a Bug Tracking Tool. It helps in Managing the Defects like, adding a defect, changing the status of the defect.
Dashboard:
This module enables you to define graphs and reports.
ReportYou can generate a report from Requirements, Test Plan, Test Lab and Defects.
Execution Report:enables project Manager to see a list of test instances and results.
Graph: To Generate the graph Choose Analysis > Graph > Group-Summary by Status
Live Analysis Graph: Provides a visual overview of all the tests within the folder in Test Plan Tree.
Summary Graph: enables to view the child requirements data related to the tests that the requirements cover
Coverage Progress Graph:
Defect Opening Rate Graph: Summarizes the number of defects detected in the selected release.
Outstanding Defects: Summarizes the number of outstanding defects in the selected release. By default, defects with the status of New, Open and ReOpen are displayed in the Graph.
Sunday, February 13, 2011
CoolTuts - General Help - General Computer Commands
To Restart the computer from run command:
shutdown /r
Windows Key shortcuts
Windows + E = Windows Explorer
Windows + M = Minimize all windows (show desktop)
Windows + Shift + M = Restore all windows (reset status from Windows + M)
Windows + Break = System Properties
Windows + R = Run dialog box
Alt+tab = Switch from one window to another - press Alt+tab to show a list of open windows
hold Alt and press Tab repeatedly to select a window, - release Alt to switch to the window you selected
shutdown /r
Windows Key shortcuts
Windows + E = Windows Explorer
Windows + M = Minimize all windows (show desktop)
Windows + Shift + M = Restore all windows (reset status from Windows + M)
Windows + Break = System Properties
Windows + R = Run dialog box
Alt+tab = Switch from one window to another - press Alt+tab to show a list of open windows
hold Alt and press Tab repeatedly to select a window, - release Alt to switch to the window you selected
CoolTuts - General Help - Telnet Commands
Telnet
To enable Telnet on your machine:
Control Panel-->Administrative Tools-->Services-->Telnet Server
To shut down the Computer using Telnet:
shutdown -u
To Restart the computer using Telnet
shutdown -r
To enable Telnet on your machine:
Control Panel-->Administrative Tools-->Services-->Telnet Server
To shut down the Computer using Telnet:
shutdown -u
To Restart the computer using Telnet
shutdown -r
Thursday, February 3, 2011
Subscribe to:
Posts (Atom)