Forum Discussion
jhaney
12 years agoNew Contributor
Thanks for your reply Shrirang.
1. Yes. Unfortunately, there is something going on in .Keys that is different from manual user interaction with the field. If I do <myobject>.Keys "1234", 1234 is entered in the field and the validation is immediately triggered that populates other fields (incorrectly, for reasons I'm still trying to understand with our dev) before moving on to the next TC line. If I manually enter 1234 in the field, no validation takes place until after I move out of the field. This tells me that once .Keys is done entering the specified value, it's doing more and leaving the field, or removing focus at least, causing the event to be triggered.
2. I tried <myobject>.Keys "1234" & "[Esc]". Did not change the outcome.
Thank you for your suggestions. I think the issue is that .Keys is doing more than just entering values and until I know what that extra action is, I won't be able to have a discussion with our devs to maybe have that event/action added to what triggers the correct validation/population.
Thanks again,
Joel
1. Yes. Unfortunately, there is something going on in .Keys that is different from manual user interaction with the field. If I do <myobject>.Keys "1234", 1234 is entered in the field and the validation is immediately triggered that populates other fields (incorrectly, for reasons I'm still trying to understand with our dev) before moving on to the next TC line. If I manually enter 1234 in the field, no validation takes place until after I move out of the field. This tells me that once .Keys is done entering the specified value, it's doing more and leaving the field, or removing focus at least, causing the event to be triggered.
2. I tried <myobject>.Keys "1234" & "[Esc]". Did not change the outcome.
Thank you for your suggestions. I think the issue is that .Keys is doing more than just entering values and until I know what that extra action is, I won't be able to have a discussion with our devs to maybe have that event/action added to what triggers the correct validation/population.
Thanks again,
Joel