Forum Discussion

ThiagoAraujo's avatar
ThiagoAraujo
Occasional Contributor
10 years ago

Inserting a value into a variable

Hello guys,

I have a relatively simple question, and that level of programming is simple to do.

I use TC as "Recorder and Play" and would like to use a property as an example "contentText[get]"  to get a value from a report and pass to a variable.

From the value of the variable performing the following actions. But still can not get this operation, and wonder how I can accomplish this using the properties of TC, excluding for now the code(script).



I hope I was clear...



[I used the google translator to translate this message]

2 Replies

  • mgroen's avatar
    mgroen
    Frequent Contributor
    Use the operation "Set Variable value" (search on it if you don't know how or you get stuck on the Smartbear Online Help)

  • Its fairly simple



    TestObj.contentText - here you get the value

    Set Variable operation varName(Last Operation Result) - here you set the value to a variable