Sunteți pe pagina 1din 35

1. What is Quality Center used for? Or What are the benefits and features of Quality Center ?

Quality Center is a comprehensive test management tool. It is a web-based tool and supports high level of communication and association among various stakeholders (Business Analyst, Developers , Testers etc. ) , driving a more effective and efficient global application-testing process. Automation Tools like QTP , WinRunner & LoadRunner can be integrated with Quality Center. One can also create reports and graphs for Analysis and Tracking for Test processes. 2. What is the difference between TestDirector and Quality Center? Quality Center is upgraded version of Test Director built by the same vendor Mercury (Now acquired by HP).Test Director Version 8.2 onwards is know as Quality Center. Quality Center is has enhanced Security/Test management /Defect management features when compared to Test Director. 3. What is the difference between Quality Center and Bugzilla? Quality Center is a test management tool which can also manage Defects apart from other features. BugZilla is Defect Management tool only. 4. What is the Purpose of Creating Child Requirement in TD /QC? By Creating Child requirements to the main requirement you can evaluate the sub requirements related to the main requirements. You can link test sets and defects to the sub-requirements. This helps in 100% test coverage and its analysis. Learn More About Requirements in the Video Tutorial here 4. What is Test Lab? In order to execute a Test Case (Developed in the Test Plan Module) either manual or automated it needs to imported into Test Lab Module. In sum, Test Cases are created in Test Plan Module while they are executed in Test Lab Module. 5. What is meant by Instance? A Test Case imported from Test Plan module to Test Lab module is called an Instance of that test case. It is possible to have multiple instances of the same Test Case in the Test Lab Module. 6. Is it possible to maintain test data in Quality Center? Yes. One can attach the test data to the corresponding test cases or create a separate folder in test plan to store them. 7. How to ensure that there is no duplication of bugs in Quality Center?

In the defect tracking window of QC, there is a find similar defect icon. When this icon is clicked after writing the defect, if anybody else has entered the same defect then it points it out. 8. What will be the status in Quality Center if you give "Suggestion" to the Developer? This is a trick question. You can give "Suggestion" to the developer using the Comments sections provided in QC. This is will not change the current status of Defect in QC. In sum, the status of the defect remains the same, as that before giving suggestion to the developer. 9. How will you generate the defect ID in Quality Center? The Defect ID is automatically generated after clicking Submit button. Learn More about Defect Creation in Quality Center in Video Tutorial here

10. Is 'Not covered' and 'Not run' status the same? Not Covered status means all those requirements for which the test cases are not written whereas Not Run status means all those requirements for which test cases are written but are not run. 11.How to import test cases from Excel / Word to Quality Center? 1.Install and Configure the Microsoft Excel / Word Add-In for Quality Center. 2. Map the Columns in Word / Excel spreadsheet with Columns available in Quality Center 3.Export the data from Word/Excel to Quality Center Using Tools >Export to Quality Center Option in Word/Excel. 4. Rectify errors if Any. 12. Can we export the file from Quality Centre to Excel / Word. If yes then how? Yes. Requirement tab Right click on main Req/click on export/save as word, excel or other template. This would save all the child requirements Test plan tab: Only individual test can be exported. No parent child export is possible. Select a test script, click on the design steps tab, right click anywhere on the open window. Click on export and save as. Test lab tab: Select a child group. Click on execution grid if it is not selected. Right click anywhere. Default save option is excel. But can be saved in documents and other formats

Defects Tab: Right click anywhere on the window, export all or selected defects and save excel sheet or document. 13. What is Business Component ? Quality Center provides Business Component for Business Process Testing (BPT). Many Enterprise Applications are a) complex and b) require extensive test scripts/case. A Test /Automation Engineer can not handle both complexity of Application Under Test as well as extensive test script/test case creation. Using Business Component, Subject Matter Experts ( who are experts on the Application Under Test ) can create tests in a script free environment without involving in the Nitty-gritty of test case/script designing. It helps increase test coverage and creates re-usable business components used for testing essential Business Processes. Development of Test Script / Cases is done by Automation / Test Engineer.

14.How can we save the tests Executed in test lab? The tests executed, are automatically saved when the user clicks on "END RUN" in the Test Lab Learn More About Running a Test Case in QC in the Video Tutorial here 15. How to export test cases from QTP into QC? To export test cases from QTP to QC, you first need to establish QTP-QC connection 1) In QTP , Go to File > Quality Center Connection. 2) Enter QC URL project name/domain/username/password and click on Login. QTP is now connected to QC. Next you can select the save the QTP Script in QC. 3) In QTP, Select File Menu > Save As > Save in QC 4 ) Select the Folder in QC where you wan to save the QTP Script 6) Click OK to Save. 16. How to use QTP as an automation tool in Quality Center ? You need to install QTP add-in in Quality Center (Usually done by Quality Center Administrator) . You then create and store QTP scripts in QC. Learn more about using QTP in Quality Center in Video Tutorial here 17. How to switch between two projects in Quality Center ? In QC 9.0 and above you can switch between two projects by select Tools>Change Projects>Select Project. In other version , you will need to log-off and log-in again. 18. What is the main purpose to storing requirement in Quality Center? You store requirements in Quality Center for following reasons

