Forum Discussion
ArtemS
13 years agoSmartBear Alumni (Retired)
Hello Curt,
There can be multiple ways to pass the additional information along with web elements:
1) Use some of the Tag's standard attributes:
<p id="DateCreated:15/05/2013">Some Text</p> (the value of the id attribute should be unique across the page)
<a href="some_url.htm" rel="DateCreated:15/05/2013">Some Link</a>
2) Use the hidden text fields:
<span style="display:none">DateCreated:15/05/2013</span>
<p style="display:none">DateCreated:15/05/2013</p>
3) Use the hidden controls (similarly to the VIEWSTATE property of ASP.NET controls).
<form>
...
<input type="hidden" name="Date Created" value="15/05/2013" />
...
</form>
Regards.
There can be multiple ways to pass the additional information along with web elements:
1) Use some of the Tag's standard attributes:
<p id="DateCreated:15/05/2013">Some Text</p> (the value of the id attribute should be unique across the page)
<a href="some_url.htm" rel="DateCreated:15/05/2013">Some Link</a>
2) Use the hidden text fields:
<span style="display:none">DateCreated:15/05/2013</span>
<p style="display:none">DateCreated:15/05/2013</p>
3) Use the hidden controls (similarly to the VIEWSTATE property of ASP.NET controls).
<form>
...
<input type="hidden" name="Date Created" value="15/05/2013" />
...
</form>
Regards.
Related Content
Recent Discussions
- 33 minutes agoSvetaG