我肉眼看到的title都一样,但是用QTP识别出来的有的就不同作者: mklodoss 时间: 2010-3-24 16:16
title是html中的
<title>XXX</title>标签的内容中读的,至于- Windows Internet Explorer是浏览器自加的吧。可以修改的。
E.g, replace IE window title text with the company name to impress customers who are using the Internet kiosks.
Or better still, impress your love with his/her name written on IE window title!
How to change or customize IE 7 window title text?
Here are 3 ways to do so, and each of them are applicable to Internet Explorer web browser running in Windows (if not Windows, what else?).
Double-click Windows Registry file
Copy these lines of Windows Registry file content to Notepad and save it with .reg file extension (Windows Registry file), e.g. Change-IE-Window-Title.reg in my case. Remember to replace “Walker News” with yours own text!
Double click the Windows Registry file to customize or change the IE 7 title text.
If the Vista UAC is not tweaked or disabled, a Consent UI dialog box will pop up to ask for acknowledgement. Follow by is the Registry Editor’s warning message that said something like “Adding information can unintentionally change or delete values and cause components to stop working correctly.”
Edit Windows Registry window title key to customize IE window title text.
Just click YES button to proceed. Subsequently, open a new IE 7 browser and the window title text should have changed from “Windows Internet Explorer” to your customized text!
Registry Console Tool or Reg.exe command
Copy this line of Reg.exe command text to Windows Vista elevated Command Prompt window and press ENTER key:
(refer to “How to copy and paste text in Command Window”)