a) To ensure 100% coverage : You can create and track test plan / sets for the requirements stored in Quality Center to ensure all the requirements are tested. b) Easy Change Management : If any requirement changes during course of test case creation , the underlying test case is automatically highlighted and Test Engineer can change the test case to suite the new requirement. e) Ease of Tracking : Using Advanced Reporting & Graphs provided by QC , Managers can determine various metrics useful in project tracking and monitoring. 19. What is Coverage status, what does it do? Coverage status is percentage of testing covered at a given time. For Example, If you have 100 test cases in a project and you have executed 35 test cases than your coverage status of the project is 35% Coverage status is helps keep track of project deadline.

4. What types of requirement options can be added to test cases? There are two types of requirements: Parent Requirement High level functions Child requirements. Low level (sub-requirements of parents)

5. What are the main advantages of Quality Center? It is capable of performing manual and automated testing It takes all parts of the testing process into account, from test planning through defect tracking It ensures test coverage by linking requirements to the test cases It allows for test plans and requirements to be imported from Microsoft Excel

6. What do you have to use to upload test cases from Microsoft Excel? This can be done using the MS Excel add-in. This option can be installed from the Quality Center Add-In menu. Once this is completed, there will be a new menu option in MS Excel for exporting to Quality Center. 7. How are filters be used? Filters are used to sort the test results. A tester can easily find all pass or fail results using a filter. 8. What is the Test Lab? The Quality Centre Test Lab where tests are executed. Tests from the test plan can be added to test trees that run in various test cycles. 9. How can the defect management cycle be tailored in Quality Center? Once all of the defect attributes that will be tracked (i.e. version, details, etc.) are determined, use the Modify Options feature of Quality Center to customize. 10. Does Quality Center allow defect to be mapped directly to requirements?

No, defects are mapped indirectly to requirements through test cases.

11. Can test data be stored in TestDirector? Test data can be stored by attaching it to the matching test cases. It can also be saved into a separate folder in test plan. 12. Will test data be lost if you choose to upgrade from TestDirector to QC? If the instructions are followed, test data will not be lost when migrating from TestDirector to Quality Center. 13. How are test cases grouped? The tested decides how to group test cases. The tester has the option of creating several folders in the test plan to represent the test modules. They also have the option of creating sub-modules from there. 14. How does Quality Center compare to Bugzilla? Quality Center has much more functionality than Bugzilla. Bugzilla is a defect logging and tracking tool while Quality Center is a test management tool. In addition to being able to track defects, Quality Center is capable of managing requirements and test cases for both manual and automated tests and much more. 15. What reports are available in Quality Center? Some of the test reports that are available include those for requirements, test cases, defect tracking and more. They can be generated from any module and can also be customized using filters to include summaries, coverage, progress, and more. Customized report setting can be saved and reloaded for future testing. 16. Can one defect be mapped to more than one test script? A defect can be mapped to several different test scripts using the option called associate defect. 17. Do scripts have to be recorded in QTP or WinRunner before importing them into Quality Center? No, scripts can be recorded directly to Quality Center by first specifying the URL, user ID, password, project, etc and connecting to Quality Center. The recording tool has to be opened when doing this. The script can be saved to Quality Center rather than the local machine. 18. How can you be sure that bugs are not duplicated? The Find Similar Defect feature searches for defect duplication. 19. What information is in the test grid? The test grid contains all tests that are related to a project as well as a toolbar with controls that are frequently used when creating and modifying the tests. Filters used in the grid and test history are also displayed. 20. What views are available in TestDirector? There are three views available in TD:

Plan Test for preparation of test cases Run Test for test execution Track Defects for logging bugs 21. What are the Quality Center tabs? There are four tabs: requirements, test plan, Test Lab, and defects. 22. How can Quality Center be used in real-time projects? For real-time project, when the test cases are completed, they should be imported into Quality Center and loaded into a test plan. When test execution begins, test cases are moved to Test Lab. Test Lab executes the cases and assigns pass/fail/incomplete statuses. Graphs can be generated and defects attached. 23. What is the difference between Not run and Not covered statuses? The Not Run status indicates that the test cases associated with the requirements exist but have not been executed. The Not Covered status indicates that the test cases associated with the requirements do not exist yet. 24. What is the difference between QA Inspect and Web Inspect? The QA Inspect feature searched the full web application for vulnerabilities in security, prioritizes them, and provided detailed information and solution suggestions. Web Inspect, on the other hand, is often used as a security assessment for vulnerabilities in security for critical data. Web inspect is use the most by security experts and compliance auditors.

1) Test management with Quality Center involves . Phases. A) Four B) Five C) Six D) Seven 2) The phases of Test management with Quality Center in order are: A) Specify Releases, Specify Requirements, Plan Tests, Execute Tests, Track Defects B) Specify Requirements, Specify Releases, Plan Tests, Execute Tests, Track Defects C) Specify Requirements, Plan Tests, Specify Releases, Execute Tests, Track Defects D) Specify Releases, Specify Requirements, Plan Tests, Track Defects, Execute Tests 3) By creating a list of authorized users and assigning each user a password and user group, you control the kinds of additions and modifications each user makes to the project. A) True B) False 4) The .determines the privileges that the user has within a project.

