Integrating White into the Robot Framework

Jul 23, 2010 at 9:05 AM

Hi,

I've struggled with AutoIt to automate a silverlight component, while White seems to be a much better choice for that. Our test automation framework of choice is the Robot Framework, and while there are libraries for RF to control AutoIt and Selenium, there's nothing yet existing for White.

I'm not afraid of creating such a library myself, but I don't know if there's any technical possibility from White's perspective. Is it possible to interface with white from Python (that's what RF is written in)?

 

Thanks for your feedback,

 

Andreas Ebbert-Karroum

Coordinator
Jul 25, 2010 at 3:25 PM

IronPython?

Jul 26, 2010 at 6:42 AM

Hi Vivek,

thanks for taking the time to reply. IronPython might indeed be an option. Is the interface that I could call from IronPython (or any other .Net component, I assume) somewhere documented?

I've also started the discussion from the "other end" (the robotframework-users mailing list): http://groups.google.com/group/robotframework-users/browse_thread/thread/64ca683612dcde3c

If possible, I'd prefer a pure Python solution over IronPython, since that has a much larger deployed basis. If there's COM DLL for White, it's possible to call that also from pure python. Do you know, if there is one?

Andreas Ebbert-Karroum

Coordinator
Aug 6, 2010 at 5:22 PM
no com dll for white
Dec 3, 2010 at 5:12 AM

AndreasEK,

YOu need to develop a solution to automate silverlight components using C# or VB.NET. You can use either CodedUITests or webUI test or Ranorex. Also you can have a look at MS UIA.

To Integrate with RObot Framework,YOu need to develop the keywords. Make your library as DLL and call into IronPython. There is a way to use Robot Framework with IronPython.

 

 

Jun 16, 2011 at 4:56 AM

There is now another option for this integration as well.

Unless one really loves Python (or IronPython), the most obvious choice for integrating White with Robot Framework is via a native .NET interface. This can be achieved with the Robot Framework remote library/server interface to be implemented in .NET. There is an open source implementation of said generic remote library server:

http://code.google.com/p/sharprobotremoteserver/

As the developer of said remote library server, I'd be happy to contribute to this integration effort but can only do so when I get some spare time.

Apr 20, 2014 at 4:55 AM
Just wanted to point out, give an update, if the mentioned remote server integration option is not desirable, there's an alternate remote server implementation that's more structured with more features:

https://code.google.com/p/nrobotremote/

I'm not the developer of that library though.
Apr 20, 2014 at 7:57 PM