000 842 q&a certmagic

37
Rational Functional Tester for Java Exam: 000-842 Edition: 2.0 C C C E E E R R R T T T M M M A A A G G G I I I C C C 000-842 1 http://www.certmagic.com

Upload: tagheur

Post on 08-Mar-2015

33 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: 000 842 Q&A CertMagic

Rational Functional Tester for Java Exam: 000-842

Edition: 2.0

C CCEEERRRTTT MMMAAAGGGIIICCC

000-842

1 http://www.certmagic.com

Page 2: 000 842 Q&A CertMagic

QUESTION: 1How do you start the application under test?

A. use the Windows Start menuB. simply begin recordingC. open a command line and start the application by typing its nameD. click the Start Application button on the recording toolbar

Answer: D

QUESTION: 2While recording a script, the recording monitor _____.

A. appears at the conclusion of recordingB. is only displayed on the toolbarC. does not appearD. displays a message for each action

Answer: D

QUESTION: 3What can be tested when recording a verification point?

A. an objects data onlyB. an objects data or properties onlyC. whether or not the object is workingD. an objects data, properties, or existence

Answer: D

QUESTION: 4What can you use to select an object as a verification point?

A. the object finder, the object picker, or the object browserB. the main object browser, the test object browser, or the extra object browser

000-842

2 http://www.certmagic.com

Page 3: 000 842 Q&A CertMagic

C. the object finder, the test object browser, or the delay methodD. the delay method, the scripting method, or the pointer method

Answer: C

QUESTION: 5A recording is started by:

A. Entering script_record on the command lineB. creating a script and then pressing the record button in the RFT applicationC. starting the application under testD. Starting RFT

Answer: B

QUESTION: 6How do you stop recording?

A. click the Stop Recording button on the recording toolbarB. end the application under testC. close RFTD. close the recording monitor

Answer: A

QUESTION: 7Which three actions are possible with RFT? (Choose three.)

A. use a wizard to substitute literals with datapool variablesB. substitute literals in verification points with datapool variablesC. create a datapool while recording a data-driven scriptD. create scripts in c#

Answer: A, B, C

000-842

3 http://www.certmagic.com

Page 4: 000 842 Q&A CertMagic

QUESTION: 8You must _____ a script with a datapool before substituting literal values in the script withreferences to datapool variables.

A. shareB. associateC. runD. disassociate

Answer: B

QUESTION: 9When is the best time to use data-driven testing?

A. when the test only needs to be run onceB. when the test steps change based on the test input dataC. when the test must be run multiple times with different dataD. when the test requires a lot of manual data entry

Answer: C

QUESTION: 10Functional Tester allows you to import an external datapool from which of the following ?(Choose three.)

A. an external .csv fileB. another Functional Tester datapoolC. an existing TestManager datapoolD. an access (.mdb) file

Answer: A, B, C

QUESTION: 11What will the following CallScript do? CallScript (myScript, null, DP_ALL)

000-842

4 http://www.certmagic.com

Page 5: 000 842 Q&A CertMagic

A. cause the script to run an infinite number of timesB. cause the script to iterate through the entire datapoolC. cause the script to run through 100 datapool valuesD. cause myScript to always pass

Answer: B

QUESTION: 12What is one way to insert data-driven commands into the test script?

A. use the Insert Data Driven Commands button while recordingB. use the Insert Data Driven Commands button while executingC. the commands are generated automatically while importing the datapoolD. use the super helper class after recording

Answer: A

QUESTION: 13What must you do before editing the datapool using an external application?

A. make it a public datapoolB. make it a private datapoolC. export it to a .csv fileD. import it from a .csv file

Answer: C

QUESTION: 14Which statement is true about an RFT test datapool?

A. It is exclusive for only one test script.B. It is a collection of related data records.C. It is automatically generated during script record.D. It is a collection of related test scripts.

000-842

5 http://www.certmagic.com

Page 6: 000 842 Q&A CertMagic

Answer: B

QUESTION: 15What must you do to view a comparator of a failed verification point from an RFT text log?

A. open a web browser and browse to open the file:\<project_path> \<log_name>\<log_vp_name>.rftvd for the verification point you want to viewB. right-click on the test log and select Failed Verification Points from the right-click menu, thenselect the verification point you want to viewC. open the test log, right-click on the verification point line you want to view and select ViewResults from the right-click menuD. log results in another format since you cannot open a comparator from a text log

Answer: B

QUESTION: 16Given an existing TestManager Rational Test project, what are the steps to log results toTestManager?

A. from TestManager, create a new Test Script Type for RFT, then from RFT, select theFunctional Test logging preferences to TestManagerB. from RFT, select the Functional Test logging preferences to TestManager, then select theTestManager project when you run an RFT testC. from RFT, associate the Rational Test Project with the RFT project, then select the FunctionalTest logging preferences to TestManagerD. from the Rational Administrator, associate the RFT project to the Rational Test Project, thenfrom RFT, select the Functional Test logging preferences to TestManager

Answer: C

QUESTION: 17Out of the box, what are the different options for logging RFT tests?

A. HTML, text, custom, TestManager, and noneB. HTML, text, TPTP, TestManager, and noneC. TestManager, CQTM, TPTP, HTML, and none

000-842

6 http://www.certmagic.com

Page 7: 000 842 Q&A CertMagic

D. HTML, PDF, text, TestManager, and none

Answer: B

QUESTION: 18Not including TestManager or custom logging, how can you organize RFT test results?

A. define and follow a naming convention for all test logsB. define and follow a naming convention for all logs and log subfoldersC. create as many folders in the *_logs project as needed and drag logs into the appropriatefoldersD. create additional log projects which are associated with the primary RFT project, (forexample, <project>_acceptance_logs)

Answer: A

QUESTION: 19How do you perform image verification in a test?

A. select Perform Image Verification Point from the Verification Point and Action WizardB. select the Perform Properties Verification Point from the Verification Point and ActionWizard, then select only the .src or other property for the imageC. download and install the RFT Enhancement Pack plug-in from IBM Rational SupportD. download and install the Image Comparator for Rational Functional Tester 2003.06 utilityfrom developerWorks

Answer: D

QUESTION: 20What should the tester open to view Test Objects, Main Data Area and Recognition Data?

A. the test scriptB. the test comparatorC. the object mapD. the log viewer

000-842

7 http://www.certmagic.com

Page 8: 000 842 Q&A CertMagic

Answer: B

QUESTION: 21What should the tester do to open the comparator in an HTML log after the test has been playedback?

A. select View > Failures from the menuB. click the View Results link in the test logC. nothing, because the comparator open automaticallyD. select Open > Comparator from the menu

Answer: B

QUESTION: 22What should the tester view to discover the current script action being executed?

A. playback monitorB. the execution windowC. the test scriptD. the application under test

Answer: A

QUESTION: 23The two phases of playing back a script are script development and _____.

A. unit testingB. manual verificationC. reviewing resultsD. regression testing

Answer: D

QUESTION: 24

000-842

8 http://www.certmagic.com

Page 9: 000 842 Q&A CertMagic

The tester resets their test environment and sets the playback environment. What is the tester readyto do?

A. record the testB. set recording optionsC. view and analyze the resultsD. play back the script

Answer: D

QUESTION: 25If a test fails because the tester has updated the test data, what should the tester do to preventcontinued failures?

A. re-record the testB. use the comparator and update the baseline dataC. nothing, because the test is supposed to failD. change the test data

Answer: B

QUESTION: 26Which three methods write to the RFT log? (Choose three.)

A. logError()B. logDefect()C. logInfo()D. logWarning()E. logSuccess()

Answer: A, C, D

QUESTION: 27Given the following:ProcessTestObject pid = startApp("ClassicsJavaA");What are two valid methods one can call with a ProcessTestObject? (Choose two.)

000-842

9 http://www.certmagic.com

Page 10: 000 842 Q&A CertMagic

A. pid.duplicate()B. pid.kill()C. OK(pid).click()D. pid.find(atDescendant("value", "OK"))E. pid.getObjects();

Answer: A, D

QUESTION: 28Given the following code snippet: OK().waitForExistence();Assuming that no changes have been made to the Functional Tester default playback settings,which two statements will cause Functional Tester to wait for 60 seconds for the OK button toappear? (Choose two.)

A. setOption(IOptionName.MAXIMUM_FIND_OBJECT_TIME, 60.0)B. setOption(IOptionName.MAXIMUM_WAIT_FOR_EXISTENCE, 60.0)C. setOption(IOptionName.TIME_MULTIPLIER, .5)D. setOption(IOptionName.TIME_MULTIPLIER, 2.0)

Answer: B, C

QUESTION: 29Given the following: - A script named BuyCD has been created. - A Helper Superclass named HelperSuper1 has been created. - A Helper Superclass named HelperSuper2 has been created.Which of the following are valid Functional Tester script class inheritance hierarchies? (Choosetwo.)Note: inherits from is expressed by the symbol ?

A. BuyCD -> BuyCDHelper -> RationalTestScriptB. BuyCD -> HelperSuper1 -> RationalTestScriptC. Helper1 -> RationalTestScript -> BuyCDD. BuyCD -> HelperSuper1 -> HelperSuper2 -> RationalTestScript

Answer: A, D

000-842

10 http://www.certmagic.com

Page 11: 000 842 Q&A CertMagic

QUESTION: 30Given the following code snippet in which Customers() represents an HTML table from whichdata needs to be extracted: Customers().getTestData("contents");What data type is returned by getTestData("contents")?