A) User ID B) User Name C) User group D) User SID 5) You can import data from Word or Excel to a Quality Center project. A) True B) False 6) Quality Center 9.2 prompts you to install Microsoft .NET ...... if it is not already installed on your machine. A) Framework 2.0 B) Framework 1.0 C) Framework 3.0 D) Framework 4.0 7) When you connect to a project, the Quality Center main window opens and displays the module in which you were last working. A) True B) False 8) The .can change and override a user's properties or password. A) Global Administrator B) Site Administrator C) Administrator D) QC Administrator 9) You can filter Quality Center data to display only those records that meet the criteria that you define. How many filters can you define A) Single item as a filter B) Two items as a filter C) Multiple items as filter D) Five items as filter 10) In the test plan tree, you can define the filter for associated test sets as "Open". This ensures that only tests that belong to an open test set are displayed. A) Double B) Twice C) Cross D) Multiple 11) By default, records appear in Quality Center in the A) Increasing Order B) Decreasing Order

C) Order in which they were added D) None of these 12) You can save filter and sort information as a favorite view and then load it as needed. A) True B) False 13) You can copy and paste the filter, sort, and group by settings to another project. A) True B) False 14) You can also share the settings (filter, sort, and group by settings) with another user by pasting them to an e-mail or a text file. A) True B) False 15) When you use text search, the search ignores A) articles (a, an, the) B) coordinate conjunctions (and, but, for, nor, or); C) Boolean operators (and, or, not, if, or, then). D) All of above 16) You can export the data in a grid as a A) text file, B) Microsoft Excel worksheet, C) Microsoft Word document, or D) HTML document. E) All of above 17) .. alerting functions available in Quality Center A) Three B) Four C) Two D) Five 18) The alerting functions in Quality Center are: A) Automatic notification alerts, Follow up alerts B) Email alerts, Automatic notification alerts, Follow up alerts C) Defect alerts, Email alerts, Automatic notification alerts, Follow up alerts D) Final alerts, Email alerts, Automatic notification alerts, Follow up alerts 19) You can create traceability links between .. in the Requirements module. A) Requirements B) Test Cases

C) Tests D) Defects 20) You can associate a test instance with a defect. This is performed by creating ..in the Test Plan module, or by adding a defect during a manual test run. A) Linked Tests B) Linked Defects C) Linked Errors D) Linked Data Quality Center Multiple Choice Questions-2 21) You can view a list of alerts for a entity. A) A test in the test plan tree or Test Grid B) A test instance in the Execution Grid C) None of above D) Both A) & B) 22) A red flag indicates that the alert is......... A) New B) Old C) Follow up D) Urgent 23) A gray flag indicates that the alert .. A) New B) has already been read C) Follow up D) Urgent 24) A follow up flag is specific to your user login name. Anyone else viewing the record does not see your follow up alert. A) True B) False 25) Quality Center assigns the image a unique file name with a ..... extension. A) .jpeg B) .gif C) .doc D) .jpg 26) A ..is a view of a Quality Center window with the settings you apply to it. A) Personal View B) My view

C) Favorite View D) My QC View 27) You save favorite views in ........ A) Favorite folder B) Personal folder C) Both A) & B) D) Public & Private folder 28) You can define the number of views displayed on the menu by setting the .. parameter in the Site Configuration tab in Site Administration. A) favorites B) favorites_Depth C) favorites_view D) favorites_Path 29) The requirements specification workflow consists of the following: A) Define Testing Scope, Create Requirements, Detail Requirements, Assign to Releases, Analyze Requirements B) Define Testing Scope, Detail Requirements, Create Requirements, Assign to Releases, Analyze Requirements C) Define Testing Scope, Create Requirements, Detail Requirements, Analyze Requirements, Assign to Releases D) Define Testing Scope, Create Requirements, Analyze Requirements, Detail Requirements, Assign to Releases 30) Requirement topics are recorded in the Requirements module by creating a A) Requirements cycle B) Requirements tree C) Requirements plan D) Requirements module 31) QA Manager changes a requirement from a .. status to a Reviewed status once it is approved. A) Released B) Tested C) Not reviewed D) None of these 32) You can also import requirements to your Quality Center project from Microsoft Word, Excel, or other third-party requirement management tools. To import requirements, you must first install the appropriate

A) HP Third Party add-in. B) HP Quality Center add-in. C) HP Quality Center D) HP Quality Center License 33) The Requirements Grid view enables you to display requirements in a .view. A) Flat B) Hierarchical C) Flat-hierarchical D) Flat non-hierarchical 34) The view enables you to analyze the breakdown of child requirements according to test coverage status.. A) Coverage Analysis B) Coverage Requirements C) Coverage D) Coverage Tests 35) You can access the Requirements menu bar from the Requirements module by pressing the shortcut key . A) F1 B) F9 C) Ctrl + R D) Alt + R 36) You can use the to restrict and dynamically change the fields and values in the Requirements module. A) Script Edit B) Scriptor Editor C) Script Editor D) Script Editing 37) The Requirements module enables you to define and manage your... A) requirements B) All requirements C) some requirements D) Tedious requirements 38) You can rename or delete Requirements root folder.

