Page 1 of 1

UNKNOWN result with SELENIUM perl OK

Posted: Tue Jun 21, 2016 11:05 am
by dlukinski
Hello XI Support

We have configured SELENIUM integration (in accordance with your latest manual)
Getting "UNKNOWN" result after running perl script, whihc ends with OK.

There seem to be some issues with interpreting results (as per picture attached)
- please help:

UNKNOWN: ok 1 - open, /share/page/
ok 2 - type, id=page_x002e_components_x002e_slingshot-login_x0023_default-username, nagximon
ok 3 - type, id=page_x002e_components_x002e_slingshot-login_x0023_default-password, C0mplexNagMon123
ok 4 - click, id=page_x002e_components_x002e_slingshot-login_x0023_default-submit-button
ok 5 - wait_for_page_to_load, 30000
ok 6 - click, link=Search
ok 7 - wait_for_page_to_load, 30000
ok 8 - type, id=searchbar, g1702*
ok 9 - click, id=search
ok 10 - click, id=HEADER_USER_MENU_POPUP_text
ok 11 - click, id=HEADER_USER_MENU_LOGOUT_text
ok 12 - wait_for_page_to_load, 30000
1..12

Re: UNKNOWN result with SELENIUM perl OK

Posted: Tue Jun 21, 2016 11:35 am
by mcapra
That output looks as if the test case wasn't run through the clean_selenium_script script mentioned in the document. The purpose of clean_selenium_script is to format your test case in a way that is readable by Nagios.

Could you post the full test case with sensitive information omitted?

Re: UNKNOWN result with SELENIUM perl OK

Posted: Tue Jun 21, 2016 1:49 pm
by dlukinski
mcapra wrote:That output looks as if the test case wasn't run through the clean_selenium_script script mentioned in the document. The purpose of clean_selenium_script is to format your test case in a way that is readable by Nagios.

Could you post the full test case with sensitive information omitted?
You right, I forgot to clean the script: works now.

Please close the case

Re: UNKNOWN result with SELENIUM perl OK

Posted: Tue Jun 21, 2016 1:55 pm
by mcapra
Glad to be of assistance! Closing this