http://wellsi.homeip.net/rnotes/robot/report.html

 

38/47 passed. A lot worked first time, and this is against a recent SME9
Beta 3

 

Looks like I need to have more things installed.

"Importing Paramiko library failed. Make sure you have Paramiko installed."

However I have them installed according to yum & PIP.

 

Ian

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Marco Hess
Sent: 26 March 2014 22:20
To: [email protected]
Subject: [discussion] SME Test Automation on GitHub

 

I pushed my git repository to GitHub to make it more easy to allow updates
from others.

It is now located here:  

  https://github.com/MarcoHess/smeserver-test-automation

I also updated the http://wiki.contribs.org/Robotframework wiki page to
reflect that location change.

I would encourage anybody that has been playing with these tests to follow
the 'fork' and 'pull request' process
(https://help.github.com/articles/fork-a-repo) to submit your updates and I
will endeavor to merge these into the master repository.

Note that with the latest update I managed to get a test to work that adds
and deletes a hostname. 

This illustrates a couple of techniques to fill in forms, click the right
buttons and even use a fancy xpath expression to find a link to click within
a table.

I am looking forward to plenty of pull requests to make this into a
comprehensive SME validation framework.

Cheers,

Marco

On 27/03/14 12:40, Marco Hess wrote:

Brian,

That is pretty cool that you were able to run them all :-).

With regard to the input fields, I found that selenium has some trouble when
frames get reloaded (i.e. after clicking a button) and it not immediatly
sees the new frame on the page. I found that selecting waiting for the page
to load and then selecting away from the frame (like to the navigation
frame) and then back to the main frame helps a lot. Other than that at this
stage I think it is mostly learning curve with the robot framework. Too
early to tell if we need changes in the server manager web pages to
accomodate the testing.

I replied to Ian that I would move my private git repository to GitHub to
make it more easy to provide contributions.

Cheers,

Marco

On 27/03/14 01:57, brian read wrote:

I've just done an install from the 64 bit ISO under Virtual Box, and I've
run Marco's (minimal) tests - all passed (inc ssh and ftp).

We do need to enhance these so that they can be of proper use, I ran out of
time a couple of weeks ago, but might have some more time soon.

I had trouble getting the package to recognise the input fields in the
Server Manager. Marco indicated he thought that it was to do with the html
frames, which is well outside my understanding.

If someone could look at this and give me a recipe for plugging data into
the input fields in the server manager pages then I'm happy to plug away
developing testing scripts for the system.

On 26/03/14 15:14, I Wells wrote:

I would like to bring the automated tests into actual use to help reduce the
manual effort for releasing. Has there been more progress on creating
additional tests?

 

Marco: As you currently have a GIT repo for the tests would you be willing
to maintain that and accept contributions until the foundation sets up an
official repository for the tests?

 

I really appreciate the work that has gone on, thank you.

 

Ian

 

From: [email protected]
<mailto:[email protected]>
[mailto:[email protected]] On Behalf Of brian read
Sent: 07 March 2014 02:15
To: [email protected] <mailto:[email protected]> 
Subject: Re: [discussion] SME Test Automation

 

Marco

That is good news.  I'll update the Wiki with instructions on how people can
load your files and execute them.

I'll also start thinking about a schedule of tests we can run (and I'll try
and implement some of them!).

On 07/03/14 05:02, Marco Hess wrote:


On 07/03/14 04:19, Ian Wells wrote: 




If there is a problem finding the buttons then maybe we need to change the
HTML for the button, or look at Charlie's suggestion of mojo. 


I think I have figured out what the problem with the buttons in the web
pages is. It has to do with selenium loosing the frame contents when it is
reloaded. By unselecting and reselecting the "main" frame, the robot
framework gets access to the elements in the frame again. 

I have done a minor update to the scripts in my repository and am trying
more extensive form changes now. Currently  able to mostly change the
software installer settings (but more frame reloads with yum status messes
it up a bit). 

Cheers, 

Marco 

 






_______________________________________________
Discussion about project organisation and overall direction
To unsubscribe, e-mail [email protected]
<mailto:[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]
<mailto:[email protected]> 
Searchable archive at http://lists.contribs.org/mailman/public/discussion/





-- 
Marco Hess
Through IP Pty. Ltd.
www.through-ip.com <http://www.through-ip.com>   | [email protected]
<mailto:[email protected]> 
p: +61 407 78 55 66 | f: +61 8 8121 6191






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





-- 
Marco Hess
Through IP Pty. Ltd.
www.through-ip.com <http://www.through-ip.com>   | [email protected]
<mailto:[email protected]> 
p: +61 407 78 55 66 | f: +61 8 8121 6191
_______________________________________________
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