Opening an Object Map from a Script

When you are editing a script, you can open an object map by right clicking on an object map entry in the script and selecting Open Silk4JAsset. This will open the object map in the GUI.

Use Ctrl+Click and click on an object map entry and the object map entry will turn into a hyperlink. Click it to open it.

Example

@Test
public void test() {
		Window mainWindow = desktop.<Window>find("Untitled - Notepad");
	 mainWindow.<TextField>find("TextField").typeKeys("hello");
}
In the previous code sample, right-click Untitled - Notepad to open the entry Untitled - Notepad in the object map, or right-click TextField to open the entry Untitled - Notepad.TextField in the object map.