import org.junit.After;
import org.junit.Before;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
import static org.junit.Assert.*;

import java.util.concurrent.TimeUnit;
import java.util.Date;
import java.io.File;
import org.openqa.selenium.support.ui.Select;
import org.openqa.selenium.interactions.Actions;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.*;
import static org.openqa.selenium.OutputType.*;

public class QuotesSeleniumTest {
    FirefoxDriver wd;
    
    @Before
    public void setUp() throws Exception {
        wd = new FirefoxDriver();
        wd.manage().timeouts().implicitlyWait(60, TimeUnit.SECONDS);
    }
    
    @Test
    public void QuotesSeleniumTest() {
        wd.get("http://pumrpvm1.cloudapp.net:9080/mrp/");
        wd.findElement(By.cssSelector("label")).click();
        if (!wd.findElement(By.id("nav-trigger")).isSelected()) {
            wd.findElement(By.id("nav-trigger")).click();
        }
        wd.findElement(By.cssSelector("#element__3 > div.win-navbarcommand-button-content > div.win-navbarcommand-label")).click();
        wd.findElement(By.id("comments")).click();
        wd.findElement(By.id("comments")).clear();
        wd.findElement(By.id("comments")).sendKeys("Quotes recieved");
    }
    
    @After
    public void tearDown() {
        wd.quit();
    }
    
    public static boolean isAlertPresent(FirefoxDriver wd) {
        try {
            wd.switchTo().alert();
            return true;
        } catch (NoAlertPresentException e) {
            return false;
        }
    }
}

@@ -871,13 +871,8 @@
     
-if (!
 wd.f
@@ -893,84 +893,16 @@
 id(%22
-nav-trigger%22)).isSelected()) %7B%0A            wd.findElement(By.id(%22nav-trigger
+comments
 %22)).
@@ -910,26 +910,16 @@
 lick();%0A
-        %7D%0A
         
@@ -940,122 +940,35 @@
 (By.
-cssSelector(%22#element__3 %3E div.win-navbarcommand-button-content %3E div.win-navbarcommand-label
+id(%22comments
 %22)).cl
-ick
+ear
 ();%0A
-        
+%09%09
 wd.f
@@ -1001,138 +1001,101 @@
 %22)).
-click();%0A        wd.findElement(By.id(%22comments%22)).clear();%0A        wd.findElement(By.id(%22comments%22)).sendKeys(%22Quotes recieved%22);
+sendKeys(%22Quotes recieved%22);%0A        wd.findElement(By.id(%22edit-tools-save%22)).click();%0A      
 %0A   

Update QuotesSeleniumTest.java