WadlImport
open /juddi-gui/search.jsp
click link=Discover
click link=Create
clickAndWait link=Register Services from WADL
type id=wsdlurl http://svn.apache.org/repos/asf/juddi/trunk/juddi-client/src/test/resources/wadl/cxf.wadl
click //a[contains(text(),'Step 2)  Key Domain')]
assertText id=keydomain
click //a[contains(text(),'Step 3)   Business Selection')]
type id=businessname test
click link=Step 4) Review and Approve
click link=Preview
assertText id=preview WADL successfully parsed! This will create 0 Port tModels, 2 Binding tModels, one tModel Key Generator, 1 binding, and 1 service(s) attached to the business with the key test .
Services:
Key: uddi:svn.apache.org:service_servicename
Name: Servicename
Binding Templates:Key: uddi:svn.apache.org:binding_svn.apache.org_servicename_a resource base url without a description_8080
Access Point: http://localhost:8080/tModels
Key:uddi:svn.apache.org:binding Name: uddi:svn.apache.org: Binding tModelKey:uddi:svn.apache.org:rest Name: uddi:svn.apache.org: Rest tModel
click link=Save
assertText id=preview WADL successfully parsed! This will create 0 Port tModels, 2 Binding tModels, one tModel Key Generator, 1 binding, and 1 service(s) attached to the business with the key test .
Services:
Key: uddi:svn.apache.org:service_servicename
Name: Servicename
Binding Templates:Key: uddi:svn.apache.org:binding_svn.apache.org_servicename_a resource base url without a description_8080
Access Point: http://localhost:8080/tModels
Key:uddi:svn.apache.org:rest Name: uddi:svn.apache.org: Rest tModelKey:uddi:svn.apache.org:binding Name: uddi:svn.apache.org: Binding tModelSaving tModel svn.apache.org Key Generator Partition...Error Authentication is required for this API call
Saving tModel uddi:svn.apache.org: Rest tModel...Error Authentication is required for this API call
Saving tModel uddi:svn.apache.org: Binding tModel...Error Authentication is required for this API call
Saving business test...Error Authentication is required for this API call
type id=username test
type id=password test
click id=loginbutton
click link=Save
assertText link=exact:uddi:svn.apache.org:keygenerator exact:uddi:svn.apache.org:keygenerator
assertText link=exact:uddi:svn.apache.org:binding exact:uddi:svn.apache.org:binding
assertText link=exact:uddi:svn.apache.org:rest exact:uddi:svn.apache.org:rest
assertText link=exact:uddi:svn.apache.org:business_test exact:uddi:svn.apache.org:business_test
clickAndWait link=Welcome test
click link=Discover
clickAndWait link=Businesses
assertElementPresent link=test
clickAndWait link=test
click xpath=(//a[contains(text(),'Services')])[4]
assertElementPresent link=exact:uddi:svn.apache.org:service_servicename
clickAndWait link=exact:uddi:svn.apache.org:service_servicename
click link=Binding Template
click link=Home
clickAndWait css=img