Skip to main content



      Home
Home » Archived » Jubula » Dealing with timing issues
Dealing with timing issues [message #769062] Wed, 21 December 2011 05:32 Go to next message
Eclipse UserFriend
Hi,

I have a question concerning timing issues. Let's say I have a dialog (e.g. the 'Open Type' Dialog in Eclipse) which needs some time to get up - and this time varies. Is it correct to use error handlers for that and do something like "If the dialogs contents (e.g. a type to search for in the 'Open Type' dialog) is not valid -> wait 1 second and reentry"? Or is there some Jubula functionality for these special cases?

Best regards (and nice christmas days b.t.w),
Andreas
Re: Dealing with timing issues [message #769064 is a reply to message #769062] Wed, 21 December 2011 05:38 Go to previous messageGo to next message
Eclipse UserFriend
Hi Andreas,

you can try using wait for window and set the time you want Jubula to wait for a window to appear to a high count if you are not sure when the window appears. Another possible solution would be to set event handlers as you described.
Regards and nice christmas
Oliver
Re: Dealing with timing issues [message #769073 is a reply to message #769064] Wed, 21 December 2011 05:52 Go to previous message
Eclipse UserFriend
Hi Oliver,

thanks for verification. In my use case I need to wait for an entry in the 'Open Type' dialog (which depends on the completion of the indexing process). Since this could take from 1 sec (or almost instantly) up to an unknown time, I need a mechanism to wait.

Good to know that I'm already doing it in the right way.

Best regards,
Andreas
Previous Topic:assignment of the technical name is invalid
Next Topic:Drag&drop tests don't work on MacOS X
Goto Forum:
  


Current Time: Tue Jul 08 03:46:36 EDT 2025

Powered by FUDForum. Page generated in 0.02937 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top