Form Element Path Plugin

Skip to end of metadata
Go to start of metadata

Plugin Information

Plugin ID form-element-path Changes In Latest Release
Since Latest Release
Latest Release
Latest Release Date
Required Core
Jun 11, 2013
Source Code
Issue Tracking
Open Issues
n/a (id: lucinka)
Usage Installations 2013-Apr 22
2013-May 29
2013-Jun 23
2013-Jul 23
2013-Aug 26
2013-Sep 25
2013-Oct 31
2013-Nov 25
2013-Dec 26
2014-Jan 26
2014-Feb 35
2014-Mar 30

What is this?

This plugin adds distinctive path attributes to every form elements inside Jenkins so that automated test programs like Selenium can be used more effectively to automate/test Jenkins.

How it works

With this plugin enabled, every control inside a form gets the path attribute. The value of this attribute is something like "/hudson-tasks-ArtifactArchiver/artifacts", and is modeled after XPath.

Configuration pages in Jenkins are assmbled from small pieces that plugins contribute. Furthermore, in general they form a tree structure, and each such fragment can be used multiple times in different context. For example, think of Conditional BuildStep Plugin that allows you to add arbitrary builder as a nested builder inside the "conditional build step" builder.

Because of this reusability of fragments, the id and name attributes cannot be used reliably to point to a specific fragment. That's why we need XPath-like expression.

Find a path that's assigned to element

Use JavaScript DOM inspector in your browser to pick up an INPUT/BUTTON/SELECT elements, and look for the path attribute.


This plugin works with 1.424 and later. When you interact with form and cause DOM changes, you can call recomputeFormElementPath() function from JavaScript to recompute Path to reflect DOM changes.

With Jenkins 1.452 and later, this explicit invocation is unnecessary.


Version 1.0 (June 22, 2012)

  • Initial release
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.