本文介绍了最好的方法,网站自动化?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

让我改一下这个问题...

Let me rephrase the question...

下面的情景:作为一个保险代理人,你都在不断与多个保险网站的工作。对于每一个网站,我需要登录,并拉起了客户端。我期待这个过程自动化。

Here's the scenario: As an insurance agent you are constantly working with multiple insurance websites. For each website I need to login and pull up a client. I am looking to automate this process.

我现在有专为iMacros的一个解决方案,但需要下载/安装。

I currently have a solution built for iMacros but that requires a download/installation.

我在寻找使用.NET框架的一个解决方案,让用户提供他们的登录凭据和相关信息在客户端和我将能够自动完成这个过程他们。

I'm looking for a solution using the .NET framework that will allow the user to provide their login credentials and information about a client and I will be able to automate this process for them.

这将涉及到每一个具体的网站,这是好的方面的知识,我将所有的信息。

This will involve knowledge of each specific website which is fine, I will have all of that information.

我想为这个过程能够发生在后台,然后启动用户的网站,一旦进行操作。

I would like for this process to be able to happen in the background and then launch the website to the user once the action is performed.

推荐答案

使用华廷。它是一个开源.NET库自动IE和Firefox。这比操作原始的HTTP请求或黑客WebBrowser控件做你想做的更容易了很多,你可以从一个控制台应用程序或服务的运行它,因为你提到这不会是一个WinForms应用程序。

Use Watin. It's an open source .NET library to automate IE and Firefox. It's a lot easier than manipulating raw HTTP requests or hacking the WebBrowser control to do what you want, and you can run it from a console app or service, since you mentioned this wouldn't be a WinForms app.

您还可以使浏览器窗口不可见,如果需要的话,因为你提到只示出这对用户在某一点。

You can also make the browser window invisible if needed, since you mentioned only showing this to the user at a certain point.

这篇关于最好的方法,网站自动化?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 14:45