A. ITestDataTableB. StringC. TableDataD. TestData

Answer: A

QUESTION: 31Which statement is true about Functional Tester scripts and datapools?

A. All scripts are associated with either a private or shared datapool, and a script cannot existwithout a datapoolB. There are three types of datapools: private, shared and globalC. The datapool associated with a script cannot be changed once the association has been madeD. A datapool can be created while in recording mode

Answer: D

QUESTION: 32Which Java method advances the datapool cursor to the next row in the datapool?

A. dpMoveNext()B. dpMoveCursor()C. dpNext()D. dpNextRow()

Answer: C

QUESTION: 33

000-842

11 http://www.certmagic.com

Page 12: 000 842 Q&A CertMagic

Which three statements are true about HelperSuper classes? (Choose three.)

A. Scripts can share Helper Superclasses.B. Scripts cannot share Helper Superclasses.C. Scripts can inherit from multiple Helper Superclasses.D. Scripts can inherit from a Helper Superclass that resides in a .jar file.

Answer: A, C, D

QUESTION: 34A script needs to perform an action on an object. One of the recognition properties of the object isthe .url property. The URL is dynamic. At recording time, the URL was http://www-3.ibm.com.However, it can vary every time the script is played back. In particular, the portion of the .urlproperty that is subject to change is the digits that appears after the dash. Which regular expressionwill match the value of the .url property regardless of the numer of digits between the - and the .?Note: The regular expression should NOT match the .url property if no digits appear after thedash (as in www-.ibm.com).

A. www-*\.ibm\.comB. www-{num}?\.ibm\.comC. www-{num}+\.ibm\.comD. www-[0-9]*\.ibm\.comE. www-[0-9]\.ibm\.com

Answer: C

QUESTION: 35What is the effect the Clear State on Close setting in the Object Map interface when you exit theobject map?

A. All new test objects will be accepted by removing the "New" designation from the test object.B. All new test objects will be accepted by changing the New designation to Accepted for the testobject.C. All unused test objects will be removed from the map.D. All test objects that have not been accepted will continue to have a designation of "New."

Answer: A

000-842

12 http://www.certmagic.com

Page 13: 000 842 Q&A CertMagic

QUESTION: 36Click the Exhibit Button. A script needs to perform an action on an HTML List object. Figure 6.1shows the recognition properties of the list object. Figure 6.2 shows the recognition properties ofthe HTML document. What will be the score of the found test object at runtime if the .text and .idrecognition properties in the list object are different and the .url property of the HTML Documentobject?

A. 1000B. 1400C. 10000D. 14000

Answer: D

QUESTION: 37Given the following settings:Maximum acceptable recognition score 10000

000-842

13 http://www.certmagic.com

Page 14: 000 842 Q&A CertMagic

Last chance recognition score 20000Warn if accepted score is greater than 10000Maximum time to attempt to find Test Object 20How will RFT behave at runtime if the recognition score of a found object is 10000?

A. It will accept the found object after waiting for 20 seconds for an object with better recognitionand write an Ambiguous Recognition Warning to the log.B. It will accept the found object after waiting for 20 seconds for an object with better recognitionand write nothing to the log.C. It will accept the found object immediately and write an Ambiguous Recognition Warning tothe log.D. It will accept the found object immediately and write nothing to the log.E. It will immediately throw an ObjectNotFoundException and write an Ambiguous RecognitionFailure to the log.F. It will throw an ObjectNotFoundException after waiting for 20 seconds for an object withbetter recognition and write an Ambiguous Recognition Failure to the log.

Answer: D

QUESTION: 38Which feature is NOT offered by the Object Map interface?

A. the ability to delete test objects that are not referenced by any scriptsB. the ability to delete scripts that do not reference any test objects in the object mapC. the ability to find all test objects not referenced by scriptsD. the ability to merge two test objects

Answer: B

QUESTION: 39What is the minimum weight that can be assigned to a recognition property?

A. no value (leave blank)B. 0C. 1D. 10E. 100

000-842

14 http://www.certmagic.com

Page 15: 000 842 Q&A CertMagic

Answer: B

QUESTION: 40Which regular expression offers a successful way to ensure the order number is a 1 to 3-digitnumber in the following format? Your order number is 125.

A. Your order number is [0-9]{3}.B. Your order number is [0-9]{3}\.C. Your order number is [0-9]{1,3}.D. Your order number is [0-9]{1,3}\.

Answer: D

QUESTION: 41What are the default values for retry interval and maximum retry time?

A. 2 second retry interval, 20 seconds maximum retry timeB. 5 second retry interval, 30 seconds maximum retry timeC. 1 second retry interval, 5 seconds maximum retry timeD. 3 second retry interval, 15 seconds maximum retry time

Answer: A

QUESTION: 42Which objects can be tested with a State verification point?

