What must you do before editing the datapool using an external application?
A. make it a public datapool
B. make it a private datapool
C. export it to a .csv file
D. import it from a .csv file
What should the tester open to view Test Objects, Main Data Area and Recognition Data?
A. the test script
B. the test comparator
C. the object map
D. the log viewer
Given 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 two.) Note: inherits from is expressed by the symbol ?
A. BuyCD -> BuyCDHelper -> RationalTestScript
B. BuyCD -> HelperSuper1 -> RationalTestScript
C. Helper1 -> RationalTestScript -> BuyCD
D. BuyCD -> HelperSuper1 -> HelperSuper2 -> RationalTestScript
Given the following code snippet in which Customers() represents an HTML table from which data needs to be extracted:
Customers().getTestData("contents");
What data type is returned by getTestData("contents")?
A. ITestDataTable
B. String
C. TableData
D. TestData
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).
A. www-*\.ibm\.com
B. www-{num}?\.ibm\.com
C. www-{num}+\.ibm\.com
D. www-[0-9]*\.ibm\.com
E. www-[0-9]\.ibm\.com
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.
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}\.
When you set break points, why does the script not stop at the break points and switch over to the debug perspective?
A. This is a known eclipse bug in version 6.1 and has been corrected in the latest release or last interim fix
B. The break point has already been recognized by the JVM and the break point needs to be toggled
C. Either the icon or debug functional tester script was not invoked or the shift + F11 menu option was not invoked
D. The debug perspective is not listed as an available perspective when trying to debug a script
Given 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 two.) Note: inherits from is expressed by the symbol ?
A. BuyCD -> BuyCDHelper -> RationalTestScript
B. BuyCD -> HelperSuper1 -> RationalTestScript
C. Helper1 -> RationalTestScript -> BuyCD
D. BuyCD -> HelperSuper1 -> HelperSuper2 -> RationalTestScript
Given 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();
What is one way to insert data-driven commands into the test script?
A. use the Insert Data Driven Commands button while recording
B. use the Insert Data Driven Commands button while executing
C. the commands are generated automatically while importing the datapool
D. use the super helper class after recording