class JsWrapper
Uses the Groovy methodMissing and propertyMissing features. We can call any method for an object of this class, just like in JS. As the method is not defined, methodMissing is called. Then, methodMissing delegates the call to a native JS object in the browser. This behavior is similar for fields, just like in JS. See com.smartbear.readyapi.js.JsEngineTest unit tests for examples.
Type Params | Return Type | Name and description |
---|---|---|
|
java.lang.Object |
call(java.lang.Object... args) |
|
java.lang.Object |
get(java.lang.Object k) Allows using an object like the 'read only' list |
|
int |
getLength() Allows using an object like the 'read only' list |
|
java.util.Iterator<java.lang.String> |
iterator() |
|
java.lang.Object |
methodMissing(java.lang.String name, java.lang.Object args) |
|
java.lang.Object |
propertyMissing(java.lang.String name) |
|
java.lang.Object |
propertyMissing(java.lang.String name, java.lang.Object arg) |
|
java.lang.String |
toString() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Allows using an object like the 'read only' list
the
- k index of the element (int or string)Allows using an object like the 'read only' list
ReadyAPI functional (soapui) SDK 3.20.1