# Simple Target

Targets are basically identifiers associated with locators (CSS selector or XPath) that we can refer in the tests

## Adding Target with CSS Selector

![Adding Target with CSS Selector](https://3461068122-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdyKJ-zzeS2hB7DF04J%2F-LuI8L7QQl4VPa5sLOZ8%2F-LuI8VAJpKSIlL5cbXrI%2Fsimple-target.gif?alt=media\&token=5ae42edd-8595-420b-bab5-edc8cf8a6498)

{% hint style="info" %}
When you change name of an existing target, the new name will be reflected in all the test cases referring to it
{% endhint %}

## Adding Target with XPath

![Adding Target with XPath](https://3461068122-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdyKJ-zzeS2hB7DF04J%2F-LuI8L7QQl4VPa5sLOZ8%2F-LuI8jA3uVTcMGEDANPx%2Fsimple-target-xpath.gif?alt=media\&token=2178bdb6-081b-4c82-94a6-3d5eba15dfc3)

## Editing Targets as CSV

You can edit targets as CSV. After clicking on **Edit as CSV** button you get a modal window where existing targets presented as lines of target/locator pairs separated with comma.

![ Editing Targets as CSV](https://3461068122-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LdyKJ-zzeS2hB7DF04J%2F-LuI8L7QQl4VPa5sLOZ8%2F-LuI9m5utyTinb53k6LW%2Ftarget-as-csv.gif?alt=media\&token=6d31c78a-9bab-4edc-a5eb-a81d17cf9ce8)
