Multiple choice technology testing

The method used to compare 2 XML files is:

  1. XMLfile1.compare(XMLfile2)

  2. XMLcompare(file1,file2)

  3. compare(XMLfile1,XMLfile2)

  4. compare(file XML1,file XML2)

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In QTP/UFT, the compare() method accepts two XML file objects as parameters and returns their differences. This is the standard syntax for XML comparison within the tool's testing framework.