title: Mouse Hover in VBScript
body: <p>I was wondering if someone can help me figure out the solution to a problem I am having with my script.</p>
  
  <p>To give you all context, I am trying to simulate a mouse hover on a menu.  So when you put your mouse over "New Vendor", it will expand the menu with more options to choose from (in this case just "New Care Organization").  For test purposes, I want to select "New Care Organization". </p>
  
  <p><strong>Here's the visual of the menu:</strong></p>
  
  <p><img src="https://i.stack.imgur.com/29uBw.png" alt=""></p>
  
  <p><strong>When I put my mouse over "New Vendor", this is what I want to happen:</strong></p>
  
  <p><img src="https://i.stack.imgur.com/Db00c.png" alt=""></p>
  
  <p>Here's what I have right now:</p>
  
  <pre><code>Browser("MyPage").Page("MyPage").WebElement("New Vendor").Click
  Browser("MyPage").Page("MyPage").WebElement("Medical Care Organization").Click
  </code></pre>
  
  <p>For some reason, however, when I run this, "New Vendor" does not expand and therefore "New Care Organization" is not selected.  It's as if it didn't even recognize my command to expand "New Vendor" and the test fails.</p>
  
  <p>I thought I was doing this right, but can anyone explain and possibly give me correct code to fix this?</p>
  
  <p>Much appreciated!</p>