Skip to main content

C9510-842 Real Exam Questions

Rational Functional Tester for Java

80 questions available · Page 1 of 8

Updated Exam DumpsVerified AnswersPass Guarantee

Get Complete Exam Dumps
Question 1 Single choice

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

  1. A

    Your order number is [0-9]{3}.

  2. B

    Your order number is [0-9]{3}\.

  3. C

    Your order number is [0-9]{1,3}.

  4. D

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

Show answer and explanation

Correct answer: D

Question 2 Single choice

Which statement is true about Functional Tester scripts and datapools?

  1. A

    All scripts are associated with either a private or shared datapool, and a script cannot exist without a datapool

  2. B

    There are three types of datapools: private, shared and global

  3. C

    The datapool associated with a script cannot be changed once the association has been made

  4. D

    A datapool can be created while in recording mode

Show answer and explanation

Correct answer: D

Question 3 Single choice

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

  1. A

    no value (leave blank)

  2. B

    0

  3. C

    1

  4. D

    10

  5. E

    100

Show answer and explanation

Correct answer: B

Question 4 Single choice

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

  1. A

    You use the Search button, choose Search All, select the executable, and provide all the needed parameters.

  2. B

    Modify the registry to enable Linux or Unix web browser support

  3. C

    Modify the Internet Explorer settings to refer to a Linux or Unix web browser

  4. D

    You use the Search button, choose Search In, browse to the executable, and provide all the needed parameters

Show answer and explanation

Correct answer: D

Question 5 Single choice

Given the following settings:

Maximum acceptable recognition score 10000
Last chance recognition score 20000
Warn if accepted score is greater than 10000

Maximum time to attempt to find Test Object 20

How will RFT behave at runtime if the recognition score of a found object is 10000?

  1. A

    It will accept the found object after waiting for 20 seconds for an object with better recognition and write an Ambiguous Recognition Warning to the log.

  2. B

    It will accept the found object after waiting for 20 seconds for an object with better recognition and write nothing to the log.

  3. C

    It will accept the found object immediately and write an Ambiguous Recognition Warning to the log.

  4. D

    It will accept the found object immediately and write nothing to the log.

  5. E

    It will immediately throw an ObjectNotFoundException and write an Ambiguous Recognition Failure to the log.

  6. F

    It will throw an ObjectNotFoundException after waiting for 20 seconds for an object with better recognition and write an Ambiguous Recognition Failure to the log.

Show answer and explanation

Correct answer: D

Question 6 Single choice

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

  1. A

    make it a public datapool

  2. B

    make it a private datapool

  3. C

    export it to a .csv file

  4. D

    import it from a .csv file

Show answer and explanation

Correct answer: C

Question 7 Multiple choice

Given the following:

ProcessTestObject pid = startApp("ClassicsJavaA");

What are two valid methods one can call with a ProcessTestObject? (Choose two.)

  1. A

    pid.duplicate()

  2. B

    pid.kill()

  3. C

    OK(pid).click()

  4. D

    pid.find(atDescendant("value", "OK"))

  5. E

    pid.getObjects();

Show answer and explanation

Correct answers: A, D

Question 8 Single choice

How do you stop recording?

  1. A

    click the Stop Recording button on the recording toolbar

  2. B

    end the application under test

  3. C

    close RFT

  4. D

    close the recording monitor

Show answer and explanation

Correct answer: A

Question 9 Single choice

You cannot access help file from Rational Functional Tester. You receive an error or the page loads slowly.

How can this be fixed?

  1. A

    talk to the LAN Administrator to see if there is a problem with the corporate network or if the ISP is having performance issues

  2. B

    in Network properties, change the IP configuration to static IP and provide a valid IP address, which can be obtained from the LAN Administrator

  3. C

    in the Network Advanced settings for proxies, remove "127.0.0.1; localhost" from the Exceptions if
    these addresses are listed

  4. D

    if your host was configured to use DHCP for IP assignment, make sure that the "Automatically detect settings" checkbox is cleared

Show answer and explanation

Correct answer: D

Question 10 Single choice

A script needs to perform an action on an object. One of the recognition properties of the object is the .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 .url property that is subject to change is the digits that appears after the dash.

Which regular expression will 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 the dash (as in www-.ibm.com).

  1. A

    www-*\.ibm\.com

  2. B

    www-{num}?\.ibm\.com

  3. C

    www-{num}+\.ibm\.com

  4. D

    www-[0-9]*\.ibm\.com

  5. E

    www-[0-9]\.ibm\.com

Show answer and explanation

Correct answer: C