Commit Graph

2197 Commits

Author SHA1 Message Date
jocelyn 430b34df4f removed unused local variable 2013-05-15 10:54:07 +02:00
jocelyn 1a518e4d27 use EWF_tmp- prefix for temp uploaded file name. 2013-05-15 10:52:32 +02:00
jocelyn b09060315c fixed implementation of WSF_UPLOADED_FILE.append_content_to_string 2013-05-15 10:48:38 +02:00
jocelyn 899a32c86c Added WSF_UPLOADED_FILE.append_content_to_string (s: STRING) which can be used to get the content of the uploaded file. 2013-05-15 10:33:00 +02:00
jocelyn 7d5d55462f Added a way to customize the place to store temporary uploaded files 2013-05-15 10:31:05 +02:00
jocelyn b083f1d596 code cleaning 2013-05-15 10:30:32 +02:00
jocelyn c61afe77a0 removed unused local variable 2013-05-14 18:31:44 +02:00
jocelyn 654561bcbc Added WSF_REQUEST.has_execution_variable (a_name): BOOLEAN
Since the related value can be Void.
2013-05-14 18:17:48 +02:00
jocelyn a065cfb2b5 Removed unused local variables. 2013-05-14 16:04:32 +02:00
jocelyn 5c51937b7e Merge branch 'master' of https://github.com/EiffelWebFramework/EWF 2013-05-14 15:58:17 +02:00
jocelyn 330d1462bf Reuse WSF_LAUNCHABLE_SERVICE code as ancestor of WSF_DEFAULT_SERVICE_I
Note that this way, it is easy to redefine `launch' in order to customize the launching instruction if needed (thinking about testing...)
This might breaks some code since it adds a `launch' feature, but it is easy to fix and unlikely to happen often.
2013-05-14 15:57:08 +02:00
jvelilla 7679898159 Move expectation classed under a expectation cluster, added a new expectation class
for header.
2013-05-14 09:29:50 -03:00
jvelilla d344df6e7e Added examples find by id, name and class. 2013-05-14 09:28:21 -03:00
jvelilla e0c3c783fa Updated selenium WEB_DRIVER_WAIT, the feature until_when now use a
predicate. Updated the related example.
2013-05-13 10:47:46 -03:00
jvelilla 30663dc9fb Merge branch 'master' of https://github.com/jvelilla/EWF 2013-05-10 09:49:17 -03:00
jvelilla 8db7d0daa3 Initial implementation of HTTP RESPONSE EXPECTATIONS.
Added a class to test http client with httpbin.org and expectations
2013-05-10 09:48:28 -03:00
Colin Adams 48bc71c6e3 Merge branch 'master' into handler 2013-05-10 09:27:23 +01:00
jvelilla 2d3dadc85e Update readme.md 2013-05-08 10:48:03 -03:00
jvelilla e5765d356f Updated documentation
This documentation is based on Selinum http://docs.seleniumhq.org/
and adapted to the Eiffel implementation.
2013-05-08 10:38:25 -03:00
jvelilla f8f1773d18 Update readme.md 2013-05-08 10:21:23 -03:00
jvelilla 15782c7795 Update readme.md 2013-05-08 10:20:48 -03:00
jvelilla b777e81ab1 Updated WEB_DRIVER_WAIT class, still need to be improved.
Updated Readme and the example
2013-05-08 10:10:11 -03:00
jvelilla e29346dec8 Merge https://github.com/EiffelWebFramework/EWF 2013-05-03 10:57:19 -03:00
jvelilla 8535a8378c Improve the example, Added a new class WEB_DRIVER_WAIT, still under development.
Update web driver, to define time outs.
2013-05-03 10:43:48 -03:00
Jocelyn Fiat a75ab85356 Merge pull request #54 from colin-adams/master
Handle Precondition Failed for If-Match: * when no handler exists for the resource
2013-05-03 01:35:42 -07:00
jvelilla dcdc700bac Added a simple search example.
Updated web_driver, use the API as delegation instead of inheritance.
Updated web_element class.
2013-04-30 10:19:34 -03:00
jvelilla 31c2be768f Created new classes to represent a web driver.
Added Examples, clean code
2013-04-29 18:02:33 -03:00
jvelilla 9180667ac4 Completed low level methods, clean code. 2013-04-24 14:39:08 -03:00
jvelilla 4f79bf2add Implemented more commands from REST API JSONWireProtocol
Refactor COMMAND_EXECUTOR.
2013-04-24 11:33:39 -03:00
Colin Adams 9eaada0bdb merged from master 2013-04-24 13:54:30 +01:00
jvelilla c7e6fe38fb Added more command from JSONWireProtol. 2013-04-23 09:09:57 -03:00
jvelilla 9e8548d65a Added more commands from the JSONWireProtocol. 2013-04-23 08:26:02 -03:00
jocelyn e8d96b3521 send the file date for download file response. 2013-04-22 21:06:29 +02:00
jocelyn 06088866e0 WSF_RESPONSE.put_header_text should use put_raw_header_data (and not append) 2013-04-22 21:06:06 +02:00
jocelyn ad34ec1156 added header helper feature in the context interface
added HTTP_CLIENT_SESSION.custom (...)
to support any kind of request methods
2013-04-22 21:05:11 +02:00
jvelilla 3c41ca0864 Added new classes, implemented more methods from JSONWireProtol API.
Added test cases
2013-04-22 09:15:50 -03:00
Colin Adams f52aa2ecff Made changes requested in review 2013-04-17 15:37:39 +01:00
jvelilla c344ecceec Fixed errors in navigate_to_url command,
Fixed url templates in  json_wire_protocol_command.
Added test cases to AutoTest
2013-04-17 10:06:34 -03:00
jvelilla ce2ca051f6 Fixed feature typo, improved commands, added AutoTest 2013-04-16 17:31:33 -03:00
jvelilla c63e307179 Updated RestAPI commands 2013-04-15 16:16:16 -03:00
jvelilla 1daab0598a Improved error handling, implemented more methods from the REST API from Selenium2 2013-04-15 09:40:17 -03:00
Colin Adams 98ad77a57d If-Match implemented in skeleton handler 2013-04-13 14:49:03 +01:00
Colin Adams b4ab4875fc If-Match implemented in skeleton handler 2013-04-13 14:48:28 +01:00
jvelilla 6ead464a6b Fixed configurations paths 2013-04-12 09:38:04 -03:00
jvelilla 3d36c353fc Initial import Selenium binding 2013-04-12 09:16:52 -03:00
jocelyn a547cbaeb1 Fixed HTTP_CLIENT_RESPONSE when dealing with redirection
before it was storing some header in the body.
   now we added redirections: ..  which is a list of redirection informations:
     - status line
     - header
     - and eventual redirection body (but at least by default, libcurl does not cache body)

Enhanced the http_client library to be able to write directly the downloaded data into a file (or as convenient thanks to agent).
2013-04-11 15:53:46 +02:00
Colin Adams 77e2a7107f Merge branch 'master' of git://github.com/colin-adams/EWF 2013-04-11 12:07:59 +01:00
Colin Adams 3997efcd2d Fixed Use Proxy response 2013-04-11 12:07:29 +01:00
Colin Adams 024e5e4b04 Fixed Use Proxy response bug 2013-04-11 12:04:11 +01:00
Colin Adams 92ce80cd63 Fixed bug in 32/8 bit string existance 2013-04-11 10:28:14 +01:00