Re: [robotframework-eclipselibrary-user RobotFramework struggling with A_TestEclipseLibrary_installation.html

72 views
Skip to first unread message

Laurent Carbonnaux

unread,
Jul 19, 2012, 12:58:35 PM7/19/12
to robotframework-ec...@googlegroups.com
Hello,

It seams you have a problem with path to different files.
Did you install : 
-  eclipselibrary-0.17-with-dependencies-e36.jar under C:/eclipse/lib
- EclipseLibraryKeywords.html under C:/eclipse/RobotFramework

Regards,
Laurent

2012/7/17 RobotUser735 <josc...@yahoo.com>
Dear Team,

     in the course of evaluating the robot framework I do struggle in the beginning.
The A_TestEclipseLibrary_installation.html testcase always fails.
I do get error messages that I do not know how to resolve. I'd be glad if someone could help me.

Error Message from: .../eclipse/RobotFramework/results/log.html
20120717 16:03:35.421 ERROR Error in file 'C:\eclipse\RobotFramework\A_TestEclipseLibrary_installation.html' in table 'Setting': Importing test library 'file:/C:/eclipse/lib/eclipselibrary-0.17-with-dependencies-e36.jar' failed: ImportError: No module named file:/C:/eclipse/lib/eclipselibrary-0 Traceback (most recent call last): None PYTHONPATH: C:\eclipse\lib\robotframework-2.7.3.jar\Lib\robot\libraries C:\eclipse\lib\robotframework-2.7.3.jar\Lib C:\eclipse\lib\Lib __classpath__ __pyclasspath__/ . C:\eclipse\RobotFramework CLASSPATH: c:/eclipse/lib/robotframework-2.7.3.jar
20120717 16:03:35.437

...

TEST CASE: Test Eclipse installation Expand All
Full Name: A TestEclipseLibrary installation.Test Eclipse installation
Documentation:

This test checks if all is installed for robotframework Eclipse should be installed in -install parameter Workspace path used is in -data parameter Workspace should be a new empty one.

Change those settings according to your own installation

Start / End / Elapsed: 20120717 15:18:43.937 / 20120717 15:18:43.953 / 00:00:00.016
Status: FAIL (critical)
Message: No keyword with name 'Set Eclipse Library Log Level' found.
-
KEYWORD: Set Eclipse Library Log Level DEBUG Expand All
Start / End / Elapsed: 20120717 15:18:43.953 / 20120717 15:18:43.953 / 00:00:00.000
15:18:43.953 FAIL No keyword with name 'Set Eclipse Library Log Level' found.
---------

I am not sure if I have used the right syntax for the variables:

A_TestEclipseLibrary_installation.html:
<td class="name">Library</td>
<td>file:/C:/eclipse/lib/eclipselibrary-0.17-with-dependencies-e36.jar</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td class="name">Resource</td>
<td>file:/C:/eclipse/RobotFramework/EclipseLibraryKeywords.html</td>
<td></td>

....

<td class="name">${eclipse_install}</td>
<td>file:/C:/eclipse/</td>
<td># -install eclipse parameter to set eclipse installation directory</td>
<td></td>
<td></td>
</tr>
<tr>
<td class="name">${eclipse_data}</td>
<td>file:/C:/eclipse/RobotFramework/workspace</td>
<td># -data eclipse parameter to set workspace</td>
<td></td>
ERROR Error in file 'C:\eclipse\RobotFramework\A_TestEclipseLibrary_installation.html' in table 'Setting': Resource file 'file:/C:/eclipse/RobotFramework/EclipseLibraryKeywords.html' does not exist.

---------

Eclipse is installed and starts if I start it manually
The files are in the directory as indicated.
I have set the PATH variable to the \bin of jython and the \Scripts of phython

Thank you very much for any hints that pinpoint to the right direction.
kind regards

J S

unread,
Jul 19, 2012, 2:52:34 PM7/19/12
to robotframework-ec...@googlegroups.com
Laurent,

    thank you very much for your reply.

I think I did install the files where they belong to:


Here is my Path Variable:
C:\Program Files\IDM Computer Solutions\UltraEdit\;C:\jython;c:\jython\bin;C:\Python27;C:\Python27\Scripts;C:\Program Files\TranscriberAG\libs;C:\Program Files\TranscriberAG\libs\gtkmm\bin;C:\eclipse;c:\eclipse\lib;C:\eclipse\robotframework

I did check the installation instructions, but I still think I missed a very basic point there.

Your kind support is very much appreciated.

With kind regards


From: Laurent Carbonnaux <laurent.c...@gmail.com>
To: robotframework-ec...@googlegroups.com
Sent: Thursday, July 19, 2012 6:58 PM
Subject: Re: [robotframework-eclipselibrary-user RobotFramework struggling with A_TestEclipseLibrary_installation.html

Laurent Carbonnaux

unread,
Jul 20, 2012, 4:53:51 AM7/20/12
to robotframework-ec...@googlegroups.com
I didn't see you had change the variable:

A_TestEclipseLibrary_installation.html:
<td class="name">Library</td>
<td>file:/C:/eclipse/lib/eclipselibrary-0.17-with-dependencies-e36.jar</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td class="name">Resource</td>
<td>file:/C:/eclipse/RobotFramework/EclipseLibraryKeywords.html</td>
<td></td> 

For Library variable : just use  <td>EclispeLibrary</td>, rf will find the library in the path itself.

It also appears that   Resource file 'file:/C:/eclipse/RobotFramework/EclipseLibraryKeywords.html' does not exist. 

Let me know
Laurent.

2012/7/19 J S <josc...@yahoo.com>

J S

unread,
Jul 20, 2012, 11:03:13 AM7/20/12
to robotframework-ec...@googlegroups.com
Laurent,

         your hint was the solution to all problems it took me only 15 mins to resolve the rest:

C:\eclipse\RobotFramework>eclipsebot.bat A_TestEclipseLibrary_installation.html
==============================================================================
A TestEclipseLibrary installation :: Test suite used to check robotframewor...
==============================================================================
Test Eclipse installation :: This test checks if all is installed ... | PASS |
------------------------------------------------------------------------------
A TestEclipseLibrary installation :: Test suite used to check robo... | PASS |
1 critical test, 1 passed, 0 failed
1 test total, 1 passed, 0 failed
==============================================================================
Debug:   C:\eclipse\RobotFramework\results\jybot.log
Output:  C:\eclipse\RobotFramework\results\output.xml
Log:     C:\eclipse\RobotFramework\results\log.html
Report:  C:\eclipse\RobotFramework\results\report.html

C:\eclipse\RobotFramework>

Thank you very very very much and have a great weekend.
JS
Sent: Friday, July 20, 2012 10:53 AM

Laurent Carbonnaux

unread,
Jul 22, 2012, 2:57:13 PM7/22/12
to robotframework-ec...@googlegroups.com
Enjoy using rf.
Let me know your feedback, I would be very pleased.

Laurent.

2012/7/20 J S <josc...@yahoo.com>

ssvkam...@gmail.com

unread,
Sep 12, 2013, 6:23:55 AM9/12/13
to robotframework-ec...@googlegroups.com
Hi  I am able to start eclipse but when I access the help menu on the menu bar of eclipse..I am getting the following error on console.

D:\PSCR_Cmd_Runner\Eclipse_Library_Test_Suite>eclipsebot.bat testcases\resources\A_TestEclipseLibrary_installation.txt

==============================================================================
A TestEclipseLibrary installation :: Test suite used to check robotframewor...
==============================================================================
Test Eclipse installation :: This test checks if all is installed ... | FAIL |
Widget (of class:org.lcx.robotframework.swtbot.eclipse.finder.widgets.SWTBotPerspective) in the context is not a instance of expected class:org.lcx.robotframework.swtbot.eclipse.finder.widgets.SWTBotView
------------------------------------------------------------------------------
A TestEclipseLibrary installation :: Test suite used to check robo... | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==============================================================================
Debug:   D:\PSCR_Cmd_Runner\Eclipse_Library_Test_Suite\results\jybot.log
Output:  D:\PSCR_Cmd_Runner\Eclipse_Library_Test_Suite\results\output.xml
Log:     D:\PSCR_Cmd_Runner\Eclipse_Library_Test_Suite\results\log.html
Report:  D:\PSCR_Cmd_Runner\Eclipse_Library_Test_Suite\results\report.html


regards,
Kameswari
Laurent.

2012/7/20 J S <josc...@yahoo.com>
Laurent.

2012/7/19 J S <josc...@yahoo.com>
Reply all
Reply to author
Forward
0 new messages