A) true B) False 39) You can search for a particular requirement in the requirements tree or in the requirements grid using the .command. A) Search B) Find C) Search All D) Find All 40) You can replace field values in the requirements tree or in the requirements grid using the .command. A) Replace B) Replace All C) Find & Replace 41) By default, Quality Center sends e-mail in HTML format. To send e-mail as plain text instead, edit the . parameter in the Site Configuration tab in Site Administration. A) EMAIL_FORMAT B) EMAIL_FORM C) MAIL_FORMAT D) QC_MAIL_FORMAT 42) You can copy a requirement within the same project or between projects. Which of the below items are copied at the time of copying a requirement. A) Test coverage. B) defect linkage. C) risk-based quality management data D) All of above E) None of above 43) You can also move a requirement to a new location in the requirements tree by dragging it.. A) True B) False 44) You can delete a requirement from the Requirements module. Deleting a requirement does not delete its child requirements, tests coverage, requirement traceability links, and defects linkage.. A)True B) False 45) There are two methods you can use to create tests from requirements:

A) Convert Requirements to Tests & Generate a Test from Requirements B) Convert Requirements to Tests & Convert a Test from Requirements C) Convert Requirements to Tests & Generate a Requirement from Tests D) Convert a Test from Requirements & Generate Requirements to Tests

46) When analyzing the impact of a change proposed in a specific requirement, the traceability links indicate the other ...... that the change might affect. A) tests B) requirements C) tests & requirements D) None 47) ...... links indicate requirements that affect a selected requirement. .....links indicate requirements that are affected by a selected requirement. A) Trace from, Trace to B) Trace to, Trace from C) From trace, To trace D) None of above 48) When a requirement changes, Quality Center alerts the affected requirements. The alerts can be seen by....... A) Author of the requirement B) users authorized by the Author of the requirement C) all users D) Administrator 49) while Defining Traceability Relationships, You cannot add a requirement traceability link by dragging a requirement from the requirements tree to the appropriate grid.. A) True B) False 50) While viewing Traceability Impact, the Impact Analysis tab helps you understand the many associations and dependencies that exist between the ........ by displaying them in a hierarchical tree structure. A) Tests B) Requirements C) Both D) None
51) Each requirement type with risk-based quality management enabled supports either.

A) risk analysis or risk assessment B) risk breakdown or risk assessment C) risk breakdown or risk review D) risk analysis or risk evaluation 52) Performing a risk-based quality management analysis for an analysis requirement involves the following steps A) Determine Risk groups, Define Testing Policy Settings, Finalize Testing Policy, Analyze Testing Strategy B) Determine Risk Categories, Define Testing guidelines Settings, Finalize Testing Policy, Analyze Testing Strategy C) Determine Risk Categories, Define Testing Policy Settings, Finalize Testing guidelines, Analyze Testing Strategy D) Determine Risk Categories, Define Testing Policy Settings, Finalize Testing Policy, Analyze Testing Strategy 53) An ...... requirement is a requirement belonging to a type that represents higher levels in the requirements tree hierarchy, such as the Folder type. A) analysis B) assessment C) Policy D) Test 54) An ....... requirement is a requirement belonging to a type that represents requirements that are children of analysis requirements and at a lower level in the requirements tree hierarchy. A) analysis B) assessment C) Policy D) Test 55) For each assessment requirement under the analysis requirement, you determine the Risk Category. The Risk Category is composed of two factors. A) Business Probability and Failure Criticality B) Business Vitality and Failure Probability C) Business Criticality and Failure Probability D) Business Criticality and Failure Possibility 56) The Business Criticality of a requirement has three possible values:..... A) Critical, Important, Nice to Have B) Critical, Importance, Nice to Have C) Critical, Important, Nice to Had D) None of these 57) The Failure Probability of a requirement has three possible values:...

A) High, Standard, Low B) High, Average, Low C) High, Medium, Low D) None of these 58) Quality Center defines four Testing Levels:. A) Full, Partial, Basic, and Low B) Full, Partial, Basic, and None C) Full, Half, Basic, and None D) Full, Partial, Critical, and None 59) The Business Criticality of a requirement is a measure of how likely a test on the requirement is to fail, based on the technical complexity of the requirement's implementation, without consideration of the requirement's impact on the business. A) True B) False 60) The Failure Probability of a requirement is a measure of how important the requirement is to your business A) True B) False

SILK TEST

Silk test Questions & Answers

1. What is SilkTest? SilkTest is a software testing automation tool developed by Segue Software, Inc. 2. What is the Segue Testing Methodology? Segue testing methodology is a six-phase testing process: 1. Plan - Determine the testing strategy and define specific test requirements. 2. Capture - Classify the GUI objects in your application and build a framework for running your tests. 3. Create - Create automated, reusable tests. Use recording and/ or

programming to build test scripts written in Segue's 4Test language. 4. Run - Select specific tests and execute them against the AUT. 5. Report - Analyze test results and generate defect reports. 6. Track - Track defects in the AUT and perform regression testing. 3. What is AUT? AUT stands for Application Under Test. 4. What is SilkTest Host? SilkTest Host is a SilkTest component that manages and executes test scripts. SilkTest Host usually runs on a separate machine different than the machine where AUT (Application Under Test) is running. 5. What is SilkTest Agent? SilkTest Agent is a SilkTest component that receives testing commands from the SilkTest Host and interacts with AUT (Application Under Test) directly. SilkTest Agent usually runs on the same machine where AUT is running. 6. What is 4Test? 4Test is a test scripting language used by SilkTest to compose test scripts to perform automated tests. 4Test is an object-oriented fourth-generation language. It consists of 3 sets of functionalities: 1. A robust library of object-oriented classes and methods that specify how a testcase can interact with an applications GUI objects. 2. A set of statements, operators and data types that you use to introduce structure and logic to a recorded testcase. 3. A library of built-in functions for performing common support tasks. 7.What is the DOM browser extension? Document Object Model (DOM) browser extension is a SilkTest add-on component for testing Web applications. DOM browser extension communicates directly with the Web browser to recognize, categorize and manipulate objects on a Web page. It does this by working with the actual HTML code, rather than relying on the visual pattern recognition techniques currently employed by the Virtual Object (VO) extension. 8. What is the VO browser extension? Virtual Object (VO) browser extension is a SilkTest add-on component for testing Web applications. VO browser extersion uses sophisticated pattern recognition techniques to identify browser-rendered objects. The VO extension sees Web pages as they appear visually; it does not read or recognize HTML tags in the Web application code. Instead, the VO extension sees the objects in a Web page;