A. A combo box and a list boxB. A label and a text boxC. A table and a tree viewD. A checkbox and a toggle button

Answer: D

QUESTION: 43

000-842

15 http://www.certmagic.com

Page 16: 000 842 Q&A CertMagic

What is an appropriate use of the command Test Object > Highlight when working withverification points?

A. It is used to highlight the test object at playback (to identify what is being tested).B. It is used to create a new verification point in the current scriptC. It is used to highlight the test object (to verify it is found in the application)D. It is used to identify all objects in an application which can be tested

Answer: C

QUESTION: 44Which statement is true about the "Time Delayed" method when you are creating verificationpoints in your scripts?

A. It introduces a fixed delay after a previous action before the verification point is testedB. It allows a verification point to keep trying until the time specified has elapsedC. It gives the tester time to reveal pop-up objects (such as menus) during the creation of averification pointD. It gives the tester the opportunity to specify a delay after a verification point fails

Answer: C

QUESTION: 45Given the following manual verification point: vpManual ("manual1", "The rain in Spain", "TheRain in Spain").performTest(); What are the results?

A. The two strings are the same, and a pass would be generated in the logB. The two strings are different, and a fail would be generated in the logC. The syntax is incorrect, so this would not compileD. This will compile but the parameters are mixed up, and a fail would be recorded in the log.The correct syntax is: vpManual ("The rain in Spain", "The Rain in Spain","manual1").performTest();

Answer: B

QUESTION: 46

000-842

16 http://www.certmagic.com

Page 17: 000 842 Q&A CertMagic

Which branches under Preferences contain specific settings to enable the ClearCase integration?

A. Workbench and TestB. Functional Test and Run/DebugC. Workbench and TeamD. Plug-in Development and Functional Test

Answer: C

QUESTION: 47When you set break points, why does the script not stop at the break points and switch over to thedebug perspective?

A. This is a known eclipse bug in version 6.1 and has been corrected in the latest release or lastinterim fixB. The break point has already been recognized by the JVM and the break point needs to betoggledC. Either the icon or debug functional tester script was not invoked or the shift + F11 menuoption was not invokedD. The debug perspective is not listed as an available perspective when trying to debug a script

Answer: C

QUESTION: 48When you enable web browsers, what is the best way to select the Linux or UNIX web browser?

A. You use the Search button, choose Search All, select the executable, and provide all theneeded parameters.B. Modify the registry to enable Linux or Unix web browser supportC. Modify the Internet Explorer settings to refer to a Linux or Unix web browserD. You use the Search button, choose Search In, browse to the executable, and provide all theneeded parameters

Answer: D

QUESTION: 49

000-842

17 http://www.certmagic.com

Page 18: 000 842 Q&A CertMagic

In which situation is it best to use the Browser Enablement Diagnostic tool?

A. when the web browser does not launch when invoked through Functional TesterB. when testers are trying to determine if their web browsers are compatible with FunctionalTesterC. when Functional Tester is in the recording process and no HTML objects are being recognizedD. when Functional Tester is not able to launch the viewlet comparator on the HTML log

Answer: C

QUESTION: 50You cannot access help file from Rational Functional Tester. You receive an error or the pageloads slowly. How can this be fixed?

A. talk to the LAN Administrator to see if there is a problem with the corporate network or if theISP is having performance issuesB. in Network properties, change the IP configuration to static IP and provide a valid IP address,which can be obtained from the LAN AdministratorC. in the Network Advanced settings for proxies, remove "127.0.0.1; localhost" from theExceptions if these addresses are listedD. if your host was configured to use DHCP for IP assignment, make sure that the "Automaticallydetect settings" checkbox is cleared

Answer: D

QUESTION: 51Where do you set the option for switching to Test Debug perspective when debugging?

A. Preferences > Functional Test > Workbench > AdvancedB. Preferences > Java > DebugC. Preferences > Run/Debug > ConsoleD. Preferences > Test

Answer: A

QUESTION: 52

000-842

18 http://www.certmagic.com

Page 19: 000 842 Q&A CertMagic

How do you add line numbers within the script editors view?

A. use a third party plug-in because this option is not available within the tools interfaceB. download the latest version of the plug-inC. select the option under the main menu > Window > Preferences > DebugD. select the option under the main menu > Window > Preferences > Editor

Answer: D

QUESTION: 53How many default Java environments can you have within one configuration of RationalFunctional Tester?

A. one for each instance of the application under testB. as many default Java environments as are needed to do testingC. You can change the java environments dynamically when testing different applications.D. only one

Answer: D

QUESTION: 54What is the best practice when changing object maps that are already assigned to Functional Testprojects?

