Parse a small xml file with Python 3.9 or higher
Budget: $10 – $30 USD
Print following values in a results.txt file.
Test name: Testcase 1
App Url: https://testenv.mycompany.com
minor: 52
critical: 5
moderate: 3
serious: 0
Test name: Testcase 2
App Url: https://testenv.mycompany.com/content/contactMe.html
minor: 52
critical: 5
moderate: 0
serious: 0
Test name: Testcase 3
App Url: https://testenv.mycompany.com/help/webcast.html
minor: 52
critical: 7
moderate: 2
serious: 0
Test name: Testcase 4
App Url: https://testenv.mycompany.com/corp/search.html
minor: 54
critical: 5
moderate: 1
serious: 0
Test name: Testcase 5
App Url: https://testenv.mycompany.com/us/access.html
minor: 52
critical: 5
moderate: 0
serious: 0
Test name: Testcase 6
App Url: https://testenv.mycompany.com/en/index/who.html
minor: 52
critical: 5
moderate: 1
serious: 0
-----------------------------------------------------------------------------------------------------------------------
How to extract values?
Test name: Testcase 1
To extract go to /robot/suite/test
App Url: https://testenv.mycompany.com
To extract go to /robot/suite/test/kw/arg
category: minor
To extract go to /robot/suite/test/kw then go to
<kw> whose attribute is name="Log Readable Accessibility Result" then go to <msg> and look for minor
Minor Issue Count: 52
To extract go to /robot/suite/test/kw then go to
<kw> whose attribute is name="Log Readable Accessibility Result" then go to
<msg> and look for minor then count "Target" to calculate Minor Issue Count.
category: critical
To extract go to /robot/suite/test/kw then go to
<kw> whose attribute is name="Log Readable Accessibility Result" then go to <msg> and look for critical
Critical Issue Count: 5
To extract go to /robot/suite/test/kw then go to
<kw> whose attribute is name="Log Readable Accessibility Result" then go to
<msg> and look for critical then count "Target" to calculate Critical Issue Count.
category: moderate
To extract go to /robot/suite/test/kw then go to
<kw> whose attribute is name="Log Readable Accessibility Result" then go to <msg> and look for moderate
Moderate Issue Count: 5
To extract go to /robot/suite/test/kw then go to
<kw> whose attribute is name="Log Readable Accessibility Result" then go to
<msg> and look for moderate then count "Target" to calculate Moderate Issue Count.
category: serious
To extract go to /robot/suite/test/kw then go to
<kw> whose attribute is name="Log Readable Accessibility Result" then go to <msg> and look for serious
Serious Issue Count: 0
To extract go to /robot/suite/test/kw then go to
<kw> whose attribute is name="Log Readable Accessibility Result" then go to
<msg> and look for serious then count "Target" to calculate Serious Issue Count.
Test name: Testcase 1
App Url: https://testenv.mycompany.com
minor: 52
critical: 5
moderate: 3
serious: 0
Test name: Testcase 2
App Url: https://testenv.mycompany.com/content/contactMe.html
minor: 52
critical: 5
moderate: 0
serious: 0
Test name: Testcase 3
App Url: https://testenv.mycompany.com/help/webcast.html
minor: 52
critical: 7
moderate: 2
serious: 0
Test name: Testcase 4
App Url: https://testenv.mycompany.com/corp/search.html
minor: 54
critical: 5
moderate: 1
serious: 0
Test name: Testcase 5
App Url: https://testenv.mycompany.com/us/access.html
minor: 52
critical: 5
moderate: 0
serious: 0
Test name: Testcase 6
App Url: https://testenv.mycompany.com/en/index/who.html
minor: 52
critical: 5
moderate: 1
serious: 0
-----------------------------------------------------------------------------------------------------------------------
How to extract values?
Test name: Testcase 1
To extract go to /robot/suite/test
App Url: https://testenv.mycompany.com
To extract go to /robot/suite/test/kw/arg
category: minor
To extract go to /robot/suite/test/kw then go to
<kw> whose attribute is name="Log Readable Accessibility Result" then go to <msg> and look for minor
Minor Issue Count: 52
To extract go to /robot/suite/test/kw then go to
<kw> whose attribute is name="Log Readable Accessibility Result" then go to
<msg> and look for minor then count "Target" to calculate Minor Issue Count.
category: critical
To extract go to /robot/suite/test/kw then go to
<kw> whose attribute is name="Log Readable Accessibility Result" then go to <msg> and look for critical
Critical Issue Count: 5
To extract go to /robot/suite/test/kw then go to
<kw> whose attribute is name="Log Readable Accessibility Result" then go to
<msg> and look for critical then count "Target" to calculate Critical Issue Count.
category: moderate
To extract go to /robot/suite/test/kw then go to
<kw> whose attribute is name="Log Readable Accessibility Result" then go to <msg> and look for moderate
Moderate Issue Count: 5
To extract go to /robot/suite/test/kw then go to
<kw> whose attribute is name="Log Readable Accessibility Result" then go to
<msg> and look for moderate then count "Target" to calculate Moderate Issue Count.
category: serious
To extract go to /robot/suite/test/kw then go to
<kw> whose attribute is name="Log Readable Accessibility Result" then go to <msg> and look for serious
Serious Issue Count: 0
To extract go to /robot/suite/test/kw then go to
<kw> whose attribute is name="Log Readable Accessibility Result" then go to
<msg> and look for serious then count "Target" to calculate Serious Issue Count.