[dba-VB] internet screen manipulation

Gustav Brock Gustav at cactus.dk
Wed Jun 16 12:11:45 CDT 2010


Hi John

That is Java Script which is not Java.
It doesn't look so here, but Java Script is also what is generated by an ASP.NET server at server side.

What's interesting though, is what is send back to the server when the user clicks Submit or the like. That will quite often be the data passed as parameters to some of the functions. You will need some tool to log that.
Armed with this you may with custom code be able to generate a simular stream. However, passing credentials etc. may mock this up making it a little more difficult.

I have an example somewhere - I have to locate it though. Also, this is not my primary business so much likely others will have more knowledge in this area.

/gustav


>>> jwcolby at colbyconsulting.com 16-06-2010 17:59 >>>
I have a client that has to do data entry into an internet screen.  I am researching whether a 
program can manipulate an internet form, poke values into specific controls, click buttons etc.

I have looked at the source for one specific screen and it appears to be all java.  For example, top 
of the screen

<html>
	<head>
		<title>Professional Claim</title>
		<link href='/ePROM/CSS/styles.css' rel='stylesheet' type='text/css'>
<script src='/ePROM/ScriptLibrary/utils.js'></script>
<script src='/ePROM/ScriptLibrary/soap.js'></script>
<script src='/ePROM/ScriptLibrary/gui.js'></script>
<script src='/ePROM/ScriptLibrary/xsd.js'></script>
<script src='/ePROM/ScriptLibrary/xbind.js'></script>

<script src='/ePROM/ScriptLibrary/validation.js'></script>
<script src='/ePROM/ScriptLibrary/calendar.js'></script>
<script src='/ePROM/ScriptLibrary/techSupport.js'></script>

<script language=javascript>
	var g_fFieldsChanged = 0;
	var hrs = 0;						// DF 5462
	var mins = 90;	// DF 5462
	var secs = 0;						// DF 5462
</script>

<SCRIPT FOR=window EVENT=onload>
	// Heir Menus
	if (typeof(HM_f_StartIt) != "undefined")
		HM_f_StartIt();

	// Call any user defined "onload" routines.
	var inx;

###################################################################################

So...

do developers poke data into screens, and read values back from screens, click buttons, select menu 
items etc?

I did this kind of thing back in the late 90s but so much has changed.  I am just beginning to 
investigate whether this is possible and where to go to learn how.

Any help appreciated

-- 
John W. Colby
www.ColbyConsulting.com 





More information about the dba-VB mailing list