简体   繁体   English

在带有HTML表格的网页上,如何确定是否使用C#选择了HTML行?

[英]On a web page with Html Table, how do I determine if a Html Row is selected or not using c#?

我正在使用Visual Studio 2015并进行测试自动化-在带有HTML表格的网页上,如何确定是否使用C#选择了HTML行?

I would not recommend doing so, as testing the client is something that should be done on the client side. 我不建议您这样做,因为测试客户端是应该在客户端执行的操作。 It would likely save you a lot of time an headaches to test your client code with JavaScript, but if you must: 使用JavaScript测试客户端代码可能会节省很多时间,但如果您必须:

http://www.codeproject.com/Tips/804660/How-to-Parse-HTML-using-Csharp http://www.codeproject.com/Tips/804660/How-to-Parse-HTML-using-Csharp

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM