08-14-2012, 11:35 PM
Hi All,
I am using FF Browser and i would like to retrieve the Innertext of the WebElement using DOM model or using Descriptive programming, Can any one help me out.
I have pasted the sample HTML code
how do i retrieve the value "Error: Account Locked" from the above piece of code.
Can some one please help me with this.
Thanks
Rakesh
I am using FF Browser and i would like to retrieve the Innertext of the WebElement using DOM model or using Descriptive programming, Can any one help me out.
I have pasted the sample HTML code
Code:
<div class="login">
<div class="credentialsBlock">
<p class="error"> Error: Account Locked </p>
<fieldset>
</div>
Can some one please help me with this.
Thanks
Rakesh