The SWT toolkit contains components specific to SWT applications. You will only have access to these components if you select SWT as the toolkit for your AUT .