Events in Project Explorer Test Comlpite - testcomplete

I'm new to Test complite, I want use event handling, but in Project Explorer node Events is not displayed. How open this item or what characteristics should have test, so I could see it?

Right-click the Project node in the Project Explorer and select the 'Add | New Item...' menu item. Select 'Events' in the 'Create Project Item' dialog and click OK.

Related

Modify Control Order in VC14 Build Menu Bar

You can customize the control order of the build toolbar in Tools->Customize->Commands and settings Menu Bar: to Build.
The changes are remembered in the Customize dialog after closing but are not applied to Visual Studio - Right-clicking on a project in the solution explorer displays a Build menu bar without the modified control order.
Does anybody know if the order can be permanently modified, and if so, how to apply it?
The 'Context Menu' refers to the right-click options tab. In particular the 'Class View Context Menus' and 'Project and Solution Context Menus' refer to the options created on the solution browser.

Find all references in VS 2013 Pro not an option anymore

I used to be able to right click and select find all references for a method or something and then that box would open and show me all of the places in my code where it was being used. All of the sudden if I right click I no longer get that option.
This is still in all recent versions of Visual Studio. Cntl+K, R is the keyboard shortcut. If it's not appearing in your context menu, it is something specific to your VS configuration/settings.
You can edit your context menu's by the following:
Goto Tools->Customize
Select the Commands tab
Select the Context menu radio button
Select the appropriate context menu from the dropdown list to the right: (Editor Context Menus | Code Window or Other Context Menus | Code Window)
Add or delete context menu items as desired.
When adding a context menu command, the Find All References command is located under the Edit section.

How do I modify the "Add" sub menu items in solution explorer?

How can I modify the items that appear in the solution explorer "Add" context sub menu? Currently there is New Item, Existing Item, New Folder, then Windows Form, User Control, then Component and Class. I especially want to get rid of the 2 WinForms items and replace them with their WPF counterparts. How do I do that in the easiest way?
You can modify the Add sub menu you get when you right click on a project item from the Tools->Customize... menu:
click on the Commands tab
pick the 'Context Menu' radio button
select Project and Solution Context Menus | Project | Add from the combo box
From here you can modify the context menu.
This is not, however, what you want to do in your particular case.
The WPF commands you want are already in that context menu; you'll see WPF commands like "Add Window" and "Add Page" already present in the Customize dialog if you go through the instructions above. The reason that you don't see them in the actual context menu is because Visual Studio is trying to be smart and it thinks that you're developing a WinForms app and not a WPF app. If it thought this was a WPF app, you wouldn't see the windows forms option (and the user control option would create a WPF user control).
In order to correct visual studio's incorrect assumption, you could make a new project - make sure you pick that you want a WPF app - and add all of your existing files, or you can edit your .csproj file: see my answer to this SO question.

Delete alert from TFS2010

I added an alert to TFS2010, that sends an email whenever someone checks in a file in a specific project. The alert works - I receive plenty of emails from the server. I want to remove the alert but cannot find any place to do it. Here is what I tried using VS2010:
In Team Explorer right click the team project collection -> Alerts Explorer. It shows an empty list. Clicking Refresh makes no difference. Screenshots of what I'm doing:
After refresh:
In the Team menu click Alerts Explorer. Same result as above.
In Team Explorer right click the team project -> Project Alerts... It shows "Check the alert you want to create". I don't want to create an alert. None of the items are checked.
In the Team menu click Project Alerts... Same result as above.
In Source Control Explorer right click the team project collection -> Alert on Change... It shows "Add Alert to Folder". That is not what I want to do. The same happens when right clicking on the project.
In Source Control Explorer right click the team project -> Alert on Change... Same result as above.
Turns out that phantom team alerts are a known problem. The solution:
Find the id in tbl_EventSubscription
Run BisSubscribe.exe:
C:\Program Files\Microsoft Team Foundation Server 2010\Tools>bissubscribe /unsubscribe /collection http://mytfsservername:8080/Tfs/DefaultCollection /id 51

Solution Explorer Project Context Menu

Is there a way of adding other options (specifically Add Interface) to the projects right click context menu (Right Click a project > Add > [Class, new Item, new form,...])?
I found one option in the customize dialog to place an 'Add Interface...' item in, but this is always disabled. I found that one under the Projects category of menu customization, so i assumed it would work...
Any ideas?
I'm currently trialing ReSharper, and that has it's own set of Create New context menu entries (which are key bindable), and these support everything I am after.
The ReSharper "Create New" dialogue is a lot faster to respond than the in built Visual Studio one too.

Resources