for example, links, tables, images and compound controls the way that you do, regardless of the technology behind them. 9. What is SilkTest project? A SilkTest project is a collection of files that contains required information about a test project. 10. How to create a new SilkTest project? 1. Run SilkTest. 2. Select Basic Workflow bar. 3. Click Open Project on the Workflow bar. 4. Select New Project. 5. Double click Create Project icon in the New Project dialog box 6. One the Create Project dialog box, enter your project name, and your project description. 7. Click OK. 8. SilkTest will create a new subdirectory under SilkTest project directory, and save all files related to the new project under that subdirectory. 11. How to open an existing SilkTest project? 1. 2. 3. 4. 5. 6. Run SilkTest. Select File menu. Select Open Project. Select the project. Click OK. SilkTest will open the selected project.

12. What is a SilkTest Testplan? The SilkTest testplan is an outline that provides a framework for the software testing process and serves as the point of control for organizing and managing your test requirements. A testplan consists of two distinct parts: an outline, which is a formatted description of the test requirements, and statements, which are used to connect the testplan to SilkTest scripts and testcases that implement the test requirements.

13. Where is a testplan stored? A SilkTest testplan is stored in a file with .pln file extension.

14. How to create and edit a testplan? 1. Make sure your project is open. 2. Click the Files tab in the Project Explorer. 3. Right-click the Plan folder. 4. Click New File. 5. An untitled testplan file opens in the SilkTest testplan editor. 6. Click File/Save menu to save the testplan. 15. What are the types of text lines in a testplan file? A testplan file contains text lines. There are 5 types of text lines in a testplan file: 1. Comment - Marked in green color: Providing commentary information. 2. Group descriptiton - Marked in black color: Providing descriptions for groups of tests. Tests in a testplan can be grouped into multiple levels of groups. 3. Test description - Marked in blue color: Providing descriptions for individual test. 4. Testplan statement - Marked in dark red color: Providing relations to link scripts, testcases, test data, closed sub testplans or an include file to the testplan. 5. Open subplan file marker - Marked in magenda color: Providing relations to link sub testplans to be included in a master testplan. 16. How to create group and sub group descriptions in a testplan? In a testplan, each text line starting from column 0 represents a top level group description. To create sub group description: 1. Move the cursor the next line below the top level group description. 2. Click Outline/Move Right. 3. The text line will be indented to the right to be come a sub group description. 17. What are testplan attributes? Testplan attributes are user defined characteristics to be associated with test group descriptions and/or test descriptions. You search, identify, and/or report test cases based on values of the different attributes. 18. What are the default testplan attributes? SilkTest offers you 3 predefined default attributes: 1. Category: The type of testcase or group of testcases. For example, you can use this attributes to categorize your test groups as "Boundary value tests", "Navagation tests", etc. 2. Component: The name of the application modules to be tested. 3. Developer: The name of the QA engineer assigned to develop the testcase or group of testcases. 19. How to define new testplan attributes? 1. Make sure your test project is open. 2. Click Testplan/Define Attributes menu. The Define Attributes dialog box shows up. You

should see predefined default attributes: Category, Component, and Developer. 3. Click the New button. The New Attribute dialog box shows up. 4. Enter a name for your new attribute. For example: "Level" to indicate the complexity level of test cases. 5. Select an attribute type: Normal, Edit, or Set. 6. Click OK. 20. How to define values for a testplan attribute? You must define values for a testplan before using it: 1. Make sure your test project is open. 2. Click Testplan/Define Attributes menu. The Define Attributes dialog box shows up. You should see predefined default attributes and other attributes defined by yourself. 3. Select an attribute. For example, "Component". The Values box should be empty. 4. Enter a value in Add box. For example, "Catalog". 5. Click Add. Value "Catalog" should be inserted into the Values box. 6. Repeat the last two steps to add more values. 20. Where are the testplan attributes stored? Testplan attributes are stored in the testplan initialization file, testplan.ini, in SilkTest installation directory. 21. How to assign attribute values to test cases? 1. Make sure your testplan is open. 2. Click on the test case for which you want to assign an attribute value. 3. Click Testplan/Detail menu. The Testplan Details dialog box shows up. 4. Click the Test Attribute tab. 5. Click the Component field. The dropdown list shows up with all values of "Component". 6. Select one of the values in the dropdown list. 7. Click OK. 22. What is a test frame? A test frame is a file that contains information about the application you are testing. Information stored in a test frame will be used as references when SilkTest records and executes testcases. A test frame is stored in an include file with file extension .inc. 23. How to create a test frame? 1. Make sure your Web browser is active and showing your Web application home page. Do not minimize this Web page window. 2. Make sure your test project is open. 3. Click File/New menu. The New dialog box shows up. 4. Select the Test Frame radio button. 5. Click OK. The New Test Frame dialog box shows up with a list all active Web applications. 6. Select your Web application. 7. Enter a test frame name. For example: HomeFrame.inc.

