on 07-26-2011 9:07 PM
This is a very simple task, but I cannot find out how to do it. I'm guessing that for sending the TAB key, I could simply use the VBScript command:
SendKeys "%"
If this is not the case, please correct me. After I TAB, I need to insert a string of text into the selected field. How do I do it?
Thank you in advance.
Hi peperez
To fill in the Data in the Textfield you dont need to "TAB" ...
You just need the Name the field
for example
session.findbyid("wnd[0]/usr/ctxterg")
than simply put it like this:
session.findbyId("wnd[0]/usr/ctxterg").Text = mytext
To find the name of the field just use the Hit-Assistant in Scripting
copy the field name and you'll get something like
//app/......
shorten it to where wnd[0] begins and all is done
Greetings
Thomas Br
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.