jwaldron
15 years agoNew Contributor
Click Behavior Changed between V6 and V7
I have a number of scripts created in Version 6 of TC that I am trying to verify on Version 7.5. I've noticed that under V6 a click action executes no matter what the status of the object being clicked but under V7.5 the log just reports that the object was already selected. For most objects this isn't a problem but in one script I have the following code to select an option from a tab control.
With V6 this works perfectly but under V7.5 the first line doesn't open the menu because the tab is already selected and the script fails because it can't obtain the popup menu. Is there a way to force the selection in line 1?
w2.ClickTab('&Employee');
w2.PopupMenu.Click('[2]');
With V6 this works perfectly but under V7.5 the first line doesn't open the menu because the tab is already selected and the script fails because it can't obtain the popup menu. Is there a way to force the selection in line 1?