Forum Discussion
These links may be of some help:
https://support.smartbear.com/testcomplete/docs/testing-with/checkpoints/xml/analyzing-results.html
https://support.smartbear.com/testcomplete/docs/testing-with/checkpoints/xml/analyzing-results.html
If you don't think a particular test is working properly, please post the two xmls that you are comparing and post the results of the test, showing which part you think is wrong. The more details you give us, the easier it is for us to help you.
I have included a screen shot of the data I am asking about. Do the green boxes in the image get checked or just the red?
Thank you!
- Marsha_R6 years agoChampion Level 3
see section in italics below
The checkpoint obtains the actual contents of the XML document and checks it against baseline data stored in the project's XMLCheckpoint element. To do this, TestComplete goes down the hierarchy of document elements and compares each element node. The check starts from the root nodes. For each node TestComplete performs the following actions:
-
Finds the appropriate node in the documents. Depending on the Ignore node order setting TestComplete may also check the node's position in the documents.
-
After the appropriate node is found, TestComplete compares the nodes' values.
-
Then, if the Ignore attributes is disabled, TestComplete compares the nodes' attributes and namespace declarations (the comparison of namespace declarations can be skipped by enabling the Ignore namespace declaration setting).
-
Then, TestComplete obtains the list of child nodes and continues the comparison with the child nodes.
-
If the compared nodes or their child nodes differ from each other, TestComplete reports the compared nodes as different.
-
Related Content
- 2 years agopstachelek
Recent Discussions
- 2 days agoGane195