Quantcast
Channel: All Quality Center / ALM Practitioners Forum posts
Viewing all articles
Browse latest Browse all 14708

Re: how to disable copy/paste option in defect module

$
0
0

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

 


Viewing all articles
Browse latest Browse all 14708

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>