Hi,
I put the below code under "Defects_ActionCanExecute(ActionName)" Function, but i didn't see any response from the system.
Before the below code, I tested the function/system with msgbox ActionName" or Msgbox "we entered into Action Can Execute Function", but i didn't get any msgbox in UI...
Some one please suggest what is the root cause for the same...
If ActionName = "acnCopy" Then
Actions.Action("acnCopy").Enabled = False
Actions.Action("acnPaste").Enabled = False
Msgbox "You cannot Copy/Paste defects"
End If
Note: Once after copied the above code, i return back to QC UI and tried to copy & paste data (Edit -> Copy and/Or Edit -> Paste) but both are working even didn't get any messge popup as per the above codes.
Thanks,
Subbarao P