08-19-2013 07:19 AM
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 ?
08-19-2013 11:00 AM
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.
'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
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.
08-19-2013 11:17 PM
Thanks vzamoraz for your clarification on the native objects and your solution
One another question - Is recording supported for chrome in UFT 11.5 ? if so , will this get resolved in 11.5 ?
11-10-2014 10:05 PM
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,