A. highlight the project in the Functional Test projects, right-click, select Properties > FunctionalTest project and browse to the new object mapB. record a new script, select the new Functional Test project, click next and browse to the newtest object mapC. modify the XML file, configurations.rftcfg, locate the object map section, enter the properobject and save the XML fileD. right-click the test object map in the script explorer, choose the Open option and makenecessary changes

Answer: A

QUESTION: 55

000-842

19 http://www.certmagic.com

Page 20: 000 842 Q&A CertMagic

Given the following code snippet in which Customers() represents an HTML table from whichdata needs to be extracted: Customers().getTestData("contents");What data type is returned by getTestData("contents")?

A. ITestDataTableB. StringC. TableDataD. TestData

Answer: A

QUESTION: 56Which three statements are true about HelperSuper classes? (Choose three.)

A. Scripts can share Helper Superclasses.B. Scripts cannot share Helper Superclasses.C. Scripts can inherit from multiple Helper Superclasses.D. Scripts can inherit from a Helper Superclass that resides in a .jar file.

Answer: A, C, D

QUESTION: 57Which statement is true about Functional Tester scripts and datapools?

A. All scripts are associated with either a private or shared datapool, and a script cannot existwithout a datapoolB. There are three types of datapools: private, shared and globalC. The datapool associated with a script cannot be changed once the association has been madeD. A datapool can be created while in recording mode

Answer: D

QUESTION: 58Which three methods write to the RFT log? (Choose three.)

000-842

20 http://www.certmagic.com

Page 21: 000 842 Q&A CertMagic

A. logError()B. logDefect()C. logInfo()D. logWarning()E. logSuccess()

Answer: A, C, D

QUESTION: 59Which Java method advances the datapool cursor to the next row in the datapool?

A. dpMoveNext()B. dpMoveCursor()C. dpNext()D. dpNextRow()

Answer: C

QUESTION: 60Given the following code snippet: OK().waitForExistence();Assuming that no changes have been made to the Functional Tester default playback settings,which two statements will cause Functional Tester to wait for 60 seconds for the OK button toappear? (Choose two.)

A. setOption(IOptionName.MAXIMUM_FIND_OBJECT_TIME, 60.0)B. setOption(IOptionName.MAXIMUM_WAIT_FOR_EXISTENCE, 60.0)C. setOption(IOptionName.TIME_MULTIPLIER, .5)D. setOption(IOptionName.TIME_MULTIPLIER, 2.0)

Answer: B, C

QUESTION: 61Given the following: A script named BuyCD has been created. A Helper Superclass named HelperSuper1 has been created. A Helper Superclass named HelperSuper2 has been created.Which of the following are valid Functional Tester script class inheritance hierarchies? (Choose

000-842

21 http://www.certmagic.com

Page 22: 000 842 Q&A CertMagic

two.) Note: inherits from is expressed by the symbol?

A. BuyCD -> BuyCDHelper -> RationalTestScriptB. BuyCD -> HelperSuper1 -> RationalTestScriptC. Helper1 -> RationalTestScript -> BuyCDD. BuyCD -> HelperSuper1 -> HelperSuper2 -> RationalTestScript

Answer: A, D

QUESTION: 62Given the following: ProcessTestObject pid = startApp("ClassicsJavaA");What are two valid methods one can call with a ProcessTestObject? (Choose two.)

A. pid.duplicate()B. pid.kill()C. OK(pid).click()D. pid.find(atDescendant("value", "OK"))E. pid.getObjects();

Answer: A, D

QUESTION: 63Which feature is NOT offered by the Object Map interface?

A. the ability to delete test objects that are not referenced by any scriptsB. the ability to delete scripts that do not reference any test objects in the object mapC. the ability to find all test objects not referenced by scriptsD. the ability to merge two test objects

Answer: B

QUESTION: 64A script needs to perform an action on an object. One of the recognition properties of the object isthe .url property. The URL is dynamic. At recording time, the URL was http://www-3.ibm.com.However, it can vary every time the script is played back. In particular, the portion of the .urlproperty that is subject to change is the digits that appear after the dash. Which regular expression

000-842

22 http://www.certmagic.com

Page 23: 000 842 Q&A CertMagic

will match the value of the .URL property regardless of the number of digits between the - and the.?Note: The regular expression should NOT match the .URL property if no digits appear after thedash (as in www-.ibm.com).

A. www-*\.ibm\.comB. www-{num}?\.ibm\.comC. www-{num}+\.ibm\.comD. www-[0-9]*\.ibm\.comE. www-[0-9]\.ibm\.com

Answer: C

QUESTION: 65What is the minimum weight that can be assigned to a recognition property?

A. no value (leave blank)B. 0C. 1D. 10E. 100

Answer: B

QUESTION: 66What is the effect the Clear State on Close setting in the Object Map interface when you exit theobject map?

