Blank out TE-fields - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Blank out TE-fields (/Thread-Blank-out-TE-fields) |
Blank out TE-fields - paulv - 09-18-2008 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 = " " RE: Blank out TE-fields - kishoreinchennai - 09-19-2008 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 |