I have following html code :
<html>
<iframe title='xyz'>
<html>
<body id='123'>
<p><\p>
</body>
</html>
</iframe>
</html>
I want to set value "test" in the p tag. Please let me know How can I do this?
WatiN doesn't have a setters like you are looking for. You can do it via javascript. See my answere at this link on how I did it for a bold tag; it isn't the cleanest but it works. Same idea would apply to a p tag.