While I am trying to get the value from the text box, it's throwing No such element found issues,
below are my field properties:
input id="altid" class="firstColumnInput text C1 disabled" type="text" value="100281" securityidpath="MEMBER_DEMOGRAPHICS.INDICATIVE_INFORMATION.INDICATIVE_INFORMATION.PERSON.ALT_IDENTIFIER" name="$EntryField$7" lockrequired="true" tabindex="-1" readonly="readonly"
code for getting the value is:
driver.findElement(By.xpath(OR.getProperty(object))).getAttribute("value");
result:
org.openqa.selenium.NoSuchElementException: Unable to locate element: {"method":"xpath","selector":"//*[@id=\"age\"]"} For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.2.0', revision: '13073', time: '2011-07-25 19:23:22' System info: os.name: 'Windows XP', os.arch: 'x86', os.version: '5.1', java.version: '1.6.0_22' Driver info: driver.version: EventFiringWebDriver
Please suggest me how to fix this issue.