Builder Se2 Experimental Support

121 views
Skip to first unread message

Adam Christian

unread,
May 13, 2011, 7:23:41 PM5/13/11
to se-bu...@googlegroups.com
Hey everyone,

At this point I feel like its time to get some QA on the builder -> se2 stuff, I am attaching an experimental XPI.

Any feedback would be great!

Adam

builder-0.5.4-exp.xpi
Screen shot 2011-05-13 at 4.21.03 PM.png

Stewart

unread,
Jun 26, 2012, 2:26:40 PM6/26/12
to se-bu...@googlegroups.com
Adam,

I grabbed this Selenium Builder-0.5.4-exp.xpi tool last year I'm sure there's a more current version, can you help me get a hold of it.

Adam Christian

unread,
Jun 26, 2012, 3:04:28 PM6/26/12
to se-bu...@googlegroups.com
Greetings,

Anyone can get the latest cut of Se-Builder on the github downloads page: https://github.com/admc/se-builder/downloads

Adam

Samyem Tuladhar

unread,
Dec 18, 2012, 11:40:28 AM12/18/12
to se-bu...@googlegroups.com
Works fine so far. I am trying to now figure out a way to somehow launch the se-builder editor with the JSON test file. It'd be helpful if there was a command line way to load the se-builder and load the test file - or maybe I am not aware if it already can do this. 

Zarkonnen

unread,
Dec 20, 2012, 3:39:10 PM12/20/12
to se-bu...@googlegroups.com
Hi Samyem,

This isn't a feature at the moment, but it would be quite neat. It would basically involve launching Firefox with a command-line parameter for the test file path that can then be read in from the Builder code, probably using https://developer.mozilla.org/en-US/docs/Chrome/Command_Line . I encourage you to fork the code and give it a go, or to raise a feature request issue at: https://github.com/sebuilder/se-builder/issues?state=open .

- David

PS Note that the newest release version of Builder is now sourcable from http://sebuilder.com .

Samyem Tuladhar

unread,
Dec 20, 2012, 4:04:19 PM12/20/12
to se-bu...@googlegroups.com
Hi David,

Well the way I am actually using, I have this little test management suite in Java that manages the selenium tests. I am trying to have a way to load the tests by clicking a button on the application and launch the se-builder with the test. It is mostly working by loading firefox through webdriver itself and simulating the se-builder launch like this:


            File builderXpi = new File("selenium-builder-latest.xpi");
            FirefoxProfile profile = new FirefoxProfile();
            profile.addExtension(builderXpi);

            FirefoxDriver driver = new FirefoxDriver(profile);
            driver.findElement(By.tagName("body")).sendKeys(Keys.chord(Keys.CONTROL, Keys.ALT, "b"));

           driver.executeScript("builder.io.loadUnknownFile(false,\"" + absolutePath + "\")");


That's all working as expected and it brings up the test file and all. It can record the steps and save back to the JSON file as well. But when running the test locally via se-builder, it gives an error saying "Session not found: [object Object]" error in the first "get" step. I tried to go into the source to debug and I could not quite make if this is an issue with se-builder or webdriver. It appears to be looking for a window with title with the timestamp, but not able to find it somehow. That's where I got stuck -- let's see if i can get this figured out. 

Zarkonnen

unread,
Dec 20, 2012, 4:09:06 PM12/20/12
to se-bu...@googlegroups.com
You may be in luck in that a "Session not found: [object Object]" bug has been fixed in the next version Builder, which is due soon. (The issue there was that Webdriver uses the wrong callback for error reporting in some cases, which caused the session ID to be set to the error message, with... interesting consequences.)

- David
Reply all
Reply to author
Forward
0 new messages