I am using Robot Framework to automate a website. This website uses a Silverlight application to display video.
My Objective: To create a custom keyword in my Robot Framework that takes a web element, the web element being the location of where the Silverlight player is located on the page and taking a screenshot of what is visible. I do not need to interact with the Silverlight application.
Work Done Already:
I have already created a custom keyword Capture Screenshot Of Element
which takes a web element and returns a screenshot of just that specific element.
However, if the element contains a Silverlight application, all I get back is a blank background colour, not the image displayed on the Silverlight application.
Is there a way to specify a web element in a browser and display what is actually seen on screen in that element?