Re: UFT - Failed to Post Simple Key Entity (1252 Views)
Reply
Occasional Visitor
jobryant
Posts: 3
Registered: ‎08-27-2013
Message 1 of 5 (1,263 Views)

UFT - Failed to Post Simple Key Entity

When saving tests in UFT (where our tests and resources are stored in ALM) we sometimes get the following error.

 

"Failed to Post Simple Key Entity"

 

Does anyone know why this message occurs?  how to fix it?

 

I'm connected to ALM when saving.

 

Running UFT 11.52 and ALM 11.50

 

 

Please use plain text.
HP Expert
vzamoraz
Posts: 502
Registered: ‎04-12-2012
Message 2 of 5 (1,260 Views)

Re: UFT - Failed to Post Simple Key Entity

Hello,

 

What patch level of ALM do you have?

What patch level of UFT do you have?

Is always during save or running the scrip also?

It happens on many machines or one specific machine?

The project use versioning control?

Did you identify if the error occurs on  specifc tests?

 

Best Regards.

Please use plain text.
Occasional Visitor
jobryant
Posts: 3
Registered: ‎08-27-2013
Message 3 of 5 (1,255 Views)

Re: UFT - Failed to Post Simple Key Entity

UFT 11.52 is the patch we are on

ALM was a direct install of 11.50, no patches since

It happens on multiple machines

No version control in place

It happes on various test suites

 

Thanks for any help that can be provided.

Please use plain text.
Occasional Visitor
jobryant
Posts: 3
Registered: ‎08-27-2013
Message 4 of 5 (1,254 Views)

Re: UFT - Failed to Post Simple Key Entity

It only occurs on saving, not during run time that we've seen.

Please use plain text.
HP Expert
vzamoraz
Posts: 502
Registered: ‎04-12-2012
Message 5 of 5 (1,252 Views)

Re: UFT - Failed to Post Simple Key Entity

1. Close UFT
2. Open Windows Registry Editor (Go to the Start menu, select “Run”, type “regedit” and click “Ok”)
3. Navigate to HKEY_CURRENT_USER\Software\Mercury Interactive
4. Right click on “QuickTest Professional” folder, select “Export” and save the file prompted
5. Right click on “QuickTest Professional” folder and select “Delete”
6. Navigate to HKEY_LOCAL_MACHINE\Software\Mercury Interactive
7. Right click on “QuickTest Professional” folder, select “Export” and save the file prompted
8. Right click on “QuickTest Professional” folder and select “Delete”
9. Browse to profile’s application data (Go to the Start menu, select “Run”, type “%appdata%\HP” and click “Ok”) and rename folder called “QuickTest Professional” to “QuickTest Professional.BAK”
10. Go to Control Panel -> Add/Remove Programs -> QTP -> Repair.
if you cannot see it
Launch QTP's Setup.exe like if you want to install it again.
Select the option install UFT
On the installation wizard you will see the option Repair.
Check it and continue with the wizard
Finish the repair process 

 

11 repair ALM session

-Delete the UFT add-in for ALM from add or Remove programs(if present).
 
      - type %temp% on run

      -  Find TD_80 folder and delete all the files inside
      -  Move back to temp and search for Mercury interactive
      -  Delete all QC folders
      -  launch run and type %appdata%

      - Access HP folder
      - Delete Quality Center folder.
      - Open the Regedit
      - Navigate to this key HKEY_LOCAL_MACHINE\Software
      - Access the Mercury folder and delete the QC folder
 
      Launch ALM ensure to access the project

 

Note: If you have a valid contract with HP feel free to visit our FT/QTP Support Customer Forums: <http://h30499.www3.hp.com/t5/Unified-Functional-Testing-QTP/bd-p/functional-test-qtp-support-custome... >
 
 
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation