Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Jubula » Check if AUT finished saving/loading data before executing next test cases
Check if AUT finished saving/loading data before executing next test cases [message #1255475] Mon, 24 February 2014 13:33 Go to next message
Kay Odenthal is currently offline Kay OdenthalFriend
Messages: 7
Registered: January 2014
Junior Member
Hello,

we're currently trying to make our tests more robust in concern to saving/loading times. In order to achieve this, we need to know whether a saving/loading operation finished, before the test execution continues. Because the execution times of those operations vary a lot, we can't simply use a "wait"-Test Case.

Heres a common scenario:
1. open dialog
2. enter data
3. click save
-> label "saving/loading..." appears and disappears after operation is finished
4. close dialog

How can I wait until the label stating "saving/loading..." disappeared? If that doesn't work, is there another method for checking whether the data transfer has finished?

Unfortunately, there is no dialog that pops up while loading/saving data, just the plain label. Therefore, it's not possible to use the Test Case, that checks whether a dialog/window was closed.
Re: Check if AUT finished saving/loading data before executing next test cases [message #1256216 is a reply to message #1255475] Tue, 25 February 2014 07:59 Go to previous message
Ajantha Yogamoorthy is currently offline Ajantha YogamoorthyFriend
Messages: 11
Registered: October 2013
Junior Member
Hello Kay,

there is a module example on the Testing Portal for this problem. You have to read the module example "Wait for status text to change". And there is also a Cheat Cheet about using Retry-Event-Handler.

Hope that helps,
Ajantha
Previous Topic:html problem
Next Topic:Examples for Web-Tests
Goto Forum:
  


Current Time: Thu Dec 18 05:48:27 GMT 2014

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

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