19 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| Test Your Web Application: GUI Web Testing Environment + Script Runner
 | |
| 
 | |
| Webtester consists of two binaries: webtester to interactively create your web application tests and webrunner to run your test scripts.
 | |
| 
 | |
| There is a test GUI including browser to record user input while he surfs on the web and a test runner to run (recorded) test scripts. The tests can be integrated e.g. in a jenkins build job. It has been tested on Wordpress, Dokuwiki and Joomla pages. Joomla is difficult due to Javascript-Moo-Tools pollution. There's some specific support, that may help a bit, but to test Joomla sites, you need a lot of experience. Concluson: Avoid Joomla.
 | |
| 
 | |
| Sample Script to search my old homepage on Google, klick on the link, there click on tab «Computer» and check the title for the text «Marcs Computerblog»:
 | |
| 
 | |
| load https://google.com
 | |
| expect load
 | |
| setvalue input[name="q"] -> 'Marc Wäckerlin';
 | |
| click input[name="btnG"]
 | |
| expect load
 | |
| click a[href^="/url?q=https://marc.waeckerlin.org/&"]
 | |
| expect load https://marc.waeckerlin.org/doku.php
 | |
| click a[href="/computer/index"]
 | |
| expect load https://marc.waeckerlin.org/computer/index
 | |
| exists h1.sectionedit1 -> Marcs Computerblog
 |