QTP cannot click the OK button of the Window popup when the virtual machine is minimized

I am running QTP scripts from Virtual mechine. QTP cannot click the OK button of the Window popup when the virtual machine is minimized.

below is the code

  If Browser("name:=.*").Dialog("text:=Message from webpage","nativeclass:=#32770").Exist(50) Then
   Browser("name:=.*").Dialog("text:=Message from webpage","nativeclass:=#32770").Activate
   Browser("name:=.*").Dialog("text:=Message from webpage","nativeclass:=#32770").WinButton("text:=OK").Click
  End If

Virtual mechine OS - Microsoft Windows XP Professional

Can anyone help me on this.

+4
source share
1 answer

, , . RDP, , QTP . RDP Windows, , Windows , , Windows .

UFT 11.53 UFT RDP. → → → (. )

UFT options pane

QTP, , Windows (, RealVNC). , Windows QTP- , .

+5

Source: https://habr.com/ru/post/1534666/


All Articles