How do i can click random item of dropdown list?

You need to write an import statement for WebElement class in the header part of your test case script. That is:

import org.openqa.selenium.WebElement;

The javadoc of this class is published here:

How can I find the fully qualified class name?

Either of the followings:

  1. Try searching pages for WebElement, or
  2. Press Ctrl + Shiift + o, as @Brandon_Hein suggested. KS knows what WebElement is so that it will resolve the fully qualified class name for you.