I'm new with Quality Center.
I'm writing a script should query database and will display retrieved data as message box on screen.
I located my script-Function, initiated by a new button, in the 'Common script' section so it could run for any context.
My button located on Test Lab so it's appears on Test Lab and on the Run properties as well.
The information I'm query stored in Run_Fields, Step_Fields and Test_Fields.
Currently I receive either no errors and no data.
I think it's because the context/focus is not defined.
My questions are:
- How I get the current context/focus where user push my new button?
- How I can set my script to run in certain context?
- Where I can find scrips samples (I visit the official site with no luck)?