Navigate with bookmarks
When working in the Editor, you can place bookmarks at various locations within your script. You can navigate between the bookmarks to analyze and debug your code.
About bookmarks
When you edit a Vuser script, you can use bookmarks to navigate between sections of the script. When you add a bookmark, a bookmark icon is added to the left of the selected line in your script.
Most of the bookmark functionality is available from VuGen's Bookmarks pane. To access the Bookmarks pane, click View > Bookmarks.
The Bookmarks pane displays a list of all bookmarks that exist in the Vuser script.
Create a bookmark
In the Editor, place the cursor at the relevant location and press Ctrl + F2. VuGen places a bookmark icon in the left margin of the script.
Remove a bookmark
To remove a bookmark, perform one of the following:
- In the Editor, click in the line that contains the bookmark and press Ctrl + F2.
- In the Bookmark pane, select the bookmark that you want to delete and click the Delete Bookmark button .
The bookmark icon is removed from the left margin.
Navigate between bookmarks
Click View > Bookmarks to display the Bookmarks pane.
- To move to the next bookmark, click the Next Bookmark button or press F2.
- To return to the previous bookmark, click the Previous Bookmark button or press Shift + F2.
You can navigate between bookmarks in the current action only. To navigate to a bookmark in another action, select that action in the left pane and then press F2.
Navigate to a specific bookmark in a Vuser script
In the Bookmarks pane, double-click the specific bookmark to which you want to navigate. The cursor flashes in the Editor at the start of the line containing the bookmark.