需要在嵌入式浏览器中单击按钮. [英] Need to click on button in the embedded browser.

查看:87
本文介绍了需要在嵌入式浏览器中单击按钮.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在尝试为我的软件客户端开发一个自定义自动化解决方案,该解决方案涉及一些测试用例,其中的嵌入式浏览器窗口中的html页面具有交互作用.该客户端使用的是铬嵌入式框架,我想知道是否有一种方法可以单击嵌入式浏览器中的按钮或执行其他操作,例如在文本框中设置文本并单击链接

任何建议都将不胜感激.

Hi,

I am trying to develop a custom automation solution for my software client which involves testcases where there is interaction with html pages in embedded browser windows. The chromium embedded framework is being used in this client and I want to know if there is a way to Click a button in the embedded browser or other such actions like setting the text in a text box and clicking on links

Any suggestions would be appreciated.

推荐答案

首先,请参阅chromium项目中的许多单元测试.看看里面,做同样的事情.
但是,如果您想测试HTML页面,则最好使用纯JavaScript.您将拥有对所有HTML功能的完全访问权限.
First of all, see in the chromium project, there are many unit tests. Look inside and do the same.
But if you like to test the HTML page, then you would better use plain JavaScript. You will have full access to all HTML functionality.


这篇关于需要在嵌入式浏览器中单击按钮.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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