is it possible to check where a View is [message #1578592] |
Thu, 22 January 2015 13:47  |
Eclipse User |
|
|
|
Hi there,
my problem is i wanna check if a view appears in the right area. So my requirement i have to check is: The View XY appears in the bottom left corner below the navigator when u open the perspective. Is it possible to check that with jubula? If i use check existence the test will also pass if the view appears beside the editor area at the right.
can anybody help me?
Sincerely Dominik
|
|
|
Re: is it possible to check where a View is [message #1585425 is a reply to message #1578592] |
Mon, 26 January 2015 08:58   |
Eclipse User |
|
|
|
Hi Dominik,
It's possible that you might be able to map the tab container where you expect the view and perform "check existence of tab by value". That should let you know whether the tab you expect is in the container you expect.
Hope that helps,
Alex
|
|
|
|
Re: is it possible to check where a View is [message #1585595 is a reply to message #1585552] |
Mon, 26 January 2015 11:07   |
Eclipse User |
|
|
|
Hi Dominik,
Thanks for the update. What I meant was that you can map the tabbed component and check for the existence of the tabbed pane by its value (tab title). That way, the simple existence of the tabbed folder will not be enough to pass.
Best regards,
Alex
|
|
|
|
Re: is it possible to check where a View is [message #1585938 is a reply to message #1585841] |
Mon, 26 January 2015 15:22  |
Eclipse User |
|
|
|
Ah, now I understand. For the case I was explaining you're using the correct unbound module, and it will correctly tell you whether the tab is in the correct view, but what you need to know is whether the whole view is in the correct place, is that right?
If you're wanting to check the position, then you might be able to use check property to check the coordinates. Otherwise, there's no particularly practical way at the moment to check the position of the view. This is at least partially to do with our heuristic, which isn't "upset" when you move the view to another place on the screen.
Hope that helps!
Alex
|
|
|
Powered by
FUDForum. Page generated in 1.08176 seconds