Bug Tracker

Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#14093 closed bug (invalid)

Interaction between jquery and coded ui test

Reported by: anonymous Owned by: anonymous
Priority: undecided Milestone: None
Component: unfiled Version: 2.0.2
Keywords: Cc:
Blocked by: Blocking:



We recently upgraded the version of the jquery libraries that we are using in our web development project from a 1.X.X version to 2.0.2.

Our web application implements an AJAX call to populate data in a grid based on a selection of an item in a drop down. The dropdown is opened, an item in a list is selected and then the drop down closes. On close, a .getJSON call is made which brings back information to populate the grid.

When we run automation tests, using coded ui test to operate on the dropdown control and populate the grid, the AJAX call goes out but never returns. Our application sits in a loading status but the grid never loads.

If we run the same process manually (without coded ui interaction) the grid is populated.

There seems to be an interaction problem between coded ui test and jquery 2.0.2 where the AJAX call and process start but never return anything.

Has anyone seen and interaction like this before? Any ideas on how to fix it?

We are running test in IE9. Let me know if you need any other information.



Change History (8)

comment:1 Changed 10 years ago by dmethvin

Owner: set to anonymous
Status: newpending

Please provide a test case. If you are using third-party libraries, ensure that they are compatible with jQuery 2.0.

comment:2 Changed 10 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

comment:3 Changed 10 years ago by anonymous

We are facing the same issue. The UI portal works well however clicking on the link in the Coded UI test does not work. Please provide the resolution steps

comment:4 Changed 10 years ago by dmethvin

There is still no test case. I suggest that you ask for help on a forum that supports the software that you are trying to run that depends on jQuery.

comment:5 Changed 9 years ago by anonymous

We have the same issue. Debug steps for Issue:

Stage 1: Our code

var requestUrl = String.format("Data/FindData?search={0}", searchCriteria);
			type: "GET",
			cache: false,
			url: requestUrl,
			success: showData,
			error: ajaxErrorHandler

Stage 2: jquery code steps

return l.postDispatch&&l.postDispatch.call(this,e),e.result
return typeof x===r||e&&x.event.triggered===e.type?undefined:x.event.dispatch.apply(a.elem,arguments)

After that normal window shows Data, but Codedui test window goes to Stage 3: Some Microsoft js code CommununicationObject.js

function __vsttRaiseDummyEvent() {
                if ((document.body.getAttribute(__vsttFireTimerAttribute) == "false")) {

comment:6 Changed 9 years ago by anonymous

I have same issue as well recently.

comment:7 Changed 9 years ago by anonymous

We are facing the same issue where Ajax call does not return anything. Is there a resolution for this?

comment:8 Changed 9 years ago by dmethvin

The authors of the code should investigate and file a bug with jQuery if there is one. We do not have the resources to debug or fix third-party plugins.



Note: See TracTickets for help on using tickets.