8. Review the window name. It should be the HTML title your Web application. You can rename it, if needed. 9. Click OK to close the New Test Frame dialog box. 10. Click File/Save menu. 24. What is stored in a test frame? A test frame is a text file, which records the following types of information for a Web application: 1. Comment: Commentary information. 2. wMainWindow: A string constant to identify your application's home page. 3. Home page window: An object of class BrowserChild window that holds application home page. 4. sLocation: The URL of the your application's home apge. 5. sUserName and dPassword: User name and password if needed to login to your Web application. 6. BrowserSize: A pair of values to indicate the size of the browser window. 7. Home page objects: A list of all objects on the home page, such as HtmlImage, HtmlText, HtmlLinks, etc. 25. How DOM browser extension identify a Web application UI object? A Web application UI object is identified in two parts: 1. Identify the Web browser window where the Web application is running. For example, a Web browser window can be identified as"Browser.BrowserChild("Yahoo Home Page")". Another Web browser window can be identified as"Browser.BrowserChild("Google Home Page")". 2. Identify the Web UI object based on the HTML element that represents the UI object. For example, an image in a Web page can be identified as "HtmlImage("Yahoo Logo")"; A hyperlink in a Web page can be identified as "HtmlLink("Site Map")"; The full identification of a Web applicatin UI object is the concatenation of the browser window identification and the HTML element identification. For example, the Yahoo logo image is identified as: Browser.BrowserChild("Yahoo Home Page").HtmlImage("Yahoo Logo"). The site map link is identified as: Browser.BrowserChild("Google Home Page").HtmlLink("Site Map"). 26. What is the syntax of UI object identifier used by DOM extension? The DOM browser extension uses the following syntax for Web UI objects: Browser.BrowserChild("page_title").html_class("object_tag") 1. "page_title" is the title of the Web page, defined by the HTML "TITLE" tag. 2. "object_tag" is the label of the HTML element. How a HTML element is labeled depending on the type of HTML element. 27. What is multi-tagging? Multi-tagging is a technique used by the DOM browser extension to identify a Web page UI object. Whenever possible, DOM extension inserts more than one tag into the object identifier in following format:

Browser.BrowserChild("page_title").html_class("caption_tag|#index_tag|window_tag") 1. "caption_tag" is the caption of the HTML element. 2. "#index_tag" is the index of this HTML element, counting from the beginning of this page of the same class of HTML elements. 3. "window_tag" is the window identifier. 28. How to add objects of other pages to a test frame? If your Web application has pages other than the home page, you should also record their page objects into the test frame: 1. Make sure your Web browser is active and showing another page of your Web application. 2. Make sure SilkTest is running. 3. Click File/Open menu. 4. Select your test frame file. For example: HomeFrame.inc. 5. Click OK to open the test frame. 6. Click Record/Window Declarations menu. The Record Window Declarations dialog box shows up. 7. Click your Web application window. Web page objects are recorded in the Record Window Declarations dialog box. 8. Press Ctrl+Alt to pause the recording. 9. Click "Paste to Editor" button. All recorded objects will be inserted into the test frame. 10. Repeat this for other Web pages, if needed. 29. How to specify a browser extension to a Web application? 1. Run SilkTest. 2. Open Internet Explorer (IE). 3. Enter the URL of the Web application. 4. Leave the IE window with the Web application. Don't minimize the IE window. 5. To back to SilkTest window. 6. Select Basic Workflow bar. 7. Click Enable Externsions on the Workflow bar. 8. The Enable Extensions dialog will show up. Your Web application running in the IE window will listed in the dialog box. 9. Select your Web application and click Select. 10. The Extension Settings dialog will show up. Click OK to enable the DOM browser extension. 30. What is DefaultBaseState? The DefaultBaseState is a starting point of test project from which the Recovery System can automatically restart your test cases when test cases fail to continue. How to test your DefaultBaseState? 1. Close your Web application and other Web browsers. 2. Make sure your test frame is open. 3. Click Run/Application State menu. The Run Application State dialog box shows up with a list of states. One of them should be DefaultBaseState.

4. Select DefaultBaseState. 5. Click Run button. The Runtime Status dialog box shows up. And the Results File dialog box shows up too. 6. You should see no error message in the results file. 31. What are the important aspects of a test case? 1. Each test case must be independent of other test cases. 2. Each test case have a single test purpose. 3. Each test case should start from a base state and returning to the same base state.

