Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IE6 scripts not working in IE7
#7
Solved: 10 Years, 10 Months ago
Try using regexpwndtitle or text properties. I am currently working on a newer version of this function because I ran into situations where I could not interact with the popups. When I have a better solution, I will post it.

PS: The above code did work for javascript popups where you can specify the title, but in some .NET validations the title of the window is just "Windows Internet Explorer" and this code has issues with it.
Ok. Change this.

Code:
With Browser(Browserobj).Dialog("title:=.*")

to

With Browser(Browserobj).Dialog("regexpwndtitle:=.*","nativeclass:=#32770" )

I'm not sure if the nativeclass property will change, but so far, this is working for me. use the object spy and determine if the native class is the same on your testing.
Reply


Messages In This Thread
IE6 scripts not working in IE7 - by bugfinder - 02-07-2011, 11:49 PM
RE: IE6 scripts not working in IE7 - by bugfinder - 02-08-2011, 10:59 PM
RE: IE6 scripts not working in IE7 - by bugfinder - 02-13-2011, 09:02 PM
RE: IE6 scripts not working in IE7 - by jsknight1969 - 02-15-2011, 11:03 PM
RE: IE6 scripts not working in IE7 - by bugfinder - 02-19-2011, 01:55 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  MTM Scripts are not Working in UFT 11.5 nallapusalavijay 0 2,143 03-20-2014, 11:26 AM
Last Post: nallapusalavijay
  Need Excel template for mapping manual scripts to Automation scripts. ACCBAJPA 0 2,847 09-19-2013, 03:02 PM
Last Post: ACCBAJPA
  Dialog box differs on different browsers version (IE7 and IE9) for same application visitjaga 1 2,644 12-07-2012, 05:14 PM
Last Post: Ankesh
  QTP 9.2 on Vista with IE7 doesn't recognize web objects velan 2 3,892 02-03-2011, 12:35 PM
Last Post: DinakarVadapalli
  QC 9.5 does not open in IE7 pjavvaru 1 2,711 12-14-2010, 01:15 AM
Last Post: jsknight1969

Forum Jump:


Users browsing this thread: 1 Guest(s)