Unified Functional Testing Practitioners Forum
cancel

QTP 11 does not identify Windows popup in Chrome

Vinod_Nag
Occasional Advisor

QTP 11 does not identify Windows popup in Chrome

Hi ,

 

I am using QTP11 + Chrome 24 + Win7 ,  I have installed all the recommended patches from HP and i am successfull in identifying the objects within my application.

 

I have a problem in the windows authentication pop-up to open up my application - QTP is not identifying it and it is identified as Winobject (Please find the attached screen shot for the pop-up)

 

Can anyone help ?

5 REPLIES
Highlighted
vzamoraz
HPE Expert

Re: QTP 11 does not identify Windows popup in Chrome

Hello Vinod,

 

      There is no recoding support for Google chrome so is expected that QTP see a native chrome pop up as a winobject.

      What you can try is device replay and send keys in order to interact with that control.

      Example: 

 

      'Get the top left corner  position on screen of the Dialog control

      myx = Winobject("dialog").getROproperty("abs_x")
      myy = Winobject("dialog").getROproperty("abs_y")

      'start device replay object
      set DeviceReplay = CreateObject("Mercury.DeviceReplay")

      'click on user name textbox using the corner position of dialog control and adding some pixels to calculate textbox position
      DeviceReplay.MouseClick myx +100,myy +200,0

      'type the user name

      DeviceReplay.SendString(“username string here”)

      'click on password textbox using the corner position of dialog control and adding some pixels to calculate textbox position

      DeviceReplay.MouseClick myx +100,myy +250,0

      'type password

      DeviceReplay.SendString(“password string here”)

      'click on Login button using the corner position of dialog control and adding some pixels to calculate button position

      DeviceReplay.MouseClick myx +300,myy +500,0

      set DeviceReplay = nothing        

 

 

     Note: device replay works with screen resolution pixels so What I made is just a  sample of coordinates, you can use it to check what would be the right amount you need to add in order to perform click on the right point.

Vinod_Nag
Occasional Advisor

Re: QTP 11 does not identify Windows popup in Chrome

Thanks

 

HaiTNguyen
Member

Re: QTP 11 does not identify Windows popup in Chrome

Sorry, UFT 11.52 still doesn't support recording on Chrome.

Vinod_Nag
Occasional Advisor

Re: QTP 11 does not identify Windows popup in Chrome

Thanks for clarifying

mallika_neelam
Acclaimed Contributor

Re: QTP 11 does not identify Windows popup in Chrome

Hi All ,

 

       Is there any patch available to handle the proxy authentication dialoge on chrome browser , so far I  am able to handle this proxy authentication dialogue box using recovery scenario in IE & FF .  

 

suggest a better way to handle this proxy dialogue bypassing by clicking cancel button . 

 

 

Thanks in advance,

Neelam

//Add this to "OnDomLoad" event