文章分类 - QTP技巧-其他
摘要:Possible fixOpen a command prompt (Start > Run > type "cmd" > "Ok")Navigate to "/bin" directory (for example: "cd C:\Program Files\HP\QuickTest Professional")Run the following command:nt_tr.exe -removeReboot the machine.
阅读全文
摘要:Public Function QTP_Release_Memory(hwnd) Extern.Declare micVoid,"SendMessageA","user32.dll","SendMessageA",micHwnd,micInteger,micInteger,micInteger SC_MINIMIZE = &HF020& SC_MAXIMIZE = &HF030& WM_SYSCOMMAND = &H112 Extern.SendMessageA hwnd,WM_SYSCOMMA
阅读全文
摘要:Index - Indicates the order in which the object appears in the application coderelative to other objects. Location - Indicates the order in which the object appears on the screen. Values areassigned from top to bottom, and then left to right. CreationTime - Indicates the order in which the Brows...
阅读全文
摘要:The SIEBEL add-in uses SIEBEL Automation API, so if a SIEBEL application islaunched before QTP, QTP will still be able to identify the Siebel objects. This isbecause even though Siebel runs inside a web Browser, QTP will not identify theBrowser properly but rather identify it as a normal native wind
阅读全文
摘要:这里举例批量将脚本名的"_"替换成"-"'************************************************************************************************************************ 'Description: ' 'Assumptions: ' There is no unsaved test currently open in QuickTest. ' For more information, see
阅读全文
摘要:Print Setting("executionline") + 1
阅读全文
摘要:部分可以, 需要注意以下几点:1.QTP may not be able to identify objects. Though it would still be able to identify all web objects.2.Any screenshots capture using CaptureBitmap will give a black screen.3.QTP will fail on performing actions on non-web object.4.It will also fail on web objects if the ReplayType sett
阅读全文

浙公网安备 33010602011771号