SET TEXT How use?

나는 set text 를 사용하고 싶습니다

title 이라는 변수를 사용하여 문자를 저장하고

(대외문) title 의 형식으로 title에 저장된 내용을 불러오고싶은데 방법을 알고싶어요

@user118

// Create a variable called title and assign it the value “My Title”
string title = “My Title”;

// Use the Set Text activity to load the contents of the title variable into a UI element
Set Text activity.Target = “txtTitle”;
Set Text activity.Value = title;

Hi @user118

  1. Drag and Drop “Set Text” Activity: Add the “Set Text” activity to your workflow . This activity allows you to set the text of a target element like a textbox, label, or any other UI element.
  2. Select the Target Element: Indicate the target element where you want to load the contents from the title variable. This could be a textbox, a label, or any other element that can display text.
  3. Format the Text: To format the text from the title variable, you can use string interpolation or string concatenation to include it in the desired format.
"Title: " + title

Check the below docs for more help
https://docs.uipath.com/activities/other/latest/ui-automation/set-text

@user118

It acts as Type into activity
Indicate the element and Give Variable name

i want this

ex) Text = text
Title = title

sex text : Text + Title → texttitle

i want this

ex) Text = text
Title = title

sex text : Text + Title → texttitle

@user118

Hi @user118

Hope it helps!!

Hi @user118

O/P:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.