No edit summary
No edit summary
Line 1: Line 1:
== GET1-1: GET Forms ==
== GET1-1: GET Forms ==
1. Create page '''Selentium/GET1-1'''
1. Create page '''Selentium/GET1-1'''
2. Add following content and save
2. Add following content and save
<syntaxhighlight lang="html">
<syntaxhighlight lang="html">
<form action="get" id="GET1-1">
<form action="get" id="GET1-1">
Line 9: Line 11:
</form>
</form>
</syntaxhighlight>
</syntaxhighlight>
3. In the form with id="GET1-1" type "'''MyTest'''" in the text field with name "'''test'''".
3. In the form with id="GET1-1" type "'''MyTest'''" in the text field with name "'''test'''".
4. Click the submit button with value "'''GET1-1 test'''".
4. Click the submit button with value "'''GET1-1 test'''".
5. Verify the result is the same page reloaded, but the url will now have an argument and value of  : '''test=MyTest'''
5. Verify the result is the same page reloaded, but the url will now have an argument and value of  : '''test=MyTest'''

Revision as of 10:32, 15 May 2023

GET1-1: GET Forms

1. Create page Selentium/GET1-1

2. 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>

3. In the form with id="GET1-1" type "MyTest" in the text field with name "test".

4. Click the submit button with value "GET1-1 test".

5. Verify the result is the same page reloaded, but the url will now have an argument and value of  : test=MyTest