32. What is the standard flow of execution of a test case? 1. Starting from the base state. 2. Drive the application to the state where the expected result should occur. 3. Verify the actual result against the expected result. 4. Declare the test case as passed or failed. 5. Return to the base state. 33. How to record a test case? 1. Run SilkTest. 2. Click Option/Runtime menu. The Runtime Options dialog box shows up. 3. Edit the Use Files field to include your test frame file and the exlorer.inc file. For example: ...\HomeFrame.inc,extend\explorer.inc. 4. Make sure IE 5.x DOM is selceted. 5. Click OK to cloase the Runtime Optoins dialog box. 6. Open your test project. 7. Click Record/Testcase menu. The Record Testcase dialog box shows up. 8. Name your test case. For example: LoginTest. 9. Select DefaultBaseState in the Applicatin State dropdown list. 10. Click Start Recording button.The Record Testcase dialog closes. Your Web application is will be automatically started by SilkTest, based on the information in test frame file. SilkTest Editor window closes. The Record Status dialog box shows up. 11. Continue to use your Web application. SilkTest records everything you did on your application. 12. Click the "Done" button on the Recording Status dialog box to stop recording. The Recording Status dialog box closes. The Record Testcase dialog box shows up again. 13. Click Paste to Editor. SilkTest will insert the recorded acitivities as 4Test statements into a script file. The Record Testcase dialog closes. 14. Click File/Save menu to save the script file. You can enter a script file name. For example, LoginTest.t. 34. How to include a test case into a testplan? 1. Make sure your testplan is open.

2. Enter a test description into your testplan. For example, "Test login process". 3. Select this test description. 4. Click Testplan/Detail menu. The Testplan Detail dialog box shows up. 5. Click the Test Execution tag on the Testplan Detail dialog box. 6. Click the "Scripts" button to browse and select a test case script file. For example, LoginTest.t. 7. Click the "Testcases" button, to select a testcase recored in the specified script file. 8. Click OK to close the Testplan Detail dialog box.

35. How record a test case into a testplan automatically? Test cases can recorded first without a testplan, then included into a testplan later. Test cases can also be recorded into a testplan directly: 1. Make sure your testplan is open. 2. Enter a test descripption into your testplan. For example, "Test change password". 3. Select this test description. 4. Click Record/Testcase menu. 5. Enter a name for the script file. 6. Click Open. The Record Testcase dialog box shows up. 7. Enter a testcase name in the Testcase Name field. 8. Select DefaultBaseState in the Applicatin State dropdown list. 9. Click Start Recording button.The Record Testcase dialog closes. Your Web application is will be automatically started by SilkTest, based on the information in test frame file. SilkTest Editor window closes. The Record Status dialog box shows up. 10. Continue to use your Web application. SilkTest records everything you did on your application. 11. Click the "Done" button on the Recording Status dialog box to stop recording. The Recording Status dialog box closes. The Record Testcase dialog box shows up again. 12. Click Paste to Editor. SilkTest will insert the recorded acitivities as 4Test statements into a script file. The Record Testcase dialog closes. 13. Click File/Save menu to save the script file. You can enter a script file name. For example, ChangePasswordTest.t. 36. How to define an object verification in a test case? While recording a test case, you can define verification points to verify UI objects: 1. Make sure you are in the process of recording a testcase. 2. Make sure the Record Status dialog box is on the screen. 3. Make sure your recording reached the Web page that has the UI object you want to verify. 4. Click the background (blank area) of the Web page. Do not click any objects on the page. 5. Press Ctrl-Alt. The Verify Window dialog box shows up. All the objects on the current Web page are listed on the Verify Window dialog box. 6. Select the object to be verified in the object list. Un-select all other objets. 7. Select the property to be verified in the property list. Un-select all other properties. 8. Click OK to close the Verify Window dialog box. 9. Continue your recording.

37. How to run a test case from a test script file? A test script file can store multiple test cases. You can run a testcase from a test script file: 1. Open the test script file. 2. Select the test case in the test file. 3. Click Run/Testcase menu. The Run Testcase dialog box shows up. 4. Click the Run button. SilkTest starts to run the test case. 5. Do not touch mouse or keyboard, to avoid interrupting the test case execution. 6. SilkTest finishes executing the testcase. The Restuls window shows up with the execution result. 7. Review the execution result. 38. How to run a test case from a testplan file? If a testcase is linked to a testplan, you can run it from the testplan: 1. Open the testplan. 2. Select the test description line which has the testcase linked. 3. Click Run/Testcase menu. The Run Testcase dialog box shows up. 4. Click the Run button. SilkTest starts to run the test case. 5. Do not touch mouse or keyboard, to avoid interrupting the test case execution. 6. SilkTest finishes executing the testcase. The Restuls window shows up with the execution result. 7. Review the execution result. 39. How to run all test cases in a testplan? 1. Open the testplan. 2. Click Run/Run All Tests menu. SilkTest starts to run all the test cases in the testplan. 3. Do not touch mouse or keyboard, to avoid interrupting the test case execution. 4. SilkTest finishes executing the testcase. The Restuls window shows up with the execution result. 5. Review the execution result. 40. How to select a group of test cases in a testplan to run? Usually, a testplan contains a big number of test cases. For some reason, you don't want to run all test cases in the testplan. You want to select a group of test cases and run them: 1. Open the testplan. 2. Select the test description line (linked to the testcase) to mark. 3. Click Testplan/Mark menu. The selected test description line is marked. 4. Repeat this process to select more linked testcases. 5. Click the Run/Run Marked Tests menu. SilkTest runs all the marked testcases. 6. Do not touch mouse or keyboard, to avoid interrupting the test case execution. 7. SilkTest finishes executing the testcase. The Restuls window shows up with the execution result. 8. Review the execution result.

QTP

Instructions: Click the answer button to see the correct answer. These questions are purely based on QTP 8.2 1. The toolbar enables you to view the details of an individual action or the entire test flow is a. b. c. d.
c

