Sikuli integration with HP-Quality Center

Asked by Jaspreet Singh

Hello,

Can you please tell me if I can integrate Test Management tool HP's Quality Center v9.2 with Sikuli.
To elaborate.

I have written test cases in Quality Center, I want to run Sikuli script from QC and want that test results gets automatically updated in QC. Like I can do with QTP. Can I do that with Sikuli, is there any way I can store my results to QC automatically.

Thanks in anticipation.

Rgds/Jaspreet

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

Since Sikuli run without using the IDE (which must be in your case) sends all output to stdout, you have to catch this.

Revision history for this message
Jaspreet Singh (js-sabharwal) said :
#2

Thanks Raimund,

Can you please provide more clarification, can you pls provide little code snippet, what do you mean by "sends all output to stdout," and catch this ?

Revision history for this message
RaiMan (raimund-hocke) said :
#3

Depending on your primary testing tool (e.g. Java JUnit), you will use calls to Sikuli features to accompany your tests.

As long as you use the return values internally to trigger your asserts, nothing else is needed.

If you implement some logging, that will be analyzed later on or integrated in your test reporting, you have to integrate this with your use of Sikuli features.

the most loosely coupled integration of Sikuli is to just run scripts from command line like:
Sikuli-IDE.bat -r some-test.sikuli >some-test-log.txt
which will redirect the output to some-test-log.txt (catch it).

It is your decision, which of the two available API layers (Python/Jython or Java) you use for testing purposes and what features you want to have.

And believe me, it is not a question of "providing a little code snippet".

You have to decide how to use some-test-log.txt in your testing environment and implement the handling.

Revision history for this message
srinivas (hyper1) said :
#4

Hi RaiMan,

Can you please provide us more deatailed steps on this to intergrate with HP QC. Thanks in advance.

Regards
Srinivas

Can you help with this problem?

Provide an answer of your own, or ask Jaspreet Singh for more information if necessary.

To post a message you must log in.