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


Messages In This Thread
Blank out TE-fields - by paulv - 09-18-2008, 01:01 PM
RE: Blank out TE-fields - by kishoreinchennai - 09-19-2008, 01:50 AM

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,905 09-13-2015, 12:06 AM
Last Post: ADITI1992
  How to check empty fields? ripchin 1 3,421 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,534 03-18-2014, 11:31 AM
Last Post: basanth27
  Payment details fields are getting flushed vimalkamothi 4 3,467 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,674 08-13-2013, 08:37 PM
Last Post: excellentpawan

Forum Jump:


Users browsing this thread: 1 Guest(s)