wait - QuickTest Professional - Using Type method on SwfObject -


i'm developing automated test suite application uses text fields are, however, rather recognized swfobjects. part of automation, i'd type person's name 1 of objects. naturally, i'm using type method it's 1 available swfobject.

sometimes, if swfobject("edit_field").type "joe smith" application glitches , qtp manages fill field in structurally similar yet different string instead, such "jo smith" or "joe snith". rather nondeterministic , results produced can vary significantly. sometimes, editable field gets filled correct text, of times doesn't. no amount of wait or waitproperty(visible) managed solve far. has come across issue before , if so, offer insight solving it? might worth mentioning application queries db in background whenever types text field.

many thanks, paul.

hi paul try out..

set keyboard = createobject("wscript.shell")

swfobject("edit_field").click

keyboard.sendkeys "joe smith"


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -