QTP Firefox插件存放于 %programfiles%\HP\QuickTest Professional\bin\Mozilla\。
先设置好断点:
0:000> bp kernel32!CreateProcessW
照图1.1运行,第3次命中:
0:000> ddu esp+8 l1
*** ERROR: Symbol file could not be found. Defaulted to export symbols for D:\Program Files\HP\QuickTest Professional\bin\WIPackage.dll -
0012ee40 12918b58 ""D:\Program Files\Internet Explorer\IEXPLORE.EXE" -nome"
0:000> du 12918b58
12918b58 ""D:\Program Files\Internet Explo"
12918b98 "rer\IEXPLORE.EXE" -nomerge "http"
12918bd8 "://www.microsoft.com ""
照图1.2运行,第3次命中:
0:000> ddu esp+8 l1
*** ERROR: Symbol file could not be found. Defaulted to export symbols for D:\Program Files\HP\QuickTest Professional\bin\WIPackage.dll -
0012ee40 06eac368 ""D:\Program Files\Mozilla Firefox\firefox.exe" -nomerge"
0:000> du 06eac368
06eac368 ""D:\Program Files\Mozilla Firefo"
06eac3a8 "x\firefox.exe" -nomerge "http://"
06eac3e8 "www.microsoft.com
照图1.3运行,第3次命中:
0:020> ddu esp+8 l1
*** ERROR: Symbol file could not be found. Defaulted to export symbols for D:\Windows\system32\SHELL32.dll -
1309fcd0 07b1c850 ""D:\Windows\System32\notepad.exe" "
0:020> du 07b1c850
07b1c850 ""D:\Windows\System32\notepad.exe"
07b1c890 "" "
为了确定它是以此方式启动,更改为启动MSIE:
0:020> eu 0799d840 "D:\Program Files\Internet Explorer\iexplore.exe"
运行后,启动了MSIE。