- 
	
	
		
			
			
				Expert Member
			
			
			
			
				
					
						  
 
					    
				 
 
			
				
				
				
					Execute menu's in Home page
				
					
						
							Hi, In QTP, is it possible to execute menu's in Home page?
 
 NOTE : [This question was asked by madhu]
 
 
 
 
 
 
 
 
 
- 
	
	
		
			
			
				Expert Member
			
			
			
			
				
					
						    
 
					    
				 
 
			
				
				
				
					Re: Execute menu's in Home page
				
					
						
							hai friend,
 
 Will you please let me know what you are expecting actually. Menu in home page really confused.
 
 Thanks
 Deepa
 
 
 
 
 
 
 
 
 
- 
	
	
		
			
			
				Junior Member
			
			
			
			
				
					
						  
 
					    
				 
 
			
				
				
				
					Re: Execute menu's in Home page
				
					
						
							option explicit
 dim a,b,c,odesc,i
 set odesc=Description.create()
 odesc("micclass").value="Link"
 set a=Browser("name:=Google").page("name:=Google").Childobjects(Odesc)
 b=a.count
 for i=1 to b step 1
 set a=Browser("name:=Google").page("name:=Google").Childobjects(Odesc)
 a(i).Click
 next
 "here it will count all links in the Home page and depending upon the loop it will click all links
 
 it is sample example,try same code with your menus application. it will work or else correct me.
 
 
 
 
 
 
 
 
 
 
	
	
	
	
	
	
	
	
	
	
	
	
		
		
			
				 Posting Permissions
				Posting Permissions
			
			
				
	
		- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-  
Forum Rules