QTP v10
TestAdvantage 2007 Volume 1 CLR 2.0 against same version of NetAdvantage
If I do a grid.SetCellData in my QTP script, it will completely lock the application under test and QTP as well, causing the application process to start consuming half the CPU consistently.
If I end the process on QTP my AUT is still running high CPU and in an unusable state, I have to forcibly kill it's process as well.
However, if I make sure that the very last line in the QTP script is SetCellData, it works fine. Only if I make any other GUI method or action call *after* the SetCellData call, will it lock up.
VLS,
Please be more precise with what is not identified that you expected to be identified. The steps provided disable TestAdvantage and only change record/replay for a Microsoft button to test a specific issue.
Hi,
Even I'm facing a issue around customer application hang with QTP 11 and TestAdvantage 2010 vol3. Tried the above option mentioned but when i change the SwfConfig.xml my scripts are not identifying the objects.
Please advice.
THanks
VLS
Chandan,I would like you to test record and playback on your application using the attached custom server for a Microsoft Button. This will determine if the issue is due to using any custom replay server or if it is specific to TestAdvantage.To test this you will need to modify the SwfConfig.xml file to point to the record and replay server and then simply record the same actions in your application. When replaying the script, see if the remoting call still hangs your application and let me know the results.Steps to update the SwfConfig.xml:1. Extract ButtonTest.zip to C:\ (This creates a ButtonTest folder)2. Create a backup of your SwfConfig.xml file (C:\Program Files\HP\QuickTest Professional\dat\SwfConfig.xml)3. Remove all of the mappings for record/replay servers from the SwfConfig.xml file. When done, you should have a file with the following content:<?xml version="1.0" encoding="UTF-8"?><Controls></Controls>4. Open the Configuration.xml file from the attached zip file (C:\ButtonTest\Configuration.xml)5. Copy all of the contents of Configuration.xml and paste them between the opening and closing Controls tags in the SwfConfig.xml filePlease note that the if you choose to use a directory other than C:\ to extract the test record and replay assembly to, the Configuration.xml file will need to be updated to match the location where you have extracted ButtonTest.zip. The ButtonTest.zip file also contains the code for the custom server in the code folder. Once you have tested this, you will want to restore your SwfConfig.xml file from the back up you have made.When you have completed the test, let me know if this hung your application like TestAdvantage does. Alan
Hi Alan,
If I disable the add-in, record and reply the steps, the application is NOT hanging.
But when I disable the add-in, SetCell data does NOT work. Only ActivateCell works and it does NOT serve the purpose as it is just clicking on the cell, irrespective of whether the checkbox is checked or NOT.
Cheers,
Chandan
Chandan,
Thank you for the additional information. I once come across an issue with remoting and QTP hanging. This issue was only reproducible in the customers application and would happen when any custom replay servers were used.
As such, I would like to know what happens if TestAdvantage is disabled. To test this, please use the Version Utility to set TestAdvantage to be disabled and then record clicking the CheckBox in the grid and the button that does the remoting call.
Once you have done the recording, playback the script. Does QTP still hang or does the call work without issue? Let me know the results so that I know what the next step should be for debugging this issue.
Let me know if you have any questions with this matter.
Alan