Testing toolbar None of the above Action toolbar Test Pane

2.

The key that is used to Start/End analog recording mode? a. b. c. d. F3 SHIFT+ALT+F3 CTRL+SHIFT+F3 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? a. b. c.
a

Add the specific property to the list Use the Default property Use some other property to identify your object

4.

The list of test objects and their properties and values are stored in the a. b. Object Repository Object Identification

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

GetVisibleText GetROProperty SetROProperty GetTOProperty

6.

Bitmap checkpoint is supported in VB environment. a. b. True False

7.

What is the shortcut key that is used for a Standard Checkpoint? a. b. c. d. F12 F2 F10 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. a. b. c. d.
a

Checkpoint All the above Output Value Compare the object property

9.

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

a. b. c.
a

Low-Level Recording Mode Normal recording Mode Analog Mode

10.

The statement that calls the recorded analog file is a. b. c. RunAnalog CallAnalog ExecuteAnalog

11.

An action can be called by other tests or actions is a. b. c. Call Action Split Action Reusable Action

12.

You can replace the page in your Active Screen tab a. b. False True

13.

QuickTest adds a checkpoint statement in the Expert View as a. b. Check Checkpoint Checkpoint

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

a. b. c. d.
b

Accessibility Text Area Standard Text

15.

In ActiveX environment an Accessibility checkpoint is supported. a. b. No Yes

16.

Can we get the execution time for an action in a Test. a. b. Yes No

17.

The command used to retrieve data from excel sheet is a. b. c. Set ab = Connection("srcfilepath ") , Set ws = ab.getdata(sheetid) Set ab = CreateObject("srcfilepath ") , Set ws = ab.getsheet(sheetid) Set ab = GetObject("srcfilepath") , Set ws = ab.worksheets(sheetid)

18.

The method used to get data from HTML Table is a. b. c. GetData(Row,Col) GetRowValue(Rowid,Colname) GetCellData (Row,Col)

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


b

StartTransaction(Name), EndTransaction(Name) Services.StartTransaction "Name", Services.EndTransaction "Name" 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 a. b. c.
a

Output Value Checkpoints Active Screen

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

True false

22.

In Batch Test process, the test list are saved in file format as, a. b. c. d. *.mtb *.mts *.mbt *.mtr

23.

The command used to invoke other application from QTP, a. InvokeApplication

b. c. d. e.
e

SystemUtil.Run Run Both b & c Both a & b

24.

Can we add external library files in QTP? a. b. No Yes

25.

The method that explicitly activates the recovery scenario mechanism is, a. b. c. d. recovery.activate enable recovery.enable activate

26.

The method used for sending information to the test results. a. b. c. d. Reporter.log() Reporter.reportevent() Reporter.msgbox() Reporter.report()

27.

To terminate an application that is not responding we use, a. b. c. SystemUtil.terminate SystemUtil.Stop SystemUtil.CloseProcessByName

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

false True

29.

We can add Test object methods, function calls into the Test using a. b. c. Function generator Step generator Object repository

30.

The method that adds to the test while implementing Synchronization is a. b. c. d. Synchronize Wait WaitProperty Pause

31.

The mechanism used to identify objects during run session is a. b. c. Recovery scenario Smart identification Handling object

32.

Post-recovery test run options specifies

a. b. c.
a

how to continue the run session after QTP identify the event errors while running 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 a. b. c.
b

non-reusable action Reusable action External action

34.

QuickTest supports virtual object for anolog or low-level recording. a. b. False True

35.

The command used to connect with Database is a. b. c. d. Createobject(connectivity name) dbconnect(connectivity name) open(connectivity name) None of the above

36.

The method used to retrieve the folders is a. b. c. FileSystemObject.Getfolder() FileSystemObject.selectfolder() FileSystemObject.retrievefolder()

37.

The method used to compare 2 XML files is: a. b. c. XMLfile1.compare(XMLfile2) XMLcompare(file1,file2) compare(XMLfile1,XMLfile2)

38.

Can we change name of checkpoint? a. b. No Yes

39.

The QTP script files are stored in the extension of a. b. c. d. *.mts *.usr *.mtr *.vbs

40.

The method used to register the user-defined function with test object is a. b. c. setFunc() RegisterUserFunc() RegisterFunc()

41.

The method used to open the specified URL in a browser is a. openURL()

b. c.
c

navigateURL() navigate()

42.

The 3 Parameter types available in data driver is a. b. c. DataTable,Environment,Random number DataTable,random number,unique environment,string,numeric

43.

The method added to the test while parameterizing is a. b. c. d. get Data (variable, dtGlobalSheet) get DataTable(variable, dtGlobalSheet) Set Data(variable, dtGlobalSheet) Set DataTable(variable, dtGlobalSheet)

44.

The length of the array can be get by the method a. b. c. length(array) ubound(array) count(array)

45.

The method used to get the count value of list box or combo box os a. b. c. GetItemsCount GetCount GetItemCount

46.

Can we parameterize the checkpoints properties? a. b. No Yes

47.

In data base check point we can not set the expected value from the test? a. b. True False

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

DataBase CheckPoint Accessibility checkpoint Bitmap checkpoint Standard checkpoint

49.

The method used to continue the test execution after getting run-time error is a. b. c. On Error Resume Next On Error Raise Next On Error Next

S-ar putea să vă placă și