[01:10] Noskcaj: just the person I need to chat to! Are you available for about an 15 min chat in ~ 5 minutes? [01:19] phillw, yeah, should be [01:19] what's it about [01:21] classroom session [01:21] ok === Noskcaj is now known as Noskcaj_afk [05:40] hey guys [05:40] good morning [05:40] or evening === Ursinha_ is now known as Ursinha [15:30] ade you about? [15:32] balloons, yes I am, how are you? [15:33] a bit late, or perhaps right on time, depending :-) [15:34] anyways.. sat morning, I'm doing well :-) [15:43] balloons, yo? [15:45] smartboyhw, hello! [15:45] evening to you [15:46] balloons, good night, gotcha go. Receive my message yesterday? [15:46] yes I did.. I would schedule yours according to your schedule [15:46] if others can't go before you, I wouldn't worry so much about it [15:47] I don't want to keep you in limbo [15:47] balloons, lol [15:47] I will make one, probably in 5/2/2013 13:30 UTC [15:47] sounds good [15:48] that's later than everyone else should be going anyway [15:48] everything going well for you? [15:48] Good. Bye! [17:00] balloons, you around? [17:11] yes [17:15] balloons, in step one of most testcases the testcase states the application should be launched via the dash, but almost all the autopilot test cases launch the application separately?? [17:17] ade you mean the manual tests? [17:17] yes, obviously if your converting a manual test, you should launch it via command line [17:18] err, lol, launch it via the autopilot framework [17:18] plus we don't want things to be unity specific per say [17:23] balloons, sorry got disconnected...again! [17:23] balloons, I know anything but unity needs to be launched from within the framework but thats definitely an issue there [17:24] balloons, do you see where I'm coming from? [17:26] ade, I'm a bit confused by what you mean [17:26] there are unity tests already.. so for instance, if I'm writing a gedit test, I'm concerned with how gedit works, not with the launcher [17:27] balloons, right ok, so we're not concerned with testing to see if the application can be launched via the dash, only with it's functionality afterwards? [17:28] right, exactly [17:28] and for that reason, we can run the tests on xubuntu, lubuntu, ubuntu , etc [17:28] so that's nice too [17:28] balloons, righty no problem :o) [17:51] balloons, Where is all the documentation for the autopilot API?? The (very brief) tutorial is there but not a lot more??? [17:51] there is docs, umm the link is in the blog post [17:51] let me grab it [17:52] balloons, Yes I have it already, but click on the 'API Documentation' and it appears to be empty [17:52] http://unity.ubuntu.com/autopilot/ [17:53] weird.. [17:53] balloons, I presume everything was there previously ,right? [17:54] balloons, I haven't viewed it before so i've no idea if it's just down today or something or it's actually incomplete [17:55] tutorial [17:55] http://unity.ubuntu.com/autopilot/tutorial/tutorial.html [17:55] that has stuff in it [17:57] the other stuff is weird [17:57] they pushed out some light docs in there.. I've been bugging the team to get more info in there [17:57] balloons, will see what I can do but it's going to be very difficult to fully complete test cases without IDE hints or API documentation :o) [17:57] in the meantime, you can read the class functions themselves.. but yes I agree [17:58] up until a month ago, everything was unity centric, so now docs with a more generic viewpoint at much needed [18:00] balloons, absolutely. Guess it was designed for unity after all, it will be ok, just might slow things up that's all [18:00] yes, I know.. but do feel free to ask questions [18:00] the autopilot team also haunts this channel :-) [18:00] I still ask them things, trust me :-) [18:01] balloons, :o) [18:01] and if you check out our bzr branch, you can see what we've done so far [18:01] it helps [18:02] balloons, Yes I have been viewing the other testcases to try and elicit some information but it seems at the moment unless an applications function has a keyboard shortcut then that test method just has a big fat #TODO in it lol [18:03] lol [18:04] I believe my first introspection stuff is in gedit [18:04] I think it's checked it [18:04] *in [18:04] in short, launch an app like this: [18:04] autopilot launch gedit [18:04] then run [18:04] autopilot vis [18:04] this will launch the app, and then launch the visualization tool [18:05] you'll see the dbus session for the application you launched if you select the 'root' connection [18:05] balloons, I was literally JUST reading that as you said it :o) [18:05] now, it's annoying because gtk apps spawn SO much nodes [18:05] for no apparent reason.. I asked them to implement a search in the vis tool [18:06] balloons, that going to be really helpful for point and click, just need to work out how to test the application correctly for assertions now [18:06] anyways, once you find the property you want, it's not too hard to check and assert for it [18:07] however, the final piece of the puzzle is going to come by doing pixel reading [18:07] balloons, That's definitely the way forward. Pixel reading... that sounds like a nightmare [18:08] there's a sikuli like tool called xpressor that we can use as stop gap [18:08] lol, introsection is better, but if nothing else will work [18:08] you can fallback to it [18:09] basically between the too, shouldn't be anything you can't automate [18:09] Ok I will figure out this first and then research xpressor :o) [18:10] we haven't messed with it yet.. since again, we'd like to avoid pixel reading [18:11] Ok, will crack on and hopefully come back to you with a working testcase [18:12] fire questions if you have them [18:12] balloons, will do :o) [18:15] balloons, How do you enable autopilot support in an application? when I 'autopilot launch gedit' I get an error stating no logger could be found?? [18:16] i believe you can ignore that for the moment [18:16] it should still work [18:16] thomi literally just added support [18:16] so if you do see anything like that, we can report it as a bug [18:17] the old way is to just export the module before launching [18:17] balloons, gedit will then launch and when all has settled down I type 'autopilot vis' but the drop down is empty and it states 'waiting for a DBus connection..' [18:17] autopilot launch is supposed to to thsat for you [18:18] let me see [18:18] GTK_MODULES=autopilot-gtk:$GTK_MODULES gedit [18:19] that's the manual method [18:20] so if autopilot launch isn't working, do it that way [18:22] balloons, http://paste.ubuntu.com/1549760/ [18:23] ugh [18:23] that's a problem [18:23] you running the autopilot ppa? [18:23] raring? [18:24] just tried again.. it does work for me here [18:24] hmm [18:24] 12.10 LTS and just checking now to see where I got autopilot from, I am sure it's the ppa [18:24] GTK_MODULES=autopilot-gtk:$GTK_MODULES gedit [18:24] try launching it that way [18:24] in the meantime [18:25] all autopilot launch was intended to do was to make it easier.. so you don't have to manually load the module [18:25] so I ran GTK_MODULES=autopilot-gtk:$GTK_MODULES gedit and then autopilot vis and got a connection that way as well [18:26] balloons, Yes, ppa:autopilot/ppa repository by the way. [18:26] ok good, that's correct === ayrton is now known as ayr_ton [18:26] does manually loading the module work for you? [18:26] I've got to run in a sec [18:29] balloons, I just type that in terminal right?? I got failed to load module "autopilot-gtk" [18:30] balloons, Either way it's not having any of it, this is pretty fustrating [18:38] ohh [18:39] if it doesn't find it, you might not have the module installed [18:39] install libautopilot-gtk0 [18:40] and perhaps libautopilot-gtk-dev as well [18:40] that might be needed for the manual way [18:40] ade, sorry your having troubles.. [18:44] balloons, ok will give that a try.. [19:13] phillw, I have made a basic wiki page for my testdrive session [19:16] balloons, I am getting the same in a vm of raring, tried manually and also got exactly the same error. [19:36] wow.. well ade, I guess no introspection for you.. even after installing the packages eh? [19:38] balloons, doesn't look like it today I am disappointed to say. Can I double check how you install those packages... sudo apt-get install libautopilot-gtk0 ...is that correct?? [20:15] good evening. has any of you already reported the xdiagnose installation failure? [20:20] ah nevermind. i found it