Testingjobz Qbank Sep'2008

  • Upload
    jaanu

  • View
    214

  • Download
    0

Embed Size (px)

Citation preview

  • 8/14/2019 Testingjobz Qbank Sep'2008

    1/6

    QBank-Sep2008

    QBank-Sep2008Testingjobz.com

    Corporate Office"Prince Arcade"

    1 H, 1st Floor, New No.29 / 22A,Cathedral Road,

    Chennai - 600 086.

    Board No - + 91- 44- 2811 0007 / 0008

    Telefax No - + 91- 44- 28411 5350

    Toll Free - 1800 425 4030

    Mail us @: [email protected]

    Copyright 2008. Testingjobz.com, All rights reserved. All information contained in this document is th

    property of Testingjobz.com. The contents of this document are not to be disclosed by the recipients to third

    parties, neither allowed to be reproduced by or for third parties in any form or by any means, electronic no

    mechanical, including photocopying, without prior written permission from Testingjobz.com.

  • 8/14/2019 Testingjobz Qbank Sep'2008

    2/6

    QBankPageNo:2

    Testingjobz.com Quality Center & Rational Rose Questions &Answers

    QBANK Topics cover under Quality Center and Rational Rose Questions &Answers

    1. How many types of attachments that youcan attach to a cycle in Quality Center?

    Ans: 5 types

    2. What is the difference between tyingrequirements to a release and tying themto a cycle in Quality Center?Ans: Release is a parent to a cycle so all

    requirements applied to releaseautomatically applied to all cycles inQuality Center.

    3. What is the purpose of addingtraceability links between requirements inQuality Center?

    Ans: Traceability enables you to identifyother requirements in Quality Centerthat the change might affect.

    4. What does a live analyses graph displayin Quality Center?Ans: Quality Center live analyses graph

    provides a visual overview of all testswithin a folder in test plan tree.

    5. What is a test sets tree?Ans: Quality Center test sets tree design

    to achieve specific testing goals and

    organizes and displays the test setshierarchically

    6. When you run a test on remote hostgroup is the test executed on all the hostsavailable in the group?Ans: It runs only on the first available hostin the group

    7. How many different Quality Center graphtypes do you know?Ans: There are five Quality Center graph

    types.

    8. What is QCBin? Give some interactions?Ans: This is how user interacts with tool.

    QCBin interface gives functionalityof creating test plans, definingrequirements, creating test cases,creating test labs, associatingrequirements with defects inessence, everything that as a testeror test manager you need to do in

    your day to day activity apart fromexecution.

    9. Why Quality centre is installed and howwill you make sure it?Ans: Quality Centre is installed as a

    service in your windowsenvironment. Before start workingon it, make sure that MercuryQuality Centre service is running.

    10. From which Browser it can be accessedAns: Quality Centre can be accessed

    from web browser usinghttp://:8080/sabin/S

    iteAdmin.htm format, assuming thatQuality Centre is listening on defaultport.

    11. What are four distinct things which canbe managed in Mercury Quality Centre?Ans: Requirements

    Test PlanTest LabDefectsThese four items can be termed asthe 4 pillars of the Quality Processfor any organization. Each of these

    components sections containsinformation about different projectscreated using SABin.

    12. How to add a document to QualityCenter 9.0Ans: You can go to the Test tab and

    create a folder for the current projectand create sub folders according tothe requirements or modules andthen under each sub folder you cancreate Manual Test cases and alsoautomated Scripts. ...

    13. Mercury Quality Centre can be dividedinto two partsand what are they?Ans: Site Administrator Bin

    Quality Centre Bin14. What is Administration Bin?Ans: It is the starting point for the usage

    of Mercury Quality Centre. This partis used for all the administrativeactivities

  • 8/14/2019 Testingjobz Qbank Sep'2008

    3/6

    QBankPage No:3

    Testingjobz.com Quality Center & Rational Rose Questions & Answers

    15. How will you define password?Ans: Password for site admin is defined

    during the installation so, thatremember the password during

    installation.

    16. What are the following activitiesinvolved in Mercury Quality Centre?Ans: Creating the projects

    Assigning users to the projectsCreating specific rolesConfiguring QTP or Win runnerscripts to use from Mercury QualityCentreConfiguring the mail serversVerifying licensing informationInformation about database

    17. What is Mercury Quality Center incomprehensive test management solution?Ans: Mercury Quality Center (QC), like

    Borland Silk Central Test Manager,is test management software.Quality Center includes MercuryQuality Center Dashboard, MercuryTest Director and other automatedtesting products. Its easy-to-use,highly customizable web basedinterface is one of its good features.

    18. What are the strong features of QC?

    Ans: It's Open Test Architecture API, whichallows a high degree of customizationand automation of the Quality Center,which in turn produces good resultswith various projects with variousneeds.

    19. What are the sources involved in OC?Ans: Quality Center Product information

    website(http://www.mercury.com/us/products/quality-center/) Mercury QualityCenter User's Guide Open Test

    Architecture API reference

    20. Why Mercury Quality Center isessential to the management?Ans: The Mercury Quality Center (MQC)

    is an essential web-based testmanagement tool that is distributedby Mercury, which is a knowncommercial vendor focusing insoftware testing tools. MQC helps a

    test manager or tester manage andorganize the different involvedactivities. These activities includeidentifying requirements, managingtest cases, carrying out test

    reporting, managing defects, andautomating software test.

    21. What are two most important sectionsthat compose MQC?Ans: There are two most important

    sections that compose MQC.Specifically, these two vital parts arethe Site Administrator Bin (SABin)and QualityCentre Bin (QCBin).Evidently, the first portion isdesigned for tool administrator,whereas the latter, for tool end user.

    22. What is the most valuable point in MQCand how does the site perform?Ans: The SABin is basically the most

    valuable and initial point for MercuryQuality Centre usage. A Siteadministrator performs alladministrative tasks, such asconstructing the projects, definingspecific roles and assigning them tovarious users in the project, etc.SABin can be used in configuringdifferent types of programs orapplications.

    23. What are the considerable factorsinvolved in MQC?Ans: Lastly, there are four considerable

    factors that need to be managed inMQC. These factors include softwaretesting requirements, test plan, testlaboratory, and potential defects. Theyturn out to be the most commonlyrecognized by many as theorganizations 4 pillars of qualityprocess.

    24. How to download an attachment fromQuality Center?Ans: The easiest way would simply be to

    right click on the attachment and goto the Save As option...Otherwiseopen the attachment, and then do aSave As... Hope this helps.

  • 8/14/2019 Testingjobz Qbank Sep'2008

    4/6

    QBankPage No:4

    Testingjobz.com Quality Center & Rational Rose Questions & Answers

    25. What is the difference between Qualitycenter and Test Director?Ans: Quality center is the latest version of

    the test director. Upto 8.0 it is calledas test director after that it is called

    as QC. In test director having threetabs only plan test, run test, trackdefects, but in QC four tabs is thererequirements tab will be added. AndQTP latest versions are sport onlyQC .After 8.0 version of QTP.

    Rational Rose

    26. What are the technologies andenvironments do the rational rosesupports?Ans: It supports COM/DCOM (ActiveX),

    JavaBeans, and CORBA

    component standards.

    27. What is the purpose of comparators inanalyzing the results?Ans: purpose of comparator is analysing

    the result of verification point.comparator compares the result ofbaseline verification point dataagainst the actual verification pointdata.

    28. What is the purpose of the wait state?What is the use of Global.sbl file in

    Rational?Ans: Robot provides lobal.sbl file for the

    convenience of the users. It a blanklibrary source files. You can addprocedures to it or make your ownwait statement is used to wait theapplication for that particular periodof time and that will move of later forexample wait(20), means thisstatement will wait for 20 sec and itwill move from that statement

    29. Symbol for comments in Rational?

    Ans: " ' "........a "singe quote"...... ( " ' " ) isused to comment statements inRational Robot script. By placing asingle quote...the statement turns

    30. Purpose of inserting delay values in thescripts of Rational?Ans: Wait values are useful when the

    application requires an unknownamount of time to complete a task.

    Using a wait value keeps theverification point from failing if thetask is not completed or if the datais not accessible right away.

    31. What is the purpose of comparators inanalyzing the results?Ans: purpose of comparator is analysing

    the result of verification point.comparator compares the result ofbaseline verification point dataagainst the actual verification pointdata.

    32. Explain user defined data type with anexample..?Ans: user must create the data type if none

    of the standard data types containsthe kind of values that user want

    to supply. For example user needa database column named COLOR &the values should be red, blue,green, yellow, etc .but in predefineddata type there is no such datatype. So we have to create a userdefined data type named color &havepredefined values RED, BLUE,GREEN.1) To create user defined data type inrational robot in TestManager>>click Tools>>managedata types.

    2) Click new.3) Type name (color) &description>>click ok4) Click yes when prompted to enternew data values now. Insert red,

    green, and yellow, blue5) Click save

    33. What is the use of Global.sbl file inRational?

    Robot provides lobal.sbl file for theconvenience of the users. It a blanklibrary source files. You can add

    procedures to it or make your own

    34. What is the difference between rationalrose and QTP?Ans: Quick test professional is a powerful

    functional testing tool. Its very userfriendly interface tool. It mainly fasttests creation, easier maintenance,and more powerful data-drivingcapability. Identifies objects with

  • 8/14/2019 Testingjobz Qbank Sep'2008

    5/6

    QBankPage No:5

    Testingjobz.com Quality Center & Rational Rose Questions & Answers

    Unique Smart Object Recognition,even if they change from build tobuild, enabling reliable unattendedscript execution. Rational robot dealswith functional and performance

    testing,

    35. What is the difference between RationalRose and UML?Ans: The UML is the Unified Modeling

    Language. It is a collection ofdiagrams, terms, profiles, etc. that oneuses to design and develop complexsystems and software. The UML iscontrolled by a standardsorganization, the Object ManagementGroup (OMG). The current version ofthe UML is 2.1.

    IBM Rational Rose is one of manytools for building UML models. Theproblem with Rose is that it stoppedwith version 1.5 of the UML. Therewere some follow-on products(Rational refers to them as RSx).

    Depending on what you are doing,there are other tools that may bebetter for your job. For example, if youare trying to design a complex systemor trying to build a real time orembedded application, you should use

    Rational's Rhapsody (IBM boughtTelelogic this year, so Rhapsody isnow under the Rational banner, butnot all sales people know that).

    Rhapsody has two main advantagesover Rose. First, Rhapsody generatescomplete application code from classdiagrams, state charts, activitydiagrams and flow charts. The code itgenerates (C, C++, Java, and I thinkAda) is very tight, easy to read anddebug, and looks like the code you'd

    write by hand. Second, Rhapsodysupports UML 2.1, so you get ports,structured classes, and other usefulextensions.

    36. Where the data pool values are stored?Ans: Data pool values are stored in text file

    with .CSV extension

    37. How do you analyze results afterplayback?Ans: Test manager opens the result

    window with appropriate comparator.

    38. What is purpose of RationalAdministrator?Ans: Rational Administrator is a tool for

    managing associations betweenrational artifacts such as test datastores, requisite pro projects, clearquest databases and rose models.With the help of rational administratorwe can: Create and manage rationalprojects. Create and maintain usersand groups. Upgrade project assetssuch as requisite pro databases andtest data stores. Enable a rationalproject for use with unified change

    management.

    39. Where the data pool column names arestored?Ans: In data pool specification (.spc) file

    40. What is Data pool?Ans: Data pool is test data that supply data

    values to the variable in script duringplayback. Data pool values are storedin file with .CSV extension. Data poolcolumns name are stored inspecification file with .spc extension.

    Data pools are mainly created to runthe script multiple times withoutinterruption.

    41. How many verification points are therein Robot and what are they?Ans: There are 13 verification points in

    rational robot they are XML, text,menu, object data, object properties,clip points, window exist, windowscan, file exist, file scan, website scan, website exist and some other.Probably there are some changes in

    this list.

    42. When does a plug-in get started?Ans: Each plug-in can be viewed as having

    a declarative section and a codesection. The declarative part iscontained in the plug-in.xml file. Thisfile is loaded into a registry when theplatform starts up and so is alwaysavailable, regardless of whether a

  • 8/14/2019 Testingjobz Qbank Sep'2008

    6/6

    QBankPage No:6

    Testingjobz.com Quality Center & Rational Rose Questions & Answers

    plug-in has started. The code sectionis laze loaded by default. They areactivated only when their functionalityhas been explicitly invoked by theuser.

    43. How to config a plug-in to startautomatically during platform starts up?Ans: Define the 'Eclipse-AutoStart=true'

    header in Manifest file.

    44. What are extensions and extensionpoints?Ans: Loose coupling in Eclipse is achieved

    partially through the mechanism ofextensions and extension points.When a plug-in wants to allow otherplug-ins to extend or customizeportions of its functionality, it will

    declare an extension point. Theextension point declares a typically acombination of XML markup and Javainterfaces, that extensions mustconform to. Plug-ins that wants toconnect to that extension point mustimplement that contract in theirextension.

    The key attribute is that the plug-inbeing extended knows nothing aboutthe plug-in that is connecting to itbeyond the scope of that extension

    point contract. This allows plug-insbuilt by different individuals orcompanies to interact seamlessly,even without their knowing muchabout one another.

    45. What is the class path of a plug-in?Ans: The OSGi parent class loader. (Java

    boot class loader by default); theexported libraries of all imported plug-ins; the declared libraries of the plug-in and all its fragments.

    46. How to access UI objects from a non-uithread?Ans: Use Display.getDefault ().asyncExec

    (new Runnable()...)Display.asyncExec causes the run()method of the runnable to be invokedby the user-interface thread at thenext reasonable opportunity. Thecaller of this method continues to run

    in parallel, and is not notified when therunnable has completed.

    47. Do we need to explicitly invokeorg.eclipse.swt.graphics.Image.dispose()?

    Ans: Application code must explicitly invokethe Image.dispose() method torelease the operating systemresources managed by each instancewhen those instances are no longerrequired. This is because that theJava finalization is too weak to reliablysupport management of operatingsystem resources.

    48. How to fire a key event in my test codeto make the program act as if a userpressed a key?Ans: Two ways to implement it in code:

    generating OS level key event useDisplay. Post (Event) or useWidge.notifyListeners(...) to just notifya widget's listeners

    49. What is a Rational Rose?Ans: Rational Rose is a tool/editor which

    can is used for designing purposes,mainly for object oriented concepts,like u can draw class diagrams,sequence diagrams, static structures,block diagrams etc etc, the basicarchitecture of a project.

    50. What is the use of RationalAdministrator?Ans: Use the Rational Administrator to:

    1. create and manage projects.2. Create a project under configurationmanagement.3. Create a project outside ofconfiguration management.4. Connect to a project.5. See projects that are not on yourmachine (register a project)6. Delete a project.

    7. Create and manage users andgroups for a Rational Test data store.8. Create and manage projectscontaining Rational Requisite ProProjects and Rational Rose models.9. Manage security privileges for theentire rational project.10. Configure a SQL anywheredatabase server.