Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Blank out TE-fields
#1
Not Solved
What is the easiest way for blanking out (text)fields on a Terminal Emulator screen ?
If there e.g. 3 fields on the screen having a respective length of 6, 24 and 3 characters I have to set the 'blank'-variable 3 times to the correct length, before setting the value of the TeField.

Isn't there a function like e.g. ".Clear" ?
Code:
TeWindow("short name:=A").TeScreen("CLIENT").TeField("Name").Clear

instead of

Code:
sBlanks = "      "
TeWindow("short name:=A").TeScreen("CLIENT").TeField("Name").set sBlanks
Reply
#2
Not Solved
Hi Paulv

IS there a problem if you do :
Code:
TeWindow("short name:=A").TeScreen("CLIENT").TeField("Name").set ""

I use ""(without any spaces) for all my edits to blank out.

I am not sure about TE

Regards
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Need to Validate Text filed is blank after clicking on the Text box balak89 3 4,545 09-13-2015, 12:06 AM
Last Post: ADITI1992
  How to check empty fields? ripchin 1 3,266 05-10-2014, 01:18 PM
Last Post: Ankur
  How to mask the particular read only mode fields while capturing screenshot in QTP kalaivanan123 2 3,361 03-18-2014, 11:31 AM
Last Post: basanth27
  Payment details fields are getting flushed vimalkamothi 4 3,114 01-04-2014, 11:09 AM
Last Post: vinod123
  I am trying to extract text from a webelement but it is generating blank text scenari excellentpawan 2 4,290 08-13-2013, 08:37 PM
Last Post: excellentpawan

Forum Jump:


Users browsing this thread: 1 Guest(s)