03-04-2013, 05:55 PM
(This post was last modified: 03-04-2013, 05:58 PM by pradeep singh.)
Hi,
I am still looking for the solution. Please run this code and you will find the same bug which I am facing.Please anybody help me out asap.
I am still looking for the solution. Please run this code and you will find the same bug which I am facing.Please anybody help me out asap.
Code:
systemutil.Run "iexplore.exe","yahoo.com"
Browser("title:=.*").Sync
Browser("title:=Yahoo! India").OpenNewTab
Browser("title:=Yahoo! India").OpenNewTab
Browser("title:=Yahoo! India").OpenNewTab
Browser("title:=Yahoo! India").OpenNewTab
sTitle="Yahoo! India"
Set oDesc = Description.Create
oDesc( "micclass" ).Value = "Browser"
oDesc( "application version" ).Value = "internet explorer.*"
Set vIE= Desktop.ChildObjects(oDesc)
vIECount=vIE.count
z=vIECount
For m=1To vIECount
z=z-1
If Browser("creationtime:="&z).Exist(1) Then
newTitle=Browser("creationtime:="&z).GetROProperty("title")
If Not (sTitle = newTitle) Then
Browser("creationtime:="&z).highlight
Browser("creationtime:="&z).Close
End If
End If
Next