Solved

Web Browser Control - Recording and Playing back user actions

Posted on 2008-06-16
1
1,468 Views
Last Modified: 2013-12-17
I have a VS2005/C#/.NET 2.0 application in which i'm hosting a web browser control. Think of it as a custom browser with an embedded IE brower control. I would like to offer a "record" and "playback" functionality for web page activity. Meaning- Say a user wants to record a certain sequence of actions like (just a raw example):

1) navigating into a certain web page
2) entering credential information
3) setting two radio buttons on that page
4) clicking login
5) [navigates to another page]
6) selecting a checkbox
7) clicking a button
8) [navigates to the final page]

when the user hits "record", I'd like to record these actions as the user browses and I'd also like to be able to play them back automatically when the user chooses to. I just want to make sure you understand: This is not some kind of hidden 'spy' application - the user chooses to do this while using my own special browser so there are no covert intentions whatsoever.

My question: how should I go about this. Trapping mouse and keyboard inputs and playing them back? comparing the HTML document from after initial loading, to pre-navigation to see what changed? how do I apply something like that back automatically? any help with direction would be greatly appreciated.
0
Comment
Question by:ronenmagid1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 10

Accepted Solution

by:
athapa earned 500 total points
ID: 21799196
Not exactly codes you are looking for but I'd think you'll find info helpful to you. What you describe is some what similar to some of the tools used for  functional testing of web application.
Take a look at this link. There are some opensource dotnet apps too.
http://www.opensourcetesting.org/functional.php
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question