[Free] 2018(Jan) Dumps4cert Pass4sure IBM C2140-842 Dumps with VCE and PDF Download 31-40

Dumps4cert 2018 Jan IBM Official New Released C2140-842
100% Free Download! 100% Pass Guaranteed!
http://www.Dumps4cert.com/C2140-842.html

Rational Functional Tester for Java

Question No: 31

Which statement is true about Functional Tester scripts and datapools?

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

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

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

  4. A datapool can be created while in recording mode

Answer: D

Question No: 32

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

  1. dpMoveNext()

  2. dpMoveCursor()

  3. dpNext()

  4. dpNextRow()

Answer: C

Question No: 33

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

  1. Scripts can share Helper Superclasses.

  2. Scripts cannot share Helper Superclasses.

  3. Scripts can inherit from multiple Helper Superclasses.

  4. Scripts can inherit from a Helper Superclass that resides in a .jar file.

Answer: A,C,D

Question No: 34

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 number 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 ww-.ibm.com).

  1. www-*\.ibm\.com

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

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

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

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

Answer: C

Question No: 35

What is the effect the Clear State on Close setting in the Object Map interface when you exit the object map?

  1. All new test objects will be accepted by removing the 鈥淣ew鈥?designation from the test object.

  2. All new test objects will be accepted by changing the New designation to Accepted for the test object.

  3. All unused test objects will be removed from the map.

  4. All test objects that have not been accepted will continue to have a designation of 鈥淣ew.鈥?/p>

Answer: A

Question No: 36

Exhibit # 1:

Dumps4Cert 2018 PDF and VCE

Exhibit # 2:

Dumps4Cert 2018 PDF and VCE

A script needs to perform an action on an HTML List object. Figure 6.1 shows the recognition properties of the list object. Figure 6.2 shows the recognition properties of the HTML document.

What will be the score of the found test object at runtime if the .text and id recognition properties in the list object are different and the .url property of the HTML Document object?

A. 1000

B. 1400

C. 10000

D. 14000

Answer: D

Question No: 37

Given the following settings:

Maximum acceptable recognition score10000 Last chance recognition score20000

Warn if accepted score is greater than10000 Maximum time to attempt to find Test Object20

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

  1. 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. It will accept the found object after waiting for 20 seconds for an object with better recognition and write nothing to the log.

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

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

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

  6. 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.

Answer: D

Question No: 38

Which feature is NOT offered by the Object Map interface?

  1. the ability to delete test objects that are not referenced by any scripts

  2. the ability to delete scripts that do not reference any test objects in the object map

  3. the ability to find all test objects not referenced by scripts

  4. the ability to merge two test objects

Answer: B

Question No: 39

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

  1. no value (leave blank)

  2. 0

  3. 1

  4. 10

E. 100

Answer: B

Question No: 40

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. Your order number is [0-9]{3}.

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

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

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

Answer: D

100% Free Download!
Download Free Demo:C2140-842 Demo PDF
100% Pass Guaranteed!
Download 2018 Dumps4cert C2140-842 Full Exam PDF and VCE

Dumps4cert ExamCollection Testking
Lowest Price Guarantee Yes No No
Up-to-Dated Yes No No
Real Questions Yes No No
Explanation Yes No No
PDF VCE Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No

2018 Dumps4cert IT Certification PDF and VCE