Re: [Sugar-devel] How to resolve a GError while writing UI tests for Read

2014-07-29 Thread Gaurav Parida
Hi Gonzalo, It does the work as required for the use case. Thanks a lot for the help. I will get on to complete the tests for Read and I will apply the same for imageviewer to open the images. Thanks, Gaurav On Mon, Jul 28, 2014 at 10:24 PM, Gonzalo Odiard godi...@sugarlabs.org wrote: Hi

Re: [Sugar-devel] How to resolve a GError while writing UI tests for Read

2014-07-28 Thread Gonzalo Odiard
Hi Gaurav, I think I have found a solution to how open a file in Read, hopefully can be useful in a more general case. I am not an expert on testing, then would be good if others can confirm this is the right way: I have added a method run_activity_with_uri in the UITestCase class

[Sugar-devel] How to resolve a GError while writing UI tests for Read

2014-07-27 Thread Gaurav Parida
I am trying to write tests for Read activity and am facing a 'GError : timeout from dbind' while writing the test for it. The test that I am trying to write is to open a file in Read Activity. After, searching on the error, I found out that as soom as Read starts, it has some dbus settings but as