Skip to content

Instantly share code, notes, and snippets.

@devalex88
Last active May 17, 2018 02:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devalex88/c776e274ca95a1c96ccf031857007215 to your computer and use it in GitHub Desktop.
Save devalex88/c776e274ca95a1c96ccf031857007215 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type" />
<title>assertAttribute</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">checked</td></tr>
</thead>
<tbody>
<tr><td>open</td><td>https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_input_checked<datalist><option>https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_input_checked</option></datalist></td><td></td>
</tr>
<tr><td>selectFrame</td><td>index=0<datalist><option>index=0</option></datalist></td><td></td>
</tr>
<tr><td>assertAttribute</td><td>//form[@action='/action_page.php']/input[2]@checked<datalist><option>//form[@action='/action_page.php']</option><option>//form</option><option>css=form</option><option>//form[@action='/action_page.php']/input[2]@checked</option></datalist></td><td></td>
</tr>
</tbody></table>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">disabled</td></tr>
</thead>
<tbody>
<tr><td>open</td><td>https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_text_disabled2<datalist><option>https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_text_disabled2</option></datalist></td><td></td>
</tr>
<tr><td>selectFrame</td><td>index=0<datalist><option>index=0</option></datalist></td><td></td>
</tr>
<tr><td>click</td><td>//button[@onclick='myFunction()']<datalist><option>//button[@onclick='myFunction()']</option><option>//button</option><option>css=button</option></datalist></td><td></td>
</tr>
<tr><td>assertAttribute</td><td>id=myText@disabled<datalist><option>id=myText</option><option>//input[@id='myText']</option><option>//input</option><option>css=#myText</option><option>id=myText@disabled</option></datalist></td><td></td>
</tr>
</tbody></table>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment