18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
IE9 duplicating AJAX calls, FF & Chrome are not
Hello, we are evaluating Sahi and have run into a problem. We have a MVC web application that makes heavy use of JQuery to load .ascx pages. We use JQuery AJAX to dynamically get data and save data from the functions in the back end.
On one of our screens in which we make a lot of AJAX calls we see from the traffic logs that Internet Explorer is for some functions making two calls instead of one.
It is always the same functions which have duplicate calls. I am examining the differences between those that are called twice and those that are not, but I see nothing conclusive.
An example from the traffic log:
18_31_13_250_GetHldData
18_31_13_295_GetCurrencyDecimalPlacesAsCR
18_31_13_321_GetCurrencyDecimalPlacesAsCR
18_31_14_172_GetBrList
18_31_16_295_IsAmountOK
18_31_16_313_SaveEq
18_31_16_439_IsAmountOK
18_31_16_452_SaveEq
It is causing a big problem because SaveEq() is writing two records to the database.
Firefox and Chrome do not have this problem.
Have you heard of thuis happening before?
Versions:
Sahi V3.5
Windows 7
IE 9.0.5
On one of our screens in which we make a lot of AJAX calls we see from the traffic logs that Internet Explorer is for some functions making two calls instead of one.
It is always the same functions which have duplicate calls. I am examining the differences between those that are called twice and those that are not, but I see nothing conclusive.
An example from the traffic log:
18_31_13_250_GetHldData
18_31_13_295_GetCurrencyDecimalPlacesAsCR
18_31_13_321_GetCurrencyDecimalPlacesAsCR
18_31_14_172_GetBrList
18_31_16_295_IsAmountOK
18_31_16_313_SaveEq
18_31_16_439_IsAmountOK
18_31_16_452_SaveEq
It is causing a big problem because SaveEq() is writing two records to the database.
Firefox and Chrome do not have this problem.
Have you heard of thuis happening before?
Versions:
Sahi V3.5
Windows 7
IE 9.0.5
Comments
The java application that we work with has a delete function and when I execute Sahi script, the delete function is being invoked twice resulting in an error. Below is the traffic log where you can see deleteCreditor() function is invoked and finished twice. The same issue doesn't exist in IE 8. And also if you do the same action manually in IE 9 it works fine.
10:24:46,156 INFO [com.tramada.creditor.service.CreditorService] [User tejas] [Thread: http-0.0.0.0-22221-4] INVOKING deleteCreditor()
10:24:46,159 INFO [com.tramada.booking.service.BookingService] [User tejas] [Thread: http-0.0.0.0-22221-2] INVOKING isCreditorReferencedByItineraryOrCosting()
10:24:46,164 INFO [com.tramada.booking.service.BookingService] [User tejas] [Thread: http-0.0.0.0-22221-2] FINISHED isCreditorReferencedByItineraryOrCosting() - elapsed time = 5ms.
10:24:46,165 INFO [com.tramada.creditor.service.CreditorService] [User tejas] [Thread: http-0.0.0.0-22221-2] INVOKING deleteCreditor()
10:24:46,198 INFO [com.tramada.creditor.service.CreditorService] [User tejas] [Thread: http-0.0.0.0-22221-4] FINISHED deleteCreditor() - elapsed time = 42ms.
10:24:46,202 INFO [com.tramada.creditor.service.CreditorService] [User tejas] [Thread: http-0.0.0.0-22221-2] FINISHED deleteCreditor() - elapsed time = 37ms.
Regards,
Narayan