Forum Discussion

chibiyi's avatar
chibiyi
Occasional Contributor
11 years ago

An error occurred while trying to access menu item - 396 0x80070057 (The parameter is incorrect.)

Hi,

I'm trying to access WPF menu item, while testcomplete 8.7 execute line of menu item, it prompts me an error in test log:



Possible reasons:

1. The application stopped responding.

2. The application was compiled incorrectly (see the Open Applications topic in the help system).

3. An error occurred in TestComplete.



Technical information:

396 0x80070057 (The parameter is incorrect.) .



Tested object:

Sys.Process("xxx").WPFObject("HwndSource: PriusShell", "xxxx").WPFObject("PriusShell", "xxxx", 1).WPFObject("ContentControl", "", 1).WPFObject("Experiments", "", 1).WPFObject("ContentControlTab").WPFObject("MainMenuView", "", 1).WPFObject("menu").WPFMenu



Please help. I tried to record the script and re-execute the script, it prompts me the same error still.









2 Replies

  • chibiyi's avatar
    chibiyi
    Occasional Contributor
    Anyone from SmartBear support or any familiar with these information can give me a hand or clue? I'm running into a scenario couldn't proceed my test. T.T

  • chibiyi's avatar
    chibiyi
    Occasional Contributor
    Anyone encounter this error log before?

    I urgently need help in this area. Please... 



    Thank you very much.......