dev_exo
dev_exo

Reputation: 174

IOS UI Automation Export Traced Results

My Instruments will not save anything, I don't know if its bugged or what. I have selected a desired folder under Logging and checked Continuous Log Results but nothing gets saved inside it. I don't need image screenshots, I just need xml, html and pdf.

Upvotes: 0

Views: 340

Answers (2)

jmartinalonso
jmartinalonso

Reputation: 2492

I have experienced the same problem. To solve it, You have to push the "record" button placed in the top left corner, before running your tests. After that you can push the "Export Traced Results" and get the .plist and all the screenshots.

I can used this post to generate html and pdf file from .plist: http://blog.essencework.com/post/1728269540/xcode-uiautomation-for-test-result-report-part-2

enter image description here

Upvotes: 0

UI Intruments QA
UI Intruments QA

Reputation: 21

If you are trying to save your test results, you are doing it correctly. the traced result of your test will create a .Plist file that you will need to save as an XML file. I used a XLT transform template to make the XML easier to read, with a table displaying the tests, as well as the pass/ fail result.

Upvotes: 2

Related Questions