I saw a response for this question in the posts, but whenever I apply ‘Ctrl+Shft+O’ it imports necessary class, but deletes all other class imports. What am I doing wrong?
1 Like
‘Ctrl+Shft+O’ removes all the “unused” import startements. I think it is a good practice to remove unused imports to make your code fit.
I don’t think this is convenient, I should be able to import the intended class object before running test case. I used Selenium and IntelliJ for IDE, and unused objects are shown after running test.