I need to judge one case pass or not according to a view\'s color. But when I try to create a file in the method, the case returns either pass nor fail but terminated. Here