Visual Studio Developer Center > Visual Studio Forums > Visual Studio Extensibility > How to Access the Child Windows of "Web Test Result Context Menu"
Ask a questionAsk a question
 

Proposed AnswerHow to Access the Child Windows of "Web Test Result Context Menu"

  • Monday, September 24, 2007 9:58 AMDemos Bask Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I'm working on an extension for the web testing portion of Visual Studio 2008 to simplify adding validation and extraction rules.    I can add right click menu items to upper portion of the  Web Test Result Context Menu”, but can’t get my commands  to appear when in the lower area with tabs showing details; Web Browser, Request, Reponse, Context, Details. (The “Web Test Result Context Menu” is the document window that appears after you run a single pass Web Test. Name will be similar to  ‘WebTest1 [5:30 AM]’).   When I right click on those areas, I get ‘Copy’ in the Web Browser tab and ‘Copy/Select All’ in the Response tab.

    My goal is to select an area in the Web Browser or Repsonse tabs  and add a right click menu item to perform the desired operation.  

    How can I add my own right click menu commands to those panels ?

All Replies

  • Friday, November 06, 2009 5:20 PMEd GlasMSFTUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Proposed Answer
    Great idea!

    I'm not sure how you hook these menus. The context menus in those sections are put up by the control, and are not VS menus.

    The first is a web browser control, the second is a multiline text box.

    In VS2010 we're using a VS context menu in the response tab and added a "add extraction rule" to the response tab, but haven't done anything with the browser context menu.

    We also added a new extensibility point to add your own tab to the details panel.

    Ed.
    Ed Glas [MSFT]
    • Proposed As Answer byEd GlasMSFTFriday, November 06, 2009 5:20 PM
    •