Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7979425
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T09:46:33+00:00 2026-06-04T09:46:33+00:00

I want to parse TestComplele 7 logs programmatically. Specifically, I want to get names

  • 0

I want to parse TestComplele 7 logs programmatically. Specifically, I want to get names and statuses (success\failure\warning) of each test.

According to manual, I use the following command to get test run logs:

Log["SaveResultsAs"] ("PathToMyFolder", 1);

This creates a bunch of files and folders, including XMLs which can be parsed by my script.
Here is an example of such an XML:

<ProjectLog>
  <ProjectLogItem id="0" pid="-1" nety="False">
    <Status>805039D.gif</Status>
    <No>1</No>
    <Name><![CDATA[Script Test Log [cTaStoring\cTaStoring_Start]]]></Name>
    <StartTime>13.04.2012 12:26:15</StartTime>
    <EndTime>13.04.2012 12:27:47</EndTime>
    <RunTime>0:01:32</RunTime>
    <Details></Details>
    <Messages/>
   </ProjectLogItem>
   <ProjectLogItem id="1" pid="-1" nety="False">
    <Status>905039C.gif</Status>
    <No>2</No>
    <Name><![CDATA[AutomaticStoring]]></Name>
    <StartTime>13.04.2012 12:27:47</StartTime>
    <EndTime>13.04.2012 12:30:42</EndTime>
    <RunTime>0:02:55</RunTime>
    <Details></Details>
    <Messages/>
   </ProjectLogItem>
</ProjectLog>

As you can see, I can get almost everything I want, but the most valuable piece of data, the status of a test is written as a file name of a picture showing the corresponding icon! E.g. 805039D.gif contains a checkmark and 905039C.gif contains an exclamation mark.

It would be easy to hardcode these names in my scripts, but the problem is that they change constantly!

Questions:

  1. Why have they decided to use image names instead of some enumeration
    to output statuses?
  2. Why on earth do icons change their names?
  3. How to get the statuses of tests?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T09:46:34+00:00Added an answer on June 4, 2026 at 9:46 am

    I was most annoyed by the same issue. So I wrote this in C# to solve it:

    I would get the Length of the file that the image refers to, then

                if (b.Length == 610) status = "Pass";
                if (b.Length == 1016) status = "Fail";
                if (b.Length == 353) status = "Inconclusive";
    

    So if the file it refers to is 610 in length, then pass, etc…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to parse out each modified file that is reported during FCIV's verification
I want to parse the following xml and get the value of metadata:description using
I want to parse a JSON file in java and get the following values
I want to parse Google News RSS with PHP, to get actual links of
I want to parse (little critical) xml using php simplexml...But i can aither get
I want to parse my date like yyyy-mm-dd-hh:mm:ss. And I want to get a
I want parse the html of current page. How can I get the html
i want to parse pdf file such that i can identify each article's title
I want to parse expressions like those in typical Haskell source. I get an
I want to parse SQL code using C#. Specifically, is there any freely available

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.