No edit summary
No edit summary
Line 1: Line 1:
== GET1-1: GET Forms ==
== GET1-1: GET Forms ==
Create page '''Selentium/GET1-1'''
* Create page '''Selentium/GET1-1'''


Add following content and save
* Add following content and save


<nowiki><form action="get"></nowiki>
<syntaxhighlight lang="html">
<form action="get" id="GET1-1">
  <!-- GET1-1 Selenium test-->
  <input type="text" name="test" /><
  <input type="submit" value="GET1-1 test" />
</form>
</syntaxhighlight>


<nowiki><input type="text" name="test" /></nowiki>
* In the form text field type : "MyTest".
* Click the submit button with value "GET1-1 test".


<nowiki><input type="submit" value="test" /></nowiki>
* Result is the same page reloaded but the url will now have an argument and value of  : test=MyTest
 
<nowiki></form></nowiki>

Revision as of 10:28, 15 May 2023

GET1-1: GET Forms

  • Create page Selentium/GET1-1
  • Add following content and save
<form action="get" id="GET1-1">
  <!-- GET1-1 Selenium test-->
  <input type="text" name="test" /><
  <input type="submit" value="GET1-1 test" />
</form>
  • In the form text field type : "MyTest".
  • Click the submit button with value "GET1-1 test".
  • Result is the same page reloaded but the url will now have an argument and value of  : test=MyTest