Skip to main content

Bug Tracker

Side navigation

#14093 closed bug (invalid)

Opened July 02, 2013 12:32PM UTC

Closed July 17, 2013 08:42AM UTC

Last modified September 26, 2013 01:33PM UTC

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.



Attachments (0)
Change History (8)

Changed July 02, 2013 12:47PM UTC by dmethvin comment:1

owner: → anonymous
status: newpending

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

Changed July 17, 2013 08:42AM UTC by trac-o-bot comment:2

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!

Changed August 01, 2013 11:31AM UTC by anonymous comment:3

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

Changed August 01, 2013 12:56PM UTC by dmethvin comment:4

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.

Changed August 13, 2013 01:37PM UTC by anonymous comment:5

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&&,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")) {

Changed September 16, 2013 06:47AM UTC by anonymous comment:6

I have same issue as well recently.

Changed September 26, 2013 01:27PM UTC by anonymous comment:7

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

Changed September 26, 2013 01:33PM UTC by dmethvin comment:8

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.