Page 1 of 1

Need help with Save Functions

PostPosted: Mon Jun 02, 2008 9:28 am
by Moe369
Can someone help me out with the code?

I can't get how should i use the save functions

My code looks like this:

InputValue 0 53 "TEXT" "iptComment" "comment" $Comentario "" ""
SubmitClick 0 124 "" "" "Procesar" ""
# HERE GOES A SYNC POINT INSTEAD OF WAIT
Wait 1000
ValidateSelectedText 0 139 0 $Comentario ""
SaveSelectedText 0 "LotesGenerados.txt" 126 0 10 "" APPEND
Wait 500
#FollowLink 0 48 "Salir" "http://192.168.200.6/logout.aspx" ""
# Recording stopped at: <2008/06/01 09:58:34>

Re: Need help with Save Functions

PostPosted: Mon Jun 02, 2008 9:33 am
by serverloading
Happy to help, but at this moment actually I don't
see the full picture. What are you starting with,
what do you want to do at the end...

Just some comments...

(1) $Commentario probably should be "$Commentario" just to be safe.
If you are not careful the wrong thing will be put in the next argument;
when in doubt, add "'s..

(2) I don't see any sync command in the above. If ValidateSelectedText
doesn't find $Commentario at index 139 in window 0 it will issue
an ERROR and go on...well, it will run the adaptive playback
algorithm and THEN issue an error. It doesn't sync (wait for
something) at all.

Here is a summary of ALL of eValid's playback synchronization modes:

http://www.e-Valid.com/Products/Documen ... mmary.html

(3) Can you send a screen shot of the application, the complete
script, and the resulting EventLog to Tech Support?