nerdexam
IBM

C2140-842 · Question #47

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

The correct answer is A. pid.duplicate() D. pid.find(atDescendant("value", "OK")). See the full explanation below for the reasoning.

Question

Given the following:

ProcessTestObject pid = startApp("ClassicsJavaA"); What are two valid methods one can call with a ProcessTestObject? (Choose two.)

Options

  • Apid.duplicate()
  • Bpid.kill()
  • COK(pid).click()
  • Dpid.find(atDescendant("value", "OK"))
  • Epid.getObjects();

How the community answered

(39 responses)
  • A
    74% (29)
  • B
    15% (6)
  • C
    5% (2)
  • E
    5% (2)

Community Discussion

No community discussion yet for this question.

Full C2140-842 Practice