I'd like to write a C# application that can push keystrokes over an IP or USB connection to another computer to automate software testing.
Our application (to be tested) is a desktop application that provides a questionnaire and records user responses. My testing application needs to read our database (to get question type and response range) and push keystrokes to another computer running our questionnaire software to answer the questionnaires. So, the testing software would basically be acting as a keyboard for the computer/application being tested.
I would appreciate any suggestions on how to accomplish this. Would you use IP or USB? How would you send keystrokes to the other computer to control the application being tested?
Thanks for any insight.
One the best approach is to use sockets for communication else easier approach start using the wcf service. host a WCF service in the place where u fetch the questions from database and the another end (desktop application) where u show the questionnaire should consume the this WCF service.
Determining the behavior of applications across multiple operating systems and virtualization environments, AppDNA software provides accuracy, deep insight about application behavior and incredible time savings so you can test a variety of deployment options and make the right choices for your organization. Estimate the time and cost savings automating application management with the application management ROI calculator.
Provide deep application compatibility and migration testing:
AppDNA software automates application compatibility and migration testing, providing deep insight into application behavior across the application portfolios in the enterprise.
Typically storing over 68,000 application data points, known as the application's "DNA," AppDNA software determines the behavior of the application against multiple operating systems and virtualization environments. Broad functionality lets you test application compatibility against Windows 7, Citrix XenApp, Microsoft App-V, Windows Server 2008 R2 and web applications.
Apply unique algorithmic application testing:
Based on sophisticated heuristic algorithms instead of rigid rules, AppDNA software uniquely interrogates the application's installation profile, API usage and other components to expose application behaviors and issues. AppDNA software extracts a similar DNA profile from an OS, whether a "vanilla" out-of-the box version or an entire set of customized OS images.
Ensure accuracy with automated testing:
The depth and flexibility of AppDNA software algorithms provide far greater accuracy than other application testing options. Instead of having to deploy applications and agents or try to use all of an application's functionality in the hope of finding issues, AppDNA software lets you replace dynamic analysis with static analysis to reduce the process to days rather than weeks or months.
Simplify testing of difficult applications:
AppDNA software analyzes a wide variety of installation formats, including MSI and EXE, enabling you to test in-house developed applications and legacy commercial applications as easily as current commercial applications. Because no applications need to be run or even installed, AppDNA software can test either a pilot project of a few hundred applications or an entire 15,000 application portfolio in a matter of hours or days.
Simplify web application compatibility testing:
AppDNA software lets you simplify rollouts of Internet Explorer 8 or 9 by using AppDNA software to manage web application compatibility testing. AppDNA software employs automatic spidering technology to traverse and analyze web applications.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)