Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Setting a value in edit field using Navigate option
#1
Hi

I would like to set a value in a edit field using the navigate option. Iam able to retrieve the data from the field but iam not able to set a value...

retrieving the data/text from the edit field using navigate option is as follows...

Acc a=acc("Person Details" "CLIENT" "Employee Details" "WindowsForms10.Window.8.app3" "" 0x1001 0 0 "c6")
(here my child object 6 is the edit field )
str s
out s.getwintext(child(a.a))


similarly is there any option to set a value in the edit field
(however iam not interested in using the command a.setvalue("hello"))


Thanks,
Nithin
#2
Some objects do not allow setting text with s.setwintext or a.SetValue. Then you can select the object (a.Select(3) or act child(a.a)) and then use key.


Forum Jump:


Users browsing this thread: 1 Guest(s)