Robot script fail in playback
User hemal k shah (email@example.com) posted:
An application developed in VB & Oracle, 3 tier application. Some times
faced the problem of 'switch to' 'retry' message window with random in
nature. Whenever middle tier is busy it fetch the mention message on
During the playback of script, script getting fail when the above message
occurs. The same is also unable to recognize by object properties or any
other method, The message will disappear whenever you focus to any other
Now, can you suggest any method to recognize / acknowledge the message and
script should not gets fail.
Note : The message frequency is more whenever Form fetches the data/save
any record/click on navigation keys etc. Same was not consistent either
message occurs or not.
Re: Robot script fail in playback
User DAVID MARSH (DAVID.MARSH@thales-cs.com.nospam) posted:
You do it the same way a user would.
If a user sees such a message the read it, then their next action is based
on what they read in the window.
Look in the SQA Basic language ref, especially at the window command.
If you are in an area where such a message might pop up, always grab the
name of the window before doing the next action. If it is not the normal
window use SQAGetProperty to grab the message.
Do what you need to based on the message, then carry on your merry way.
If you are really smart you will wrap it up into a funky function so you can
reuse it thus :-
and Bob's your uncle