如何访问"Web测试结果上下文菜单"的子窗口. [英] How to Access the Child Windows of "Web Test Result Context Menu"

查看:79
本文介绍了如何访问"Web测试结果上下文菜单"的子窗口.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I'我正在为Visual Studio 2008的网络测试部分进行扩展,以简化添加验证和提取规则. "

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.

我的目标是在Web浏览器或Repsonse选项卡

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.  

如何我在这些面板上添加了自己的右键菜单命令?

推荐答案

好主意!

我不确定如何钩住这些菜单.这些部分中的上下文菜单由控件设置,而不是VS菜单.

第一个是Web浏览器控件,第二个是多行文本框.

在VS2010中,我们在响应选项卡中使用VS上下文菜单,并在其中添加了添加提取规则"到响应"选项卡,但对浏览器上下文菜单没有做任何事情.

我们还添加了新的可扩展性点,以将自己的选项卡添加到详细信息面板.埃德.
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.


这篇关于如何访问"Web测试结果上下文菜单"的子窗口.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