从Selenium InternetExplorerDriver访问Silverlight网站 [英] Access Silverlight websites from Selenium InternetExplorerDriver

查看:118
本文介绍了从Selenium InternetExplorerDriver访问Silverlight网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello All,

Hello All,

我必须为使用silverlight开发的Web应用程序项目编写一个测试自动化项目,它仅支持Internet Explorer。

I have to write an testing automation project for the web application project developed using silverlight and it is support only on Internet Explorer.

一般情况下,我们在浏览器中执行并检查元素id / name / property但是,在银光Web应用程序中,当我从IE中右键单击时,我们无法检查元素,因为它没有显示HTML标记只显示silverlight。

In general, we do right in the browser and check the element id / name / property but, in silver light web application we cant inspect the element since its not showing HTML tags, when i right click from IE its showing only silverlight.

我可以知道检查元素的替代方法吗?

May i know the alternate method to inspect the elements?

先谢谢,Jeyaseelan

Thanks In Advance, Jeyaseelan

推荐答案

您好Jeyaseelan,

Hi Jeyaseelan,

Selenium Webdrive无法直接使用Silverlight应用程序。

Selenium Webdrive could not work with Silverlight application directly.

我发现这个类似的线程可能有所帮助:

I found this similar thread which might help:

https://stackoverflow.com/questions/26744875/how-can-i-automate-silverlight-application-with-selenium-webdriver

根据 marcelo 的回答,您可以将他的解决方案称为解决方法。

According to the answer from marcelo, you could refer to his solution as a workaround.

 

问候,

Fletcher


这篇关于从Selenium InternetExplorerDriver访问Silverlight网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