- 
	
	
		
			
			
				Junior Member
			
			
			
			
				
					
						  
 
					    
				 
 
			
				
				
				
					QTP Scripting
				
					
						
							Hi Friends ,
 
 can you please suggest how to improve my QTP Scripting skills
 Please do needful
 Keep smiling & have a nice day
 reach me @
 satishraja4u @ gmail . com
 
 
 
 
 
 
 
 
 
- 
	
	
		
			
			
				Contributing Member
			
			
			
			
				
					
						  
 
					    
				 
 
			
				
				
				
					Re: QTP Scripting
				
					
						
							Hi,
 
 Develop Logic building,say suppose..if you have 10 scenarios/test cases..u need to know how to bulid resuablity and how to modulize the test cases,what are the values can be parametrize.
 
 Need to follow some Best Pratice like naming convention and usage of variables in the script.
 
 
 
 
 
 
 
 
 
- 
	
	
		
			
			
				Junior Member
			
			
			
			
				
					
						  
 
					    
				 
 
			
				
				
				
					Re: QTP Scripting
				
					
						
							Hi Myth
 
 Thanks, can u give some more info on "resusability" and "modulizing" scripts, or "automation frameworks"
 
 
 
 
 
 
 
 
 
- 
	
	
		
			
			
				Junior Member
			
			
			
			
				
					
						  
 
					    
				 
 
			
				
				
				
					QTP Scripting
				
					
						
							Thx Myth 
 
 can u guide any book that would be usefull to me
 
 Have a nice day
 keep smiling n b happy
 Reachme @ satishraja4u @ gmail . com
 
 
 
 
 
 
 
 
 
- 
	
	
		
			
			
				Contributing Member
			
			
			
			
				
					
						  
 
					    
				 
 
			
				
				
				
					Re: QTP Scripting
				
					
						
							Reusability - the scenario or function that will be used across your project. 
 
 Modularization - broke/split the scenarios in to small parts, so that it can be more reusable.
 
 Example : take yahoo page
 scenario1
 login into the yahoo
 click on the check mail
 enter the text to be searched in the text box
 click on the search button
 click on the displayed links.
 
 Scenario 2
 
 login into yahoo
 click on the compose mail
 enter the wildcart symbol(s) in the search text box
 click on the search button
 searched results should display "no result found" message
 
 Say suppose if two persons in a team going to share and develop the scripts for the above scenarios.for both scenario login will be the same,so it can made as resuable function(function used across prj).
 
 And another possible reusability is search funcationality. So the scenarios can be broken in to three parts,login,search and performing operation based on searched results as per the scenarios.
 
 Hope this helps 
 
 
 
 
 
 
				
				
				
					
						Last edited by myth.ks; 07-30-2007 at 03:57 PM.
					
					
				 
 
 
 
 
- 
	
	
		
			
			
				Junior Member
			
			
			
			
				
					
						  
 
					    
				 
 
			
				
				
				
					Re: QTP Scripting
				
					
						
							Thanks alot Myth, it was very helpful
 
 
 
 
 
 
 
 
 
- 
	
	
		
			
			
				Junior Member
			
			
			
			
				
					
						  
 
					    
				 
 
			
				
				
				
					 Re: QTP Scripting Re: QTP Scripting
					
						
							Hi Myth,
 
 Sensible answer. Thank you very much.
 
 Have a good one
 Bye 
 
 
 
 
 
 
 
 
 
 
	
	
	
	
	
	
	
	
	
	
	
	
		
		
			
				 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