Checking if the Password and Username boxes are present and default text in them, Using Selenium Java Testng : Below is the code that i wrote for verifying that the username and password fileds are present on the login page and the default text (Username in username box and Password in password box). I have also pasted the error that I am getting while executing this test. Any help would be appreicated. I did look around did find a few things but nothing fits excatly in my case. Thats why came here to ask experts.       

 public void VerifyUserNamePassFieldPresence() {
        				
        		assertElementPresent("//input[@name='name-of-this-field' and @type='text']");
        		driver.findElement(By.xpath(".//*[@id='LoginForm_username']")).getText();
        
        		System.out.println(driver.findElement(By.xpath(".//*[@id='LoginForm_username']")));
        		System.out.println("------------------------------------------------------------------------------------");
        		Assert.assertTrue(driver.findElement(By.xpath(".//*[@id='LoginForm_password']")).getText().matches("Password"));
        	}
    
    Error -
    
    FAILED: VerifyUserNamePassFieldPresence
    java.lang.AssertionError: expected [true] but found [false]
    	at org.testng.Assert.fail(Assert.java:93)
    	at org.testng.Assert.failNotEquals(Assert.java:512)
    	at org.testng.Assert.assertTrue(Assert.java:41)
    	at org.testng.Assert.assertTrue(Assert.java:51)
    	at pages.LoginPage.VerifyUserNamePassFieldPresence(LoginPage.java:36)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
    	at org.testng.internal.Invoker.invokeMethod(Invoker.java:661)
    	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869)
    	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193)
    	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126)
    	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
    	at org.testng.TestRunner.privateRun(TestRunner.java:744)
    	at org.testng.TestRunner.run(TestRunner.java:602)
    	at org.testng.SuiteRunner.runTest(SuiteRunner.java:380)
    	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375)
    	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
    	at org.testng.SuiteRunner.run(SuiteRunner.java:289)
    	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
    	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301)
    	at org.testng.TestNG.runSuitesLocally(TestNG.java:1226)
    	at org.testng.TestNG.runSuites(TestNG.java:1144)
    	at org.testng.TestNG.run(TestNG.java:1115)
    	at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:132)
    	at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:230)
    	at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:76)