Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
inserting text in a textbox
#1
Solved: 10 Years, 9 Months ago
Hello,
I'm using following code to inserting a text into a textbox:

Window("TestToolname").WinObject(TextBoxname).Type variablename
this is working and all text is inserted in the textbox like a keybord is used.

Now I want to insert the text which is stored in the variable into the textbox without looks like a keybord is used.
Is it possible ? (my be, using SetTOProperty) ?

I dont know how the code looks like ?

Thanks for supporting me

sebroker
Reply
#2
Solved: 10 Years, 9 Months ago
Hi,

try the following code.

Window("TestToolname").WinObject(TextBoxname).set variablename
Reply
#3
Solved: 10 Years, 9 Months ago
Code:
Window("TestToolname").WinObject(TextBoxname).set variablename
regards
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [UFT] [WPF] Trigger on TextBox robertosalemi 2 1,984 05-26-2016, 07:32 PM
Last Post: robertosalemi
  Need to Validate Text filed is blank after clicking on the Text box balak89 3 4,534 09-13-2015, 12:06 AM
Last Post: ADITI1992
  I am trying to extract text from a webelement but it is generating blank text scenari excellentpawan 2 4,282 08-13-2013, 08:37 PM
Last Post: excellentpawan
  Datatable header inserting error Prashanth 0 2,634 05-21-2013, 03:39 PM
Last Post: Prashanth
  Inserting comments along with name of the script in excel Prashanth 0 1,693 05-16-2013, 11:28 AM
Last Post: Prashanth

Forum Jump:


Users browsing this thread: 1 Guest(s)