title: How to select a random values from the property file for Selenium Webdriver?
body: <p>Currently I'm working on Selenium WebDriver and using Java.
  I have a Filter Section with many drop downs
  In each drop down I have many options for all the drop downs.
  All the options i have put it in a property file called Dropdown.properties</p>
  
  <p>I have a property file (dropdown.properties) in the C: directory. In looks like</p>
  
  <pre><code>visualizationId=Day,Week,Month,Quarter,Semester,Year,RD Tech Group,ICC,Center,Software Pack,Product,Project,Customer PRs,Severity,Priority 
  periodId=Last 4 Weeks,Last 52 Weeks,Date Range,Week Range,Month Range,Year To Date      
  classificationId=All PRs,External PRs,Internal PRs,Customer PRs   
  
  topographyId=Overall,Center,ICC
  
  swpacksId=ADVIP,ADVLEG,ADVSEC,Boot,H323,IBC,MULTI,None,OneOS_EAD,PROXY,SBO,SIP,TDRE,VoDSL 
  priorityId=Very Urgent,Urgent,Routine,Not Urgent,On Hold,Not Assigned 
  severityId=Blocking,Major,Minor,Cosmetic,OLD PR
  </code></pre>
  
  <p>By using Java for each drop down it need to pick few values from the property file and it need to compare with the UI whether the options is present or not.</p>
  
  <p>It should not check the order or something just want to check whether the randomly picked options from the property file is available in the UI</p>
  
  <p>Please suggest me any solution.</p>
  
  <p>I have read all the values from Property file using the code</p>
  
  <pre><code>Properties APPTEXT = new Properties();
  Log.info("Getting Input from the Property file");
  FileInputStream fs = new FileInputStream("C:\\FilterSection\\dropdown.properties");
  APPTEXT.load(fs);
  System.out.println("Propertyfile : " +APPTEXT); 
  </code></pre>
  
  <p>Could any one help me to pick few values from property file and need to check in UI. </p>