chibiyi
11 years agoOccasional Contributor
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.
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.