I read the TP Help, and when I read the directory of "Understanding Visual Tests/Sample Visual Test: Using Decision Logic to Verify an Action Result ", I didn't know what the "with 2" mean.
Can anyone tells me:-) 3Q
If you click on one of the images in the help so that you can properly see it, it appears that this refers to the mouse action used to make the selection. In other words if you clicked on the expansion button, icon or label of the control.
It may not work this way anymore though. I know the property is still in the property grid but I'm not sure if the text still appears as in "with 2".
Steps 4-7: Recorded steps that drill down through nested nodes in the tree view being tested. The text "with 2" in these steps indicates that node is selected by clicking the directory list item's button. The Option flags property for these steps determines interaction with the tree view. The property setting Button corresponds to "with 2".