Make URL Relative
The Make URL Relative data converter converts an absolute URL to a relative one using the current URL of the robot.
Properties
The Make URL Relative data converter can be configured using the following properties:
- Base URL
-
The URL to make the input URL relative to.
- Description
-
Type in a description to be shown in the list of data converters. If there is no type in a description, one will be generated.
- Examples
-
In these examples, the current URL of the robot is http://www.tungstenautomation.com
- If the input text is "http://www.tungstenautomation.com/~hello", the output text becomes "~hello"
- If the input text is "http://www.tungstenautomation.com/hello", the output text becomes "hello"
- If the input text is "http://www.tungstenautomation.com/test1/test2/../test", the output text becomes "test1/test"