A. All new test objects will be accepted by removing the "New" designation from the test object.B. All new test objects will be accepted by changing the New designation to Accepted for the testobject.C. All unused test objects will be removed from the map.D. All test objects that have not been accepted will continue to have a designation of "New."

Answer: A

000-842

23 http://www.certmagic.com

Page 24: 000 842 Q&A CertMagic

QUESTION: 67Given the following settings:Maximum acceptable recognition score 10000Last chance recognition score 20000Warn if accepted score is greater than 10000Maximum time to attempt to find Test Object 20How will RFT behave at runtime if the recognition score of a found object is 10000?

A. It will accept the found object after waiting for 20 seconds for an object with better recognitionand write an Ambiguous Recognition Warning to the log.B. It will accept the found object after waiting for 20 seconds for an object with better recognitionand write nothing to the log.C. It will accept the found object immediately and write an Ambiguous Recognition Warning tothe log. D. It will accept the found object immediately and write nothing to the log.E. It will immediately throw an ObjectNotFoundException and write an Ambiguous RecognitionFailure to the log.F. It will throw an ObjectNotFoundException after waiting for 20 seconds for an object withbetter recognition and write an Ambiguous Recognition Failure to the log.

Answer: D

QUESTION: 68Click the Exhibit Button. A script needs to perform an action on an HTML List object. Figure 6.1shows the recognition properties of the list object. Figure 6.2 shows the recognition properties ofthe HTML document. What will be the score of the found test object at runtime if the .text and .idrecognition properties in the list object are different and the .url property of the HTML Documentobject?

000-842

24 http://www.certmagic.com

Page 25: 000 842 Q&A CertMagic

A. 1000B. 1400C. 10000D. 14000

Answer: D

QUESTION: 69What will the following CallScript do? CallScript (myScript, null, DP_ALL)

A. cause the script to run an infinite number of timesB. cause the script to iterate through the entire datapoolC. cause the script to run through 100 datapool valuesD. cause myScript to always pass

Answer: B

QUESTION: 70Which statement is true about an RFT test datapool?

A. It is exclusive for only one test script.B. It is a collection of related data records.C. It is automatically generated during script record.D. It is a collection of related test scripts.

000-842

25 http://www.certmagic.com

Page 26: 000 842 Q&A CertMagic

Answer: B

QUESTION: 71What is one way to insert data-driven commands into the test script?

A. use the Insert Data Driven Commands button while recordingB. use the Insert Data Driven Commands button while executingC. the commands are generated automatically while importing the datapoolD. use the super helper class after recording

Answer: A

QUESTION: 72Which three actions are possible with RFT? (Choose three.)

A. use a wizard to substitute literals with datapool variablesB. substitute literals in verification points with datapool variablesC. create a datapool while recording a data-driven scriptD. create scripts in c#

Answer: A, B, C

QUESTION: 73What must you do before editing the datapool using an external application?

A. make it a public datapoolB. make it a private datapoolC. export it to a .csv fileD. import it from a .csv file

Answer: C

QUESTION: 74

000-842

26 http://www.certmagic.com

Page 27: 000 842 Q&A CertMagic

When is the best time to use data-driven testing?

A. when the test only needs to be run onceB. when the test steps change based on the test input dataC. when the test must be run multiple times with different dataD. when the test requires a lot of manual data entry

Answer: C

QUESTION: 75Functional Tester allows you to import an external datapool from which of the following?(Choose three.)

A. an external .csv fileB. another Functional Tester datapoolC. an existing TestManager datapoolD. an access (.mdb) file

Answer: A, B, C

QUESTION: 76You must _____ a script with a datapool before substituting literal values in the script withreferences to datapool variables.

A. shareB. associateC. runD. disassociate

Answer: B

QUESTION: 77How do you perform image verification in a test?

A. select Perform Image Verification Point from the Verification Point and Action Wizard

000-842

27 http://www.certmagic.com

Page 28: 000 842 Q&A CertMagic

B. select the Perform Properties Verification Point from the Verification Point and ActionWizard, then select only the .src or other property for the imageC. download and install the RFT Enhancement Pack plug-in from IBM Rational SupportD. download and install the Image Comparator for Rational Functional Tester 2003.06 utilityfrom developerWorks

Answer: D

QUESTION: 78Not including TestManager or custom logging, how can you organize RFT test results?

A. define and follow a naming convention for all test logsB. define and follow a naming convention for all logs and log subfoldersC. create as many folders in the *_logs project as needed and drag logs into the appropriatefoldersD. create additional log projects which are associated with the primary RFT project, (forexample, <project>_acceptance_logs)

Answer: A

QUESTION: 79What must you do to view a comparator of a failed verification point from an RFT text log?

A. open a web browser and browse to open the file:\<project_path> \<log_name>\<log_vp_name>.rftvd for the verification point you want to viewB. right-click on the test log and select Failed Verification Points from the right-click menu, thenselect the verification point you want to viewC. open the test log, right-click on the verification point line you want to view and select ViewResults from the right-click menuD. log results in another format since you cannot open a comparator from a text log

