Wiki page up to date with setup instructions and link to Marco's scripts.

http://wiki.contribs.org/Robotframework

Note that ftp and ssh from scripts now work for me!

Cheers Brian
[email protected]


On 05/03/14 12:32, brian read wrote:
Ok, I've also got it logging in to the Server Manager, but not got as far as Marco.

I've started a Wiki page:

http://wiki.contribs.org/Robotframework

and will be adding in my instructions a bit later on. I'll add in Marco's results and script as well.

Still not managed to get the SSH or FTP tester to login to the SMEServer however. It fails authentication.

On 05/03/14 11:32, Marco Hess wrote:
Hi All,

I had a bit of a play with the robot framework to access the server manager web interface through the selenium.

I have a set of files in my git repository here:

https://franka.through-ip.com/git/?p=sme-test-automation.git;a=summary

I stared with the robot framework WebDemo example and extended it to operate on the server-manager.

First step was some tests on login (as per the WebDemo). Following on is getting into the server manager and I have setup tests files following the same structure as the server manager menus. At the moment it does not do a whole lot other clicking most of the main menu links and opening all the various pages.

Along the way I bumped in various small issues like when to use 'Click Link' and when to use 'Click Button' and the error messages are not all clear. Also there are some subtleties with frame selection where it seems necessary to unselected the current frame to select the new frame (e.g. to switch between the navigation frame and the main frame. So Selelnium has its own learning curve I guess :-)

There is also something that has me stumped in that I can't work out on how to click on a save button or submit a form. Somehow it can't find the indicated element (look for the Save in the Software installer tests).

My configuration is in a Fedora/Korora workstation with the robot framework installed pretty similar to brian's instructions. I tried the RIDE ide which is nice as it makes it easy to run a single selected test case. But as an editor I don't really like it. I have setup eclipse with the robot framework plugin and that works quite alright as an editor with the highlighting.

I used the .robot extensions on the filenames as this triggers eclipse a bit more into providing syntax colouring and the number prefix with two _ separators as a means of keeping tests in order a bit. The __ prefix does not show up in the logs.

There is probably some discussion to be had about how tests should be structured and what sort of naming conventions are to be used. We also should have a shared repository (e.g. GitHub) which can be easily shared/cloned for people to download a test suite.

Regards,

Marco

On 05/03/14 10:12, chris burnat wrote:
Brian,
Can this be installed on a conventional Centos 6 workstation?
Thanks.
chris

On 03/05/2014 04:11 AM, brian read wrote:
Ok, had a go at this:

Created new Centos65 VM.

Installed Robotframework successfully as follows:

1. yum install make automake gcc gcc-c++ kernel-devel git-core –y
2. yum install python-devel -y
3. curl -o /tmp/ezsetup.py
https://sources.rhodecode.com/setuptools/raw/bootstrap/ez_setup.py
3a python /tmp/ezsetup.py
4. /usr/bin/easy_install pip
5. rm setuptools-*.tar.gz
6. pip install -i https://pypi.rhodecode.com/ --upgrade pip
6a.pip install robotframework
7. pip install virtualenv
8. pip install robotframework-selenium2library
9. pip install robotframework-ftplibrary

Am now experimenting with the ftp testing.


On 27/02/14 18:08, John Crisp wrote:
On 25/02/14 20:37, Ian Wells wrote:
Try to install robotframework on COS6 as that is the normal build
system
Maybe follow:
http://www.queryhome.com/33183/installation-of-robot-framework-in-linux-centos



It would be good to have one known master setup, but also for each
developer to have a local setup.

Ian,

I have spoken to Stephane and I will have a go on my CentOS buildbox
and
see if we can document a basic install.

I may then be able to make a KVM image available for those who want
to try.

>From what I have read it would seem something like Selenium would be
good for the browser testing but it all looks double dutch to me
right now !

Any advice would be appreciated.

B. Rgds
John
_______________________________________________
Discussion about project organisation and overall direction
To unsubscribe, [email protected]
Searchable archive
athttp://lists.contribs.org/mailman/public/discussion/



_______________________________________________
Discussion about project organisation and overall direction
To unsubscribe, e-mail [email protected]
Searchable archive at
http://lists.contribs.org/mailman/public/discussion/

_______________________________________________
Discussion about project organisation and overall direction
To unsubscribe, e-mail [email protected]
Searchable archive at
http://lists.contribs.org/mailman/public/discussion/




_______________________________________________
Discussion about project organisation and overall direction
To unsubscribe, e-mail [email protected]
Searchable archive at http://lists.contribs.org/mailman/public/discussion/

Reply via email to