amithsid
11 years agoContributor
False Error by TestComplete when working on TreeView20WndClass List Object
Hello,
I am using JS Scripting and want to perform a check action on an Item in a Listview.
The wndclass is TreeView20WndClass.
The code used to do so-
testObject.CheckItem("|Item1", false);
On execution, TC returns an error after checking the item as "The tree node's '<No Admission Type Selected>' state image was clicked, but the node stayed in the checked state.".
But the item was checked and a change in state happened.
How to stop this error?
I have also attached screen shots for reference.
Or tell me how to perform a check action on it?
I am using JS Scripting and want to perform a check action on an Item in a Listview.
The wndclass is TreeView20WndClass.
The code used to do so-
testObject.CheckItem("|Item1", false);
On execution, TC returns an error after checking the item as "The tree node's '<No Admission Type Selected>' state image was clicked, but the node stayed in the checked state.".
But the item was checked and a change in state happened.
How to stop this error?
I have also attached screen shots for reference.
Or tell me how to perform a check action on it?
Hi Amith,
Can you create a sample app containing this control and post it here so that we could play with it?