Answer: B

QUESTION: 80Out of the box, what are the different options for logging RFT tests?

000-842

28 http://www.certmagic.com

Page 29: 000 842 Q&A CertMagic

A. HTML, text, custom, TestManager, and noneB. HTML, text, TPTP, TestManager, and noneC. TestManager, CQTM, TPTP, HTML, and noneD. HTML, PDF, text, TestManager, and none

Answer: B

QUESTION: 81Given an existing TestManager Rational Test project, what are the steps to log results toTestManager?

A. from TestManager, create a new Test Script Type for RFT, then from RFT, select theFunctional Test logging preferences to TestManagerB. from RFT, select the Functional Test logging preferences to TestManager, then select theTestManager project when you run an RFT testC. from RFT, associate the Rational Test Project with the RFT project, then select the FunctionalTest logging preferences to TestManagerD. from the Rational Administrator, associate the RFT project to the Rational Test Project, thenfrom RFT, select the Functional Test logging preferences to TestManager

Answer: C

QUESTION: 82The tester resets their test environment and sets the playback environment. What is the tester readyto do?

A. record the testB. set recording optionsC. view and analyze the resultsD. play back the script

Answer: D

QUESTION: 83What should the tester open to view Test Objects, Main Data Area and Recognition Data?

000-842

29 http://www.certmagic.com

Page 30: 000 842 Q&A CertMagic

A. the test scriptB. the test comparatorC. the object mapD. the log viewer

Answer: B

QUESTION: 84If a test fails because the tester has updated the test data, what should the tester do to preventcontinued failures?

A. re-record the testB. use the comparator and update the baseline dataC. nothing, because the test is supposed to failD. change the test data

Answer: B

QUESTION: 85What should the tester do to open the comparator in an HTML log after the test has been playedback?

A. select View > Failures from the menuB. click the View Results link in the test logC. nothing, because the comparator open automaticallyD. select Open > Comparator from the menu

Answer: B

QUESTION: 86The two phases of playing back a script are script development and _____.

A. unit testingB. manual verificationC. reviewing resultsD. regression testing

000-842

30 http://www.certmagic.com

Page 31: 000 842 Q&A CertMagic

Answer: D

QUESTION: 87What should the tester view to discover the current script action being executed?

A. playback monitorB. the execution windowC. the test scriptD. the application under test

Answer: A

QUESTION: 88Which statement is true about the "Time Delayed" method when you are creating verificationpoints in your scripts?

A. It introduces a fixed delay after a previous action before the verification point is testedB. It allows a verification point to keep trying until the time specified has elapsedC. It gives the tester time to reveal pop-up objects (such as menus) during the creation of averification pointD. It gives the tester the opportunity to specify a delay after a verification point fails

Answer: C

QUESTION: 89Which regular expression offers a successful way to ensure the order number is a 1 to 3-digitnumber in the following format? Your order number is 125.

A. Your order number is [0-9]{3}.B. Your order number is [0-9]{3}\.C. Your order number is [0-9]{1,3}.D. Your order number is [0-9]{1,3}\.

Answer: D

000-842

31 http://www.certmagic.com

Page 32: 000 842 Q&A CertMagic

QUESTION: 90Given the following manual verification point: vpManual ("manual1", "The rain in Spain", "TheRain in Spain").performTest(); What are the results?

A. The two strings are the same, and a pass would be generated in the logB. The two strings are different, and a fail would be generated in the logC. The syntax is incorrect, so this would not compileD. This will compile but the parameters are mixed up, and a fail would be recorded in the log.The correct syntax is: vpManual ("The rain in Spain", "The Rain in Spain","manual1").performTest();

Answer: B

QUESTION: 91What are the default values for retry interval and maximum retry time?

A. 2 second retry interval, 20 seconds maximum retry timeB. 5 second retry interval, 30 seconds maximum retry timeC. 1 second retry interval, 5 seconds maximum retry timeD. 3 second retry interval, 15 seconds maximum retry time

Answer: A

QUESTION: 92What is an appropriate use of the command Test Object > Highlight when working withverification points?

A. It is used to highlight the test object at playback (to identify what is being tested).B. It is used to create a new verification point in the current scriptC. It is used to highlight the test object (to verify it is found in the application)D. It is used to identify all objects in an application which can be tested

Answer: C

000-842

32 http://www.certmagic.com

Page 33: 000 842 Q&A CertMagic

QUESTION: 93Which objects can be tested with a State verification point?

A. A combo box and a list boxB. A label and a text boxC. A table and a tree viewD. A checkbox and a toggle button

Answer: D

QUESTION: 94When you enable web browsers, what is the best way to select the Linux or UNIX web browser?

