5
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

【UiPath】セレクタに変数を含める

5
Posted at

動的にセレクタを変えたい場合などに。

セレクタ編集画面にて、上下いずれかの編集エリアで、変数を挿入させたい位置にカーソルを当て、Ctrl + スペースを押す。
01.png

定義済みの変数が表示されるので、挿入したい変数を選択する。
02.png

選んだ変数名が{{変数名}}となって追加される。
03.png

なお、定義済みの変数として表示されるのは、String型の変数のみ。それ以外の型の変数を挿入したい場合は、事前に別のString型変数を用意し、代入しておく必要がある。
{{CStr(変数名)}}など、カッコ内で関数などを呼び出してString型に使用としても、上手くいかないので注意。

5
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?