Absent Member.
Absent Member.
2581 views

How to return test result from Python script back to Silk

Jump to solution

How would I return test result from Python script to Silk so it shows the test pass/fail on Silk? Currently, as long as the my Python script is executed, it is shown as Pass in Silk.

I looked at this post, but the sample file is missing: 

http://community.microfocus.com/borland/test/silk_central/w/knowledge_base/13023.how-to-run-python-scripts-from-silk-central-test-manager.aspx


Here is a link to a screenshot to show what I want.
https://www.dropbox.com/s/imwan9k7ukudrli/TestResult.jpg?dl=0



Tags (1)
0 Likes
1 Solution

Accepted Solutions
Micro Focus Expert
Micro Focus Expert

The sample script is now attached to the article and below as xml2silk.txt.  I recommend that this should be run as a ProcessExecutor type test as opposed to Windows Scripting Test, my settings are shown below

xml2silk.py

.

View solution in original post

0 Likes
2 Replies
Micro Focus Expert
Micro Focus Expert

The sample script is now attached to the article and below as xml2silk.txt.  I recommend that this should be run as a ProcessExecutor type test as opposed to Windows Scripting Test, my settings are shown below

xml2silk.py

.

View solution in original post

0 Likes
Absent Member.
Absent Member.

Thanks!

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.