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 |
− | < | + | <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> | ||
− | + | * 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 | |
− | |||
− |
Revision as of 11: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