Is it real in .NET to write an app for emulate user actions? For example, open browser with mouse, type url, press Enter button, click some links, etc.
Of course, before click link i need to find it by href parameter, or smth like that.
Thank you.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you’re using Visual Studio 2010 Premium or Ultimate, there’s a type of test project you can create called a Coded UI test. Coded UI allows you to create UI tests by recording actions and asserting correct behavior.
@oleksii also mentioned Selenium and Watin, which are similar tools.
Of course, if all you want to do is record and play back actions, all you really need is a macro recorder. You can google that term and find dozens of tools that let you record and play back user actions.
2019 Update
You should not use Coded UI. It has been deprecated for years. Use Selenium or some other Webdriver-based tool, as Webdriver is a W3C standard.