|
|
Re: How to set-text an integer in editbox [message #1719667 is a reply to message #1719087] |
Mon, 11 January 2016 09:29 |
Steve Rogers Messages: 5 Registered: January 2016 |
Junior Member |
|
|
Hi Ulyana,
Here's the exact code that I've recorded:
with [get-window "Sample Wizard"] {
get-button "Next >" | click
get-editbox -after [get-label "Name:"] | set-text Steve
get-editbox -after [get-label "Age:"] | set-text 25
get-editbox -after [get-label "Address:"] | set-text "101 PH City"
get-button Finish | click
}
but the thing is. It just get pass through the input box of "Age" as if that RCPTT thinks that it was able to set the input box to the said number (e.g. 25)
but in actual run it was left black without any error indicated. The input box for "Age" accepts only Numeric Input and this is were the problem started, I think.
Since I am able to set an input box that accepts alpha numeric into an integer input e.g (Address)
One of the work around I'm trying to think of is to just command the RCPTT to do a "KEY PRESS" of number button itself but sadly failed on how to generate such code as it sticks to "set-text" function upon recording.
Could you suggest a work around for this?
Thank you very much Ulyana.
[Updated on: Mon, 11 January 2016 09:39] Report message to a moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03736 seconds