How to get the messages after save

psabbanipsabbani Posts: 5
edited May 8, 2006 1:58PM in ANTS Load
Can someone tell me the syntax to get the message posted by page after clicking on save.
I would like to read/get the message displayed after clicking on Save is performed.
I would like to put that statement into log file.
Messages i mean here are like "Save successfull" generally that is the message disaplyed after save in our applciation or some error messages/warnings after save.
Thanks in advance.


  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1

    I think you want to log the server response. There are a variety of things that you can include in the script to do this:

    Me.LogToFile <-- places the data in c:\program files\ants load\antstracelog.txt
    Me.ReportWarning <-- puts data in the report as a warning

    To log the server responses, you can use the HttpResponse object. For instance, to log the content of a page sent as the result of a GET or POST request, you could script:

Sign In or Register to comment.