Highlighted
Absent Member.
Absent Member.
531 views

UFT slows down after Ajax Call

Hi,

 

I am testing a web page that has an input that is filled with ajax (Ex: when a city is choosen country field is set by ajax)..

After seting the city field and ajax calls UFT slows down incredibly. This happens randomly and a line of code executes about per 2-3 minutes. After page submit it comes back to normal.. this problem can be seen in debugging mode too. It takes minutes to hit the next command line. I can run these scripts on other PC's having Windows7 with no problem..

 

example command takes 2-3 minutes: ...WebEdit("IndividualCellPhone").Set "7863623"

 

UFT is v12.02, runs on Win Server 2008 R2 Enterprise sp1 as a Virtual Machine.. This problem happens with QTP11 too.

Test run is Fast mode. RAM usage is below %50.  Capturing pictures is for always but there is nothing to capture between slow commands and this problems happens randomly. There are plenty of disk space on machine.  Smart identification is disabled.

Object Synchronization Time Out: 30 sec, Browser Navigation Time Out: 60 sec, UFT restarts after every test

I tried many things like:

 

 

1) regsvr32 C:\Program Files\Internet Explorer\pdm.dll

http://h30499.www3.hp.com/t5/Unified-Functional-Testing/UFT-11-52-Freezes-while-stepping-through-code/td-p/6250697#.VM4OoS6r7IU

 

2) IE, Internet  Properties-Advanced-Security - uncheck.. Check for publisher’s certificate revocation

http://www.joecolantonio.com/2013/12/17/uft-fix-vm-hangs-when-working-with-uft-and-net/

 

3) nt_tr.exe -remove

http://www.joecolantonio.com/2012/12/17/qtp-11-possible-fix-for-qtp-crashing-and-hanging-issues/

 

4) run fiddler during the test to bypass proxy issues

 

5) done everytihg in

https://softwaresupport.hp.com/group/softwaresupport/search-result/-/facetsearch/document/KM177647

 

Can anybody help? Thank you very much..

 

0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.

Re: UFT slows down after Ajax Call

Hello,

For AJAX related, i would suggest DOM.

set obj = B().P().object

obj.GetElementByID("").value ="value to pass"

 

0 Likes
Highlighted
Absent Member.
Absent Member.

Re: UFT slows down after Ajax Call

Thank you for your advice. But I dont make the ajax request from script. The web site makes it automatically after I change some value:(

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.