QTP功能点笔记
1、QTP启动应用程序的几种方法
1)用SystemUtil.Run
1 SystemUtil.Run "C:\Program Files (x86)\HP\QuickTest Professional\samples\flight\app\flight3a.exe"
2)用InvokeApplication
1 InvokeApplication "C:\Program Files (x86)\HP\QuickTest Professional\samples\flight\app\flight3a.exe"
3)用相对路径
1 SystemUtil.Run environment.Value("ProductDir")&"\samples\flight\app\flight3a.exe" '使用环境变量
4)用WSH对象
1 Set myobj =Createobject("Wscript.shell")
2 myobj.exec "C:\Program Files (x86)\HP\QuickTest Professional\samples\flight\app\flight3a.exe"
3 Set myobj=nothing
5)用批处理文件
1 Set myobj =Createobject("Wscript.shell")
2 myobj.Run "D:\yzhbat.bat"
3 Set myobj=nothing
批处理文件yzhbat.bat内容:
1 start "" "C:\Program Files (x86)\HP\QuickTest Professional\samples\flight\app\flight3a.exe"
2、输出值(手动添加,将结果写到日志文件中)
SystemUtil.Run "C:\WINDOWS\system32\calc.exe","","C:\WINDOWS\system32","open"
Window("计算器").WinButton("").Click
Window("计算器").WinButton("+").Click
Window("计算器").WinButton("").Click
Window("计算器").WinButton("=").Click '录制状态下Insert-->Output Value-->Standard output Value-->...
Window("计算器").WinEdit("Edit").Output CheckPoint("Rusult1")
If datatable("Rusult1",dtglobalsheet)="3. " Then
' print "计算加法成功"
' msgbox "计算加法成功"
reporter.ReportEvent micPass,"计算成功","计算1+2,结果正确"
Writelog "计算1+2,结果正确"
else
' print "计算加法失败"
' msgbox "计算加法成功"
reporter.ReportEvent micFail,"计算失败","计算1+2,结果错误"
Writelog "计算1+2,结果错误"
End If Window("计算器").Close Function Writelog(str)
Const ForReading=,ForWriting=,ForAppending=
Dim fso,fil,msg
' 创建一个文件系统对象(File System Object)
Set fso = CreateObject("Scripting.FileSystemObject")
' 创建一个文件对象,通过fso对象来打开指定的文件
Set fil = fso.OpenTextFile("C:\log.txt",ForAppending)
fil.WriteLine now &" "& str
' 关闭这个文件
fil.Close
' 释放这个文件对象
Set fil = Nothing
' 释放这个文件系统对象
Set fso = Nothing
End Function
3、属性检查点(自动添加,F7)
SystemUtil.Run "C:\WINDOWS\system32\calc.exe","","C:\WINDOWS\system32","open"
Window("计算器").WinButton("").Click
Window("计算器").WinButton("+").Click
Window("计算器").WinButton("").Click
Window("计算器").WinButton("=").Click '非录制或录制状态下Insert-->Step Generator-->...(检查属性,在步骤生成器中)
Window("计算器").WinEdit("Edit").CheckProperty "text", .,
Window("计算器").Close
4、检查Tab键焦点顺序
SystemUtil.Run "D:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe","","D:\Program Files\HP\QuickTest Professional\samples\flight\app\","open"
'检查初始焦点是否正确
Dialog("Login").WinEdit("Agent Name:").CheckProperty "focused", "True"
Dialog("Login").WinEdit("Agent Name:").Set "mercury"
Dialog("Login").WinEdit("Agent Name:").Type micTab
'检查password焦点是否正确
Dialog("Login").WinEdit("Password:").CheckProperty "focused", "True"
Dialog("Login").WinEdit("Password:").SetSecure "4c3a898e3c0b42e6cf2be4fa6670bd8f54459890"
Dialog("Login").WinEdit("Password:").Type micTab
'检查OK焦点是否正确
Dialog("Login").WinButton("OK").CheckProperty "focused", "True"
Dialog("Login").WinButton("OK").Type micTab
'检查Cancel焦点是否正确
Dialog("Login").WinButton("Cancel").CheckProperty "focused", "True"
Dialog("Login").WinButton("Cancel").Type micTab
'检查Help焦点是否正确
Dialog("Login").WinButton("Help").CheckProperty "focused", "True"
Dialog("Login").WinButton("Help").Type micTab
Dialog("Login").WinEdit("Agent Name:").Type micTab
Dialog("Login").WinEdit("Password:").Type micTab
Dialog("Login").WinButton("OK").Type micReturn
Window("Flight Reservation").Close
5、插入订单后检查插入后的Order No与传真信息中的Order No是否一致
SystemUtil.Run "D:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe","","D:\Program Files\HP\QuickTest Professional\samples\flight\app\","open"
Dialog("Login").WinEdit("Agent Name:").Set "yezhaohui"
Dialog("Login").WinEdit("Agent Name:").Type micTab
Dialog("Login").WinEdit("Password:").SetSecure "4c3ab6c5b987d8082648b4c7a377b5ac00bf30dc"
Dialog("Login").WinEdit("Password:").Type micReturn
Window("Flight Reservation").ActiveX("MaskEdBox").Type ""
Window("Flight Reservation").WinComboBox("Fly From:").Select "Frankfurt"
Window("Flight Reservation").WinComboBox("Fly To:").Select "London"
Window("Flight Reservation").WinButton("FLIGHT").Click
Window("Flight Reservation").Dialog("Flights Table").WinButton("OK").Click
Window("Flight Reservation").WinEdit("Name:").Set "51test"
Window("Flight Reservation").WinRadioButton("Business").Set
Window("Flight Reservation").WinButton("Insert Order").Click
'步骤同步点
Window("Flight Reservation").ActiveX("Threed Panel Control").WaitProperty "text", "Insert Done...",
Window("Flight Reservation").WinEdit("Order No:").Output CheckPoint("Order No:")
Window("Flight Reservation").WinMenu("Menu").Select "File;Fax Order..."
Window("Flight Reservation").Dialog("Fax Order No.").WinEdit("Order:").Check CheckPoint("Order:_2")
Window("Flight Reservation").Dialog("Fax Order No.").ActiveX("MaskEdBox").Type ""
Window("Flight Reservation").Dialog("Fax Order No.").WinButton("Preview Fax").Click
Window("Flight Reservation").Dialog("Fax Order No.").Dialog("Fax Preview").Check CheckPoint("Fax Preview_2")
Window("Flight Reservation").Dialog("Fax Order No.").Dialog("Fax Preview").WinButton("Cancel").Click
Window("Flight Reservation").Dialog("Fax Order No.").WinButton("Cancel").Click
Window("Flight Reservation").Close
6、检查订单号逐个加1
方法一:使用DataTable
SystemUtil.Run "D:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe","","D:\Program Files\HP\QuickTest Professional\samples\flight\app\","open"
Dialog("Login").WinEdit("Agent Name:").Set "yezhaohui"
Dialog("Login").WinEdit("Agent Name:").Type micTab
Dialog("Login").WinEdit("Password:").SetSecure "4c3ac0c99f0d6cd69a0e8680e411e95f405990e5"
Dialog("Login").WinEdit("Password:").Type micReturn
Window("Flight Reservation").ActiveX("MaskEdBox").Type ""
Window("Flight Reservation").WinComboBox("Fly From:").Select "Denver"
Window("Flight Reservation").WinComboBox("Fly To:").Select "London"
Window("Flight Reservation").WinButton("FLIGHT").Click
Window("Flight Reservation").Dialog("Flights Table").WinButton("OK").Click
Window("Flight Reservation").WinEdit("Name:").Set "51testing"
Window("Flight Reservation").WinRadioButton("Business").Set
'获得数据库中的值到DataTable中
DbTable("DbTable").Output CheckPoint("DbTable")
'改变DataTable中的值
DataTable("Db_qiwang_order",dtglobalsheet) = DataTable("Db_qiwang_order",dtglobalsheet) +
Window("Flight Reservation").WinButton("Insert Order").Click
'步骤同步点
Window("Flight Reservation").ActiveX("Threed Panel Control").WaitProperty "text", "Insert Done...",
'检查界面上的数据,标准检查点
Window("Flight Reservation").WinEdit("Order No:").Check CheckPoint("Order No:")
'检查数据库中的数据,数据库检查点
DbTable("DbTable_2").Check CheckPoint("DbTable_2")
Window("Flight Reservation").Close
方法二:使用环境变量
SystemUtil.Run "D:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe","","D:\Program Files\HP\QuickTest Professional\samples\flight\app\","open"
Dialog("Login").WinEdit("Agent Name:").Set "yezhaohui"
Dialog("Login").WinEdit("Agent Name:").Type micTab
Dialog("Login").WinEdit("Password:").SetSecure "4c3d5bf18b8c162cfb5ba3de4ca8840bdf75f89a"
Dialog("Login").WinEdit("Password:").Type micReturn
Window("Flight Reservation").ActiveX("MaskEdBox").Type ""
Window("Flight Reservation").WinComboBox("Fly From:").Select "Frankfurt"
Window("Flight Reservation").WinComboBox("Fly To:").Select "London"
Window("Flight Reservation").WinButton("FLIGHT").Click
Window("Flight Reservation").Dialog("Flights Table").WinList("From").Select "13540 FRA 10:24 AM LON 11:09 AM SR $167.10"
Window("Flight Reservation").Dialog("Flights Table").WinButton("OK").Click
Window("Flight Reservation").WinEdit("Name:").Set "51testing"
Window("Flight Reservation").WinRadioButton("Business").Set
''获得数据库中的值到Env..d环境变量中
DbTable("DbTable").Output CheckPoint("DbTable")
'改变这个环境变量的值
environment.Value("Env_Data") = environment.Value("Env_Data") +
Window("Flight Reservation").WinButton("Insert Order").Click
'步骤同步点
Window("Flight Reservation").ActiveX("Threed Panel Control").WaitProperty "text", "Insert Done...",
'检查界面上的数据,标准检查点
Window("Flight Reservation").WinEdit("Order No:").Check CheckPoint("Order No:")
'检查数据库中的数据,数据库检查点
DbTable("DbTable_2").Output CheckPoint("DbTable_2")
Window("Flight Reservation").Close
7、对象名称参数化
'SystemUtil.Run "C:\WINDOWS\system32\calc.exe","","C:\WINDOWS\system32","open"
Window("计算器").WinButton(datatable("nu1",dtglobalsheet)).Click
Window("计算器").WinButton("+").Click
Window("计算器").WinButton(datatable("nu2",dtglobalsheet)).Click
Window("计算器").WinButton("=").Click
Window("计算器").WinEdit("Edit").Check CheckPoint("Edit")
'Window("计算器").Close
8、属性参数化
SystemUtil.Run "C:\WINDOWS\system32\calc.exe","","C:\WINDOWS\system32","open"
Window("计算器").WinButton("one").Click
Window("计算器").WinButton("+").Click
Window("计算器").WinButton("two").Click
Window("计算器").WinButton("=").Click
Window("计算器").WinEdit("Edit").Check CheckPoint("Edit")
Window("计算器").Close
9、对对象的数据参数化
SystemUtil.Run "D:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe","","D:\Program Files\HP\QuickTest Professional\samples\flight\app\","open"
Dialog("Login").WinEdit("Agent Name:").Set datatable("name",dtglobalsheet)
Dialog("Login").WinEdit("Agent Name:").Type micTab
Dialog("Login").WinEdit("Password:").Set datatable("secure",dtglobalsheet)
Dialog("Login").WinEdit("Password:").Type micReturn
Window("Flight Reservation").Close
10、对登录页面进行GUI自动化测试页面
SystemUtil.Run "D:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe","","D:\Program Files\HP\QuickTest Professional\samples\flight\app\","open"
Dialog("Login").WinEdit("Agent Name:").Set DataTable("UserName", dtGlobalSheet)
Dialog("Login").WinEdit("Agent Name:").Type micTab
Dialog("Login").WinEdit("Password:").Set DataTable("Password", dtGlobalSheet)
Dialog("Login").WinEdit("Password:").Type micReturn
'检查界面是否存在的语句通过录制激活界面来实现
If Dialog("Login").Dialog("Flight Reservations").Exist Then Dialog("Login").Dialog("Flight Reservations").Static("Tipcontent").Check CheckPoint("CheckTipContent")
Dialog("Login").Dialog("Flight Reservations").WinButton("确定").Click
Dialog("Login").WinButton("Cancel").Click
'检查界面是否存在的语句通过F7生成
elseif Window("Flight Reservation").Exist then
If datatable("ExpectResult")="登录成功" Then
reporter.ReportEvent micPass,"测试登录功能","登录功能正确"
else
reporter.ReportEvent micFail,"测试登录功能","登录功能错误"
End If Window("Flight Reservation").Activate
Window("Flight Reservation").Close
else
reporter.ReportEvent micWarning,"测试登录功能","未知路径"
'关闭系统进程
systemutil.CloseProcessByName "flight4a.exe"
End If
11、参数化
SystemUtil.Run "C:\WINDOWS\system32\calc.exe","","C:\WINDOWS\system32","open"
ButtonClick(datatable("num1",dtglobalsheet))
ButtonClick(datatable("operate",dtglobalsheet))
ButtonClick(datatable("num2",dtglobalsheet))
Window("计算器").WinButton("=").Click
Window("计算器").WinEdit("Edit").Check CheckPoint("Edit_3")
Window("计算器").Close Function ButtonClick(ButtonNum)
Dim ilen
ilen = len(ButtonNum)
'print ilen
For i= to ilen
str = mid(ButtonNum,i,)
Window("计算器").WinButton(str).Click
Next
End Function
12、取得Insert Order所用时间
SystemUtil.Run "D:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe","","D:\Program Files\HP\QuickTest Professional\samples\flight\app\","open"
Dialog("Login").WinEdit("Agent Name:").Set "yezhaohui"
Dialog("Login").WinEdit("Agent Name:").Type micTab
Dialog("Login").WinEdit("Password:").SetSecure "4c3d2fa62695127f452a2b119abce9c48ade1c9b"
Dialog("Login").WinEdit("Password:").Type micReturn
Window("Flight Reservation").ActiveX("MaskEdBox").Type ""
Window("Flight Reservation").WinComboBox("Fly From:").Select "Denver"
Window("Flight Reservation").WinComboBox("Fly To:").Select "London"
Window("Flight Reservation").WinButton("FLIGHT").Click
Window("Flight Reservation").Dialog("Flights Table").WinList("From").Select "20260 DEN 08:12 AM LON 03:23 PM AA $112.20"
Window("Flight Reservation").Dialog("Flights Table").WinButton("OK").Click
Window("Flight Reservation").WinEdit("Name:").Type "51testing"
'开始事务
Services.StartTransaction "Insertorder"
Window("Flight Reservation").WinButton("Insert Order").Click
Do
'获得插入进度条上的值
yn_jieshu = Window("Flight Reservation").ActiveX("Threed Panel Control").GetVisibleText()
Loop until yn_jieshu="Insert Done..."
'结束事务
Services.EndTransaction "Insertorder" Window("Flight Reservation").Close
13、验证删除订单功能
SystemUtil.Run "D:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe","","D:\Program Files\HP\QuickTest Professional\samples\flight\app\","open"
Dialog("Login").WinEdit("Agent Name:").Set "yezhaohui"
Dialog("Login").WinEdit("Agent Name:").Type micTab
Dialog("Login").WinEdit("Password:").SetSecure "4c3d62b0651a6971f298b22525cb0e2fe375bc75"
Dialog("Login").WinEdit("Password:").Type micReturn
Window("Flight Reservation").WinMenu("Menu").Select "File;Open Order..."
Window("Flight Reservation").Dialog("Open Order").WinCheckBox("Order No.").Set "ON"
Window("Flight Reservation").Dialog("Open Order").WinEdit("Edit").Set datatable("ordernum",dtglobalsheet)
Window("Flight Reservation").Dialog("Open Order").WinButton("OK").Click
'获得数据库总记录数到环境变量中
DbTable("DbTable").Output CheckPoint("DbTable")
print environment.Value("Count1")
'删除操作
Window("Flight Reservation").WinButton("Delete Order").Click
Window("Flight Reservation").Dialog("Flight Reservations").WinButton("是(Y)").Click
'改变环境变量的值
environment.Value("Count1") = Cint(environment.Value("Count1")) -
'检查数据库中记录条数是否少了一条
DbTable("DbTable_2").Check CheckPoint("DbTable_2")
'另一种检查方法精确验证,使用TO的SetTOProperty方法使SQL语句中的订单号也跟着变
DbTable("DbTable_3").SetTOProperty "source","select count(*) from Orders where order_number =" & datatable("ordernum",dtglobalsheet)
DbTable("DbTable_3").Check CheckPoint("DbTable_3") Window("Flight Reservation").Close
14、验证更新功能
DbTable("DbTable").SetTOProperty "source","select class from Orders where order_number="&datatable("ordernum",dtglobalsheet)
DbTable("DbTable").Output CheckPoint("DbTable")
If datatable("classnum",dtglobalsheet)<>environment.Value("befordata") Then
SystemUtil.Run "C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe"
Dialog("Login").WinEdit("Agent Name:").Set "yezhaohui"
Dialog("Login").WinEdit("Agent Name:").Type micTab
Dialog("Login").WinEdit("Password:").SetSecure "4c3d726c4f68c03a68cd0d2ce7c8052acbab14c3"
Dialog("Login").WinEdit("Password:").Type micReturn
Window("Flight Reservation").WinMenu("Menu").Select "File;Open Order..."
Window("Flight Reservation").Dialog("Open Order").WinCheckBox("Order No.").Set "ON"
Window("Flight Reservation").Dialog("Open Order").WinEdit("Edit_2").Set datatable("ordernum",dtglobalsheet)
Window("Flight Reservation").Dialog("Open Order").WinEdit("Edit_2").Type micReturn
Select case datatable("classnum",dtglobalsheet)
Case ""
Window("Flight Reservation").WinRadioButton("First").Set
Case ""
Window("Flight Reservation").WinRadioButton("Business").Set
Case ""
Window("Flight Reservation").WinRadioButton("Economy").Set
Case Else
reporter.ReportEvent micWarning,"订单class的有效性","无效!" End Select
Window("Flight Reservation").WinButton("Update Order").Click
Window("Flight Reservation").ActiveX("Threed Panel Control").WaitProperty "text", "Update Done...",
'检查数据库中是否更新了
DbTable("DbTable_2").SetTOProperty "source","select class from Orders where order_number="&datatable("ordernum",dtglobalsheet)
DbTable("DbTable_2").Check CheckPoint("DbTable_2")
Window("Flight Reservation").Close
else
reporter.ReportEvent micWarning,"数据是否有变化","数据没变无需更新!"
End If
添加固定注释
- 新建一TXT文档,将要添加的注释写在文档中
- 将文档名改为:ActionTemplate.mst
- 将文件放到QTP安装目录的dat文件夹中
- 设置好后,在QTP中每次新建一个测试就会自动添加固定的注释
调用外部vbs文件方法
1.将通用函数写在一个vbs文件中,以供其他脚本调用
2.调用外部VBS文件中的通用函数的方法(二选一即可),设置完后在QTP中直接使用函数名进行调用:
1)通过在QTP中设置:file-->settings-->Resource-->“添加VBS文件的路径“
2)在脚本中使用Executefile语句:Executefile "VBS文件路径"
QTP功能点笔记的更多相关文章
- Apache运维中常用功能配置笔记梳理
Apache 是一款使用量排名第一的 web 服务器,LAMP 中的 A 指的就是它.由于其开源.稳定.安全等特性而被广泛使用.下边记录了使用 Apache 以来经常用到的功能,做此梳理,作为日常运维 ...
- 02 - Unit07:显示笔记下拉菜单、笔记的分享功能、笔记的删除功能
显示笔记下拉菜单 笔记的分享功能 发送Ajax请求 绑定事件:绑定分享按钮单击事件 参数获取:笔记ID 发送请求:/share/add.do 服务器处理 ShareController ShareSe ...
- QTP测试学习笔记
QuickTest Professional(简称QTP)功能自动化测试,原属于Mercury Interactive公司产品,2006年7月被惠普公司收购了,通过安装文件目录可以看到,都是默认放在C ...
- Mac电脑最常见的办公软件是什么?Notion for Mac多功能办公笔记软件使用方法
Notion for Mac是一款最新的高效率.办公类软件,相信许多用户在办公的时候需要打开特别多的在线工具,譬如Google Drive.Dropbox Paper.Confluence.GitHu ...
- 关于3DSMAX中opensubdiv细分功能的笔记
说到建模和细分,估计用过3dsmax的同学就会心有余悸,每次添加"涡轮平滑"或者"网格平滑"之前,都会下意识的进行保存,没有为啥,就是因为太容易使软件挂掉了. ...
- maximo功能修改笔记
经过前几次的简单的修改系统功能,对maximo的bean开发已经有了一定了解,现在是耗时近两个礼拜来修改了一项系统功能,所用到的知识 Bean Fld, 下面我认真总结修改功能过程中的学到的知识: 目 ...
- VIM编辑器常用功能整理笔记
vim编辑器 vi : visual Inertface 可视化接口 vim : vi improved 扩展版 语法着色 模式化编辑器: 编辑模式(命令模式): 默认模式 输入模式: 末行模式: 等 ...
- 潭州课堂25班:Ph201805201 django 项目 第二十一课 文章主页 新闻列表页面功能 (课堂笔记)
新闻列表页功能 1.分析 业务处理流程: 判断前端传的标签分类id是否为空,是否为整数.是否超过范围 判断前端传的当前文章页数是否为空,是否为整数.是否超过范围 请求方法:GET url定义:/new ...
- 潭州课堂25班:Ph201805201 django 项目 第十课 自定义错误码,完成图片验证码,用户是否被注册功能 (课堂笔记)
把 视图传到前台的 JsonResponse(data=data) 先进行处理,之后再传到前台, 处理:引用自定义错误代码,把错误代码返回给前台,前台根据错误代码中文提示 class Code: O ...
随机推荐
- wpf中dropdownButton控件下拉居中。。。
设置模版中popup控件的HorizontalOffset属性来控制居中. 还是对popup控件不熟,折腾了一会.
- Linux中cp覆盖不提示
cp覆盖时,无论加什么参数-f之类的还是提示是否覆盖,这在大量cp覆盖操作的时候是不能忍受的. 1. 把a目录下的文件复制到b目录 cp –r a/* b 2. 执行上面的命令时,b存在的每个文件都会 ...
- jquery.color.js的使用
Jquery本身不支持变色,Jquery Color.js弥补了这缺陷并为animate动画赋予变色效果,如下红变蓝后执行回调再由蓝变红. <!DOCTYPE html> <html ...
- AngularJS内置指令
指令,我将其理解为AngularJS操作HTML element的一种途径. 由于学习AngularJS的第一步就是写内置指令ng-app以指出该节点是应用的根节点,所以指令早已不陌生. 这篇日志简单 ...
- Hadoop执行作业时报错:java.lang.OutOfMemoryError: Java heap space
常常被一些用户问到,说“为什么我的mapreduce作业总是运行到某个阶段就报出如下错误,然后失败呢?以前同一个作业没出现过的呀?” 10/01/10 12:48:01 INFO mapred.Job ...
- Long-Short Memory Network(LSTM长短期记忆网络)
自剪枝神经网络 Simple RNN从理论上来看,具有全局记忆能力,因为T时刻,递归隐层一定记录着时序为1的状态 但由于Gradient Vanish问题,T时刻向前反向传播的Gradient在T-1 ...
- Leetcode Add Binary
Given two binary strings, return their sum (also a binary string). For example,a = "11"b = ...
- objective-c 多线程注意的问题
1.资源竞争:当每个线程都去访问同一段内存时,会导致所谓i资源竞争问题,这时候可以通过“@synchronized block”将实例变量包围起来,创建一个互斥锁, 这样你就可以确保在互斥锁中的代码一 ...
- [深入浅出WP8.1(Runtime)]文本块(TextBlock)
4.3 文本块(TextBlock) 文本块(TextBlock)控件是用于显示少量文本的轻量控件,可以通过TextBlock呈现只读的文本,你可以把TextBlock控件理解为一种纯文本的展示控件. ...
- [慢查优化]慎用MySQL子查询,尤其是看到DEPENDENT SUBQUERY标记时
案例梳理时间:2013-9-25 写在前面的话: 在慢查优化1和2里都反复强调过 explain 的重要性,但有时候肉眼看不出 explain 结果如何指导优化,这时候还需要有一些其他基础知识的佐助, ...