Our team has developed a custom Recorder specifically for use in Internet Explorer, utilizing a javascript file.
The idea is to attach listeners to each object within the web page's GUI source code. The following code demonstrates how this can be achieved. These listeners are added as soon as the page loads, capturing all properties when click actions are performed.
Here is an example of adding a listener and retrieving properties from objects of "SELECT" type, which can also be done for other object types:
var added_MClistener = false;
var tagn = dObj.tagName;
if(tagn == "SELECT")
{
dObj.attachEvent("onchange",so_showObjInfo);
dObj.added_OClistener = true;
dObj.so_prevBGColor = alll[i].style.backgroundColor;
}
if(tagn != "OPTION" && tagn != "SELECT" )
{
dObj.added_MClistener = true;
dObj.attachEvent("onclick",so_showObjInfo);
dObj.so_prevBGColor = alll[i].style.backgroundColor;
}
function so_showObjInfo(e) {
// Function code goes here
}
This method allows us to add listeners to webpage objects and retrieve their properties. What you do next is up to you - whether you choose to organize the data in an Excel sheet or create a notepad file.
We hope this information proves useful to you.