A. You use the Search button, choose Search All, select the executable, and provide all theneeded parameters.B. Modify the registry to enable Linux or Unix web browser supportC. Modify the Internet Explorer settings to refer to a Linux or Unix web browserD. You use the Search button, choose Search In, browse to the executable, and provide all theneeded parameters

Answer: D

QUESTION: 95Where do you set the option for switching to Test Debug perspective when debugging?

A. Preferences > Functional Test > Workbench > AdvancedB. Preferences > Java > DebugC. Preferences > Run/Debug > ConsoleD. Preferences > Test

Answer: A

QUESTION: 96You cannot access help file from Rational Functional Tester. You receive an error or the pageloads slowly. How can this be fixed?

000-842

33 http://www.certmagic.com

Page 34: 000 842 Q&A CertMagic

A. talk to the LAN Administrator to see if there is a problem with the corporate network or if theISP is having performance issuesB. in Network properties, change the IP configuration to static IP and provide a valid IP address,which can be obtained from the LAN AdministratorC. in the Network Advanced settings for proxies, remove "127.0.0.1; localhost" from theExceptions if these addresses are listedD. if your host was configured to use DHCP for IP assignment, make sure that the "Automaticallydetect settings" checkbox is cleared

Answer: D

QUESTION: 97How many default Java environments can you have within one configuration of RationalFunctional Tester?

A. one for each instance of the application under testB. as many default Java environments as are needed to do testingC. You can change the java environments dynamically when testing different applications.D. only one

Answer: D

QUESTION: 98What is the best practice when changing object maps that are already assigned to Functional Testprojects?

A. highlight the project in the Functional Test projects, right-click, select Properties > FunctionalTest project and browse to the new object mapB. record a new script, select the new Functional Test project, click next and browse to the newtest object mapC. modify the XML file, configurations.rftcfg, locate the object map section, enter the properobject and save the XML fileD. right-click the test object map in the script explorer, choose the Open option and makenecessary changes

Answer: A

000-842

34 http://www.certmagic.com

Page 35: 000 842 Q&A CertMagic

QUESTION: 99How do you add line numbers within the script editors view?

A. use a third party plug-in because this option is not available within the tools interfaceB. download the latest version of the plug-inC. select the option under the main menu > Window > Preferences > DebugD. select the option under the main menu > Window > Preferences > Editor

Answer: D

QUESTION: 100When you set break points, why does the script not stop at the break points and switch over to thedebug perspective?

A. This is a known eclipse bug in version 6.1 and has been corrected in the latest release or lastinterim fixB. The break point has already been recognized by the JVM and the break point needs to betoggledC. Either the icon or debug functional tester script was not invoked or the shift + F11 menuoption was not invokedD. The debug perspective is not listed as an available perspective when trying to debug a script

Answer: C

QUESTION: 101In which situation is it best to use the Browser Enablement Diagnostic tool?

A. when the web browser does not launch when invoked through Functional TesterB. when testers are trying to determine if their web browsers are compatible with FunctionalTesterC. when Functional Tester is in the recording process and no HTML objects are being recognizedD. when Functional Tester is not able to launch the viewlet comparator on the HTML log

Answer: C

000-842

35 http://www.certmagic.com

Page 36: 000 842 Q&A CertMagic

QUESTION: 102Which branches under Preferences contain specific settings to enable the ClearCase integration?

A. Workbench and TestB. Functional Test and Run/DebugC. Workbench and TeamD. Plug-in Development and Functional Test

Answer: C

QUESTION: 103A recording is started by:

A. Entering script_record on the command lineB. creating a script and then pressing the record button in the RFT applicationC. starting the application under testD. Starting RFT

Answer: B

QUESTION: 104How do you start the application under test?

A. use the Windows Start menuB. simply begin recordingC. open a command line and start the application by typing its nameD. click the Start Application button on the recording toolbar

Answer: D

QUESTION: 105How do you stop recording?

A. click the Stop Recording button on the recording toolbarB. end the application under test

000-842

36 http://www.certmagic.com

Page 37: 000 842 Q&A CertMagic

C. close RFTD. close the recording monitor

Answer: A

QUESTION: 106While recording a script, the recording monitor _____.

A. appears at the conclusion of recordingB. is only displayed on the toolbarC. does not appearD. displays a message for each action

Answer: D

QUESTION: 107What can you use to select an object as a verification point?

A. the object finder, the object picker, or the object browserB. the main object browser, the test object browser, or the extra object browserC. the object finder, the test object browser, or the delay methodD. the delay method, the scripting method, or the pointer method

Answer: C

QUESTION: 108What can be tested when recording a verification point?

A. an objects data onlyB. an objects data or properties onlyC. whether or not the object is workingD. an objects data, properties, or existence

Answer: D

000-842

37 http://www.certmagic.com