I am using the Web Application (Real Browser) test

I am using the Web Application (Real Browser) test

need to test a file upload it says it is not allowed how can I test that ?