Last active
August 29, 2015 14:20
-
-
Save morgajel/5aefa9a7e483d77140d2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The Issue: | |
Submitting a form fails when the action of the form does not have a protocol. | |
Note that this exact same script works in 0.9.1, but fails in 1.8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form name="aspnetForm" method="post" action="login.aspx" id="aspnetForm">... | |
</form> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
twill-sh | |
-= Welcome to twill! =- | |
current page: *empty page* | |
>> go https://www.example.com/someapp/login.aspx | |
==> at https://www.example.com/someapp/login.aspx | |
current page: https://www.example.com/someapp/login.aspx | |
>> find "Example Dot Com" | |
current page: https://www.example.com/someapp/login.aspx | |
>> formvalue . UserName 'twill' | |
current page: https://www.example.com/someapp/login.aspx | |
>> formvalue . Password 'secretPassword' | |
current page: https://www.example.com/someapp/login.aspx | |
>> submit butlogin | |
Note: submit is using submit button: name="ctl00$MainContent$butlogin", value="Login" | |
ERROR: Invalid URL 'login.aspx': No schema supplied. Perhaps you meant http://login.aspx? | |
current page: https://www.example.com/someapp/login.aspx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment