Hi,

I'm trying to open multiple tabs in a same browser.  Problem I'm seeing is 
that it works sometimes and other times url that should open in tab 3 opens 
in tab 2(which means it overwrites the URL in tab 2).  Sometimes same issue 
occurs between tab 4 and tab 5.   Other times it works 100% and I see no 
problem.     Can someone please take a look and explain me why am I seeing 
this behavior?

Thanks in advance!


   SystemUtil.Run "iexplore.exe", "http://www.yahoo.com"; 
   Browser("CreationTime:=0").Sync
   Wait(5)
     
   Browser("CreationTime:=0").OpenNewTab()  
    Browser("CreationTime:=1").Sync   
   Browser("CreationTime:=1").Navigate "http://www.cnn.com";
   Browser("CreationTime:=1").Sync   
   
   
   Browser("CreationTime:=0").OpenNewTab() 
    Browser("CreationTime:=2").Sync   
   Browser("CreationTime:=2").Navigate "http://www.google.com";
   Browser("CreationTime:=2").Sync   
   
  
   Browser("CreationTime:=0").OpenNewTab()  
    Browser("CreationTime:=3").Sync      
   Browser("CreationTime:=3").Navigate http://www.Washingtonpost.com";
   Browser("CreationTime:=3").Sync   
  
   
   Browser("CreationTime:=0").OpenNewTab()
    Browser("CreationTime:=4").Sync       
   Browser("CreationTime:=4").Navigate http://www.macys.com";
   Browser("CreationTime:=4").Sync   
    
 
  
   Browser("CreationTime:=0").OpenNewTab() 
    Browser("CreationTime:=5").Sync      
   Browser("CreationTime:=5").Navigate http://www.target.com";
   Browser("CreationTime:=5").Sync 

-- 
-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to