Problems with Playback of a Script

Use and application of the eValid server loading (LoadTest) capability. And in the cloud computing context for monitoring and loading.

Problems with Playback of a Script

Postby Rafe08 » Mon Jun 09, 2008 10:48 am

I'm having this first problems at playback of an script

eValid Script looks like this:

InitLink "http://192.168.200.6/login/"

InputValue 0 37 "TEXT" "iptId" "id" "Sender389" "" ""

InputValue 0 39 "TEXT" "iptPw" "pw" "AHUje#07" "" ""

SubmitClick 0 40 "BUTTON1" "" "Login" ""

FollowLink 0 17 "Archivos Cargados" "http://192.168.200.6/files" ""
#Wait 6594
InputValue 0 41 "FILE" "upfile" "upfile" "C:\Documents and
Settings\raul.sanchez\Desktop\1Solo Bueno Limpio.txt" "" ""
Wait 4000
SubmitClick 0 46 "submit" "" "Cargar" ""

Wait 24047
FollowLink 0 16 "Lotes" "http://192.168.200.6/batches" ""

When i record the test it clicks without any problems but at playback
eValid is not clicking the submit button and jumps over the "Wait 24047"
line, after clicking the "Cargar" button the page must refresh with the
documento listed on a "loaded files list", thats why i notice its not
being clicked..., the HTML code looks like this:

<form enctype=3D"multipart/form-data" onsubmit=3D"javascript:return =
ul();" name=3D"theform" method=3D"post" action=3D"index.aspx">
<div>
<label for=3D"upfile">Archivo a cargar</label>
<input type=3D"file" id=3D"upfile" value=3D"" name=3D"upfile" />
<input type=3D"hidden" name=3D"key" id=3D"key" />
<input type=3D"hidden" name=3D"signature" id=3D"signature" />
<select name=3D"sender" id=3D"sender">
=20
<option value=3D"389">USER NAME UPLOADER</option>
=20
</select>
<button type=3D"submit" id=3D"submit">Cargar</button>

Any Idea whats going on?
Rafe08
 
Posts: 36
Joined: Mon Jun 02, 2008 9:39 am

Re: Problems with Playbakc of a Script

Postby serverloading » Mon Jun 09, 2008 10:50 am

Thanks for posting.

It is VERY difficult to know what actually is happening without
seeing the actual site (i.e. it must be a site we can view),
and also we need the complete script and the EventLog that
it generated...

Most of the time, this kind of response is due to the fact that
there is a JS error on the page, and/or, the button is not yet
available to receive an input.

The Wait 4000 is your own wait, yes? Odds are against it
coming out to even.

Did you look at the sync stuff I sent? You probably need to
sync on something on the page BEFORE you try to click on it...

Also, try single stepping through the playback...if it works in
single step but doesn't go through in full-speed mode, then you
know it is a sync problem.

Also, I see an upfile from a windows path...we have seen
this kind of thing before and the interaction between the local
file system and the eValid browser and the server can be very
tricky to synchronize...

So...single step and see what happens...
eValid Tech Support Team
serverloading
 
Posts: 86
Joined: Tue Jan 01, 2008 12:48 pm


Return to Performance/Load Testing

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons