About

I am Samit Badle. A Software Developer in Scala and Java, Test Automation Toolsmith, Blogger and Hobbyist Programmer in JavaScript, Perl and Ruby. I am one of the contributors of Selenium, maintainer of Selenium IDE and creator of several Selenium IDE plugins.

Follow samitbadle on Twitter

81 Responses to About

  1. Michael Yang says:

    Hi Samit,

    I went to your workshop at SE Conf 2011. I’ve downloaded the Workshop Files. My question is how do you import the project into IntelliJ or Eclipse directly? somehow I can not really see the src folder structure in my IDE. The time for the workshop was short and maybe it went too fast.

    thanks,

    • Samit Badle says:

      Hi,

      When I work on Selenium IDE plugins in Intellij. I simply create a Java project and copy / create the plugin files in the source folder. Sometimes, you may need
      to set the file type association to get the file to display in the editor.

      Hope that helped.

      Cheers,
      Samit

  2. Hello Samit!
    How I can find the source code of Stored Variables Viewer?
    Congratulations for these plugins, they are very useful!

  3. Michael says:

    Hi Samit,
    I am a big follower of your tools since I started using Selenium and have reached a point I could use your insight.

    I have steps involving the WaitForPageToLoad commands. When saved and run within the IDE, everything processes correctly. I moved the steps to a user-extenstion.js file to allow for redundency of the same steps. When the modified test case in IDE calls the function, it looks to skip the “WaitForPageToLoad” steps and proceeds to the next command which errors since the element is not present yet.

    I researched similar problems and ended up coding a solution that loops until the evaluation “IsElementPresent” is True. I included a break point to end the loop if true else it loops for the response time I provided it. This works to a degree in that the screen does not even refresh until after executing the command that follows the loop. It also takes up a significant larger amount of time to process this way ( Minutes my way versus 1 second if run as IDE steps)

    Just looking for some direction on what is causing the “WaitForPageToLoad” to be skipped?

    Thanks

    • Samit Badle says:

      Hi Michael,

      It is always good to hear from followers of my tools. A loop is likely to take most of the processing power away from your web page, leading to the large increase in the time as you have noticed. As a general rule, instead of calling a command like IsElementPresent in a loop, you might want to do a setInterval/setTimeout to check at periodic intervals and yield the processing power to the web page. You might want to take a look at waitForElementPresent command and try to emulate the behaviour. Without knowing the exact details of the problem you are facing it is hard to give more helpful suggestions.

      Cheers,
      Samit

  4. Developer says:

    Hi Samit,

    I plan to leverage Selenium for automation testing of our web application (Ajax/Richfaces)

    I’ve been reading about Selenium RC and Selenium Web Driver and am trying to understand which is more appropriate to use. While the Web Driver is newer, more compact, supports native operations and doesn’t need it’s own server, it is also slower and supports fewer browsers/languages which is an advantage the Selenium RC offers.

    The selenium documentation states that both RC and Web Driver APIS support AJAX testing but Web Driver is specifically designed to address testing of Ajax elements where Selenium RC has some limitations.

    What would you recommend as a better fit? Any inputs would be greatly appreciated.

    Thanks.

    PS – Sorry abt posting the query on this section of your blog. I could not find a ‘contact’ link.

    • Samit Badle says:

      Hi Developer,

      It is always nicer if you use your real name when you ask for such advise. I would usually recommend the WebDriver API as it is newer and cleaner. If I was in your place, I would evaluate a set of factors to determine the best fit. You might want to drop this question on the Selenium user discussion group to hear what more people have to say on the matter.

      Cheers,
      Samit

  5. Christine says:

    Hi Samit,

    I am a newbie with creating Selium IDE extensions and I had a question, how you access your stored variables? I am wanting to extend the plugin to right click on an a page element using command Builder and store the text or extract the text, image, table, etc. kind of like a scraper. Do you know if this is possible?

    Christine

  6. Jason says:

    I figured I would shoot in the dark and try to ask you about an issue I am having converting selenium tests into JUnit tests.

    I keep getting a random error happening on a specific line of code. When I take this line of code and move it higher up in my selenium test it works fine. I am not sure at all why its failing.

    It happens when I run the junit test in eclipse.

    There error I am getting is this:

    com.thoughtworks.selenium.SeleniumException: ERROR: There was an unexpected Alert! [Special characters are not allowed. Only alpha numeric charactor allowed]
    at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:101)
    at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:95)
    at com.thoughtworks.selenium.DefaultSelenium.open(DefaultSelenium.java:343)
    at com.media6.qa.TestCreateMarketer.testCreateMarketer(TestCreateMarketer.java:45)

    The line in question is this

    selenium.click(“name=submit”);selenium.open(“/orbadmin/marketers.mvc?method=getView”);

    If I take this line and put it at the beginning of my selenium/junit test it runs just fine. Makes no sense!!??

    Any feedback you could give would be awesome.

  7. Amateur says:

    Hi Samit,

    In the application that I am testing I need to store a field value, but the value has currency appended to it e.g. 10000INR and whole thing gets stored and I get error when I use it in some mathematical calc

    I want to store a value such that only numeric part is stored i.e. 10000 and then use this later

    would you be able to help me in this please :)

    • Samit Badle says:

      Hi Pandey,

      You can solve this by many ways. One way will be to use a regular expression and the storeEval command.

      Cheers,
      Samit

  8. Preeti says:

    Hello Samit ,

    I have windows XP machine . I am trying to install Selenium IDE 1.0.2 and I am using Firefox 3.6 , but I get a message ‘This firefox is not compatible’ . I tried using Firefox 4 also , but no luck .
    Can you suggest any other alternative to install Selenium ?

    Regards ,
    Preeti

  9. Linda Li says:

    Hi Samit,

    I am trying to use Test Suite Batch Converter to automatically convert all my Selenium IDE tests to JUnit4/WebDriver.
    I am using FF.8.0.1, Selenium IDE 1.4.1, and Test Suite Batch Converter 1.9

    Unfortunately, the following happens:
    1) After selecting “Batch convert test cases…JUnit4 (WebDriver)”,
    2) Selecting the destination folder
    3) Selecting the test cases to convert
    4) I receive the following message “Warning: Unresponsive script
    Script: chrome://sidebatchconverter/content/logic/batchconverter.js:186” with the option to Continue or Stop Script.
    5) I click Continue and then receive the message “[JavaScript Application]
    error: Error opening input stream (invalid filename?)”
    6) The final result is that I see java files in my destination folder, but they are all empty (file size 0)

    What did I miss? I have tried uninstalling/reinstalling the add-on, but it does not resolve the problem.
    I cannot think of any reason why my destination folder name or my source files would have an invalid filename.

    Any hints/help would be appreciated.

    • Samit Badle says:

      Hi Linda,

      This is interesting. I will be happy to help you out. It seems that for some reason, the plugin is not able to open the test case to convert. My first guess would be an filename related issue. Can you provide me with a name of a test case? Does it include any non-english characters?

      Cheers,
      Samit

  10. JonB says:

    Hi Samit

    Just discovered your IDE plugins, you’ve made my use of Selenium IDE much easier – many thanks!

    I’ve been looking for a way of opening test suites and cases from a hosted html file, so rather than open a local one, I would just point the IDE to http://www.domain.com/tests/test-suite.html and it would grab all the tests.

    Something like this would make sharing tests a lot easier. Do you know of any extensions that do this, and if not is it something that you would consider?

    Having a hosted .html file containing the tests would be really useful – for example, the tests suites could be dynamically generated.

    • Samit Badle says:

      Hi Jon,

      Loading a test suite from the web is technically quite simple, especially since Selenium IDE is an add-on for the web browser. The main challenge is in saving the file back to the web. I am sure that people who want opening test suites from the web would also eventually want saving to the web. I believe that there are a several ways in which the file saving to the web and Selenium IDE would need to support more than one. This is probably a lot of work. Hopefully, someday this feature would get into Selenium IDE.

      In the meanwhile, you should be able to use services like dropbox to keep/share a synchronised copy of your test cases. Alternatively you can use a small script using curl or wget to get and save locally the test suite and share it among interested people. Granted, it is not the best solution, but it can be quite painless.

      Cheers,
      Samit

  11. surya says:

    What is the syntax of XPATH,CSS,DOM ?(In Seleniuim)

    Note: i got the Xpath but i am unable to find the CSS & DOM syntax in selenium. can you please explain for CSS & DOM.

    • Samit Badle says:

      Hi Surya,

      Take a look at the documentation for Selenium IDE. The Locating Elements section explains all three very well.

      Cheers,
      Samit

  12. Weilly says:

    Hello Samit,

    After banging my head against the wall for a couple of hours i decided to directly ask you directly about the problem i have (the solutions i found online so far are not working as they are supposed to work).

    I’ve got at app and the content within it is generated dynamically based on a zip code you input.

    The xpaths of the elements i am getting look like that:

    .//*[@id=’some_name_’]/ul/li[1]/div[1]/a/img
    .//*[@id=’some_name_’]/ul/li[2]/div[1]/a/img

    and so on…

    the number of listed elements changes based in the zip code i input and i need to store it.

    For some reason using

    //*[contains(@id, ‘category_highlights_’)]

    always returns 1 as a value instead of the current number of list items?

    Any idea to get around that.

    P.S. Still using Selenium IDE …

    Thanks,
    Weilly

  13. Weilly says:

    got it working :) … please ignore my previous comment and sorry for disturbing you,

    Weilly

    • Samit Badle says:

      Hi Weilly,

      I am always happy to hear from users with genuine issues. I am glad that you found the solution even before I could look into it. I am curious about your solution, would you mind posting some details about it?

      Cheers,
      Samit

  14. Smith Smithy says:

    I cannot get Selenium IDE to export test cases to Java, even when using your Test Suite Batch Converter. I have followed the directions for installing the Java client driver from the Selenium web site, and am able to generate HTML test cases just by clicking through a webpage. Any ideas? When I attempt to export a case, your program indicates that test cases were converted, but all of the .java files are empty. Any information you have is greatly appreciated.
    Thanks,
    Smith Smithy

    • Samit Badle says:

      Hi Smith,

      If you can send me a link to a minimum test case after removing any sensitive information, I can investigate it.

      Cheers,
      Samit

  15. Koj says:

    Hello Samit,

    Thanks for impressive job done so far.
    My case is a bit specific, cause I don’t use Selenium to test my web application but rather to embed an automatic way to fetch pages through a user scenario.
    My application is written is Java.
    My idea is to use WebDriver with a Selenese Html file as input to execute dynamically the commands. That means that I need an “on the fly” exporter, or in other words, a selenese interpreter (adapter). Do you think it is possible? How can I reuse the exporter module to implement it?

    Thank you in advance for your help.

    Jerome

    • Samit Badle says:

      Hi Jerome,

      Interesting approach. Without knowing your exact circumstances, it is hard to say but I think it might be simpler to use a plain csv or data file to supply data required for your Java based WebDriver application. While I have heard that there was a project to have a real interpreter for Selenese, but I have not kept up to date with its progress. It is indeed possible to create an on the fly exporter, but the maintenance may not be worth the effort. If you only intention is to fetch pages, perhaps tools like Wget or Curl might be more suitable.

      Hope this helps.

      Cheers,
      Samit

      • Koj says:

        Thanks for your reply.

        The aim of my application is to test the accessibility level of web pages. For most of the cases, we use a crawler to fetch the pages (heritrix). But we’d like to provide the user a way to test pages after an authentication process or through his own scenario (purchasing process with form validation for example). In this case, the user records his selenese thanks to the plugin installed on his browser and then feeds the application with it.
        As you can see the system doesn’t have an a priori knowledge of the scenario and the interface can only be a selenese.
        My idea was to eventually limit the allowed commands (only clicks, form controls) to avoid a too complex adaptation and reuse a java component that can make the conversion.
        Do you think it is possible?
        Does this java component exists? If not how can I contribute (does this component belongs to Selenium IDE plugins)?

        thanks in advance
        Jerome

        • Samit Badle says:

          Hi Jerome,

          I understand your use case. Selenium Remote Control is what you need, though I have not used it in quite a while. Search for htmlsuite option. It is mentioned on my blog and other places.

          Cheers,
          Samit

  16. enric says:

    I’d like to follow you by rss. Please could you add a rss feed for your blog?

    • Samit Badle says:

      Hi Enric,

      There is a rss feed available that you can use, it should contain at least part of each post.

      Cheers,
      Samit

  17. Sky Nelson says:

    Hi samit,
    I had a question about FileLogging Selenium Firfox Add-on. I need a record of what scripts I have run, so I would like to use this. So far it doesn’t seem to be able to export the test name that is being run, so all I get is varying levels of alert (error, warning, info, debug) without specifying which test the error is in. I would like to know every script that was run, as well as “Passed” or “Error”. Is this something you may be updating in the future? Or something that is already there but I am missing?
    Thanks a bunch!

    • Samit Badle says:

      Hi Nelson,

      Selenium IDE does not send the test case name to the log, hence my plugin cannot write it to the log file. Try out my test results plugin. It might be what you are looking for. Let me know if it helps and I can offer some other suggestions.

      Cheers,
      Samit

  18. Angela says:

    Hey Samit,

    I am wondering if there is any option to call one test from the other. I mean, so i can make my scripts as modules and just call them from another script.Is this a feature that can be accomplished by any already existing plug ins?

    Thanks.

    • Samit Badle says:

      Hi Angela,

      Currently there is no built-in feature to make this happen. I have seen heard that a user extension is available that provide this feature. My opinion is that reaching this stage is a good indication that you are ready to move to a real programming language. Perhaps you should explore this option further. If for some reason, it is not possible, I would suggest you wait a while longer for a new plugin to be released. I have been working on a plugin that will make it easier to create test cases as modules and reuse them. It may not solve your problem entirely, but should help at least a little.

      Cheers,
      Samit

  19. James says:

    Hi Samit,

    I’ve have a couple of questions about extending SeleniumIDE and was wondering if you had any ideas.

    https://groups.google.com/forum/?fromgroups#!topic/selenium-users/377asb7qStY

    Thanks,
    James

    • Samit Badle says:

      Hi James,

      The right place for your questions would have been the Selenium Developers Google group not the Selenium Users one.
      Since you have found the answer to your first question, I will answer the second. You can do anything you like using the user extensions, if you look deep enough. If I understand correctly, you have created an Action command doLoadProject, but you would rather not have this command in a test script, and instead select it from an options dialog? I would suggest you follow the Selenium IDE plugins tutorial. It should help you to create an options dialog for the plugin that you can use. Feel free to drop me a comment if you cannot figure it out.

      Cheers,
      Samit

  20. ras tester says:

    Hi,
    I love your Test Results pligun, I have used Jenkins and this plugin allows getting similar results.
    But can you please incorporate such that even comments and more importantly the result of echo commands are also shown in the results. I am able to get the same in Jenkins reports and it would just be fantastic to get the same in the IDE. This would just make the perfect tool
    This way we can get a very formal and standardized report of the analysis.
    Thanks , again love your tool

  21. Dipti says:

    Hi Samit,

    I am trying to automate the testing of highcharts with Selenium WebDriver in CSharp. I have a problem…I am not able to locate the svg -tspan elements either with firebug or xpath….Do you have any workaround for testing svg elements using the Selenium IDE and then exporting the test cases in C#? Any help will be highly appreciated…

    • Samit Badle says:

      Hi Dipti,

      I doubt you can test these elements using Selenium if they are not found using firebug. I have not tried it myself. Feel free to ask on the Selenium Users Google group.

      Cheers,
      Samit

  22. Patsy says:

    Hello Samit,

    I have added most if not all of your extras for Selenium IDE and am enjoying learning them. One thing I cannot seem to figure out or find info on is if there is a way to clear storedVars between iterations so that there is no chance a value can be reused accidentally. Please advise if you know the answer or if you can point me in a good direction.

    Thank you kindly,
    patz

    • Samit Badle says:

      Hi Patz,

      Currently, the way is to close and open Selenium IDE again. My stored variable viewer should get this some time.

      Cheers,
      Samit

  23. Damon says:

    Hello Samit,

    I was wondering if using WebDriver via Selneium IDE is possible yet as you demonstrated here https://www.youtube.com/watch?v=9EI7AIJlDp8 I know the slides mention this is available in the next release.

    While I’ve done a few WebDriver tests to cross domains we basically just use Selenium IDE.

    Great work – thank you!
    Damon

    • Samit Badle says:

      Hi Damon,

      It will be available in the next release. You should be able to download a nightly build with the WebDriver support in a week or two.

      Cheers,
      Samit

  24. Sathya says:

    Hi,

    I have gone through your site and it is very useful. Any downloadable version of your guide on selenium available?

    Are you taking any online classes or selenium?

    • Samit Badle says:

      Hi Satya,

      There is no downloadable version of the blog. The information is simply not organised in a manner that makes sense for a downloadable version. However, I am authoring a book that contains most of this and much more. Corporate trainings and courses for individuals are held from time to time based on material I have created. I will update my blog with a link when the website is officially up.

      Cheers,
      Samit

  25. Ezequiel says:

    Hi Samit,
    I want to know about the progress on webdriver playback.
    When do you think will launch the new release?
    At least this features?
    Multiple browser windows will be opened and will remain open.
    The timeout settings are ignored.
    User extensions and plugins may not work.
    Regards

  26. Victor says:

    Hello
    I’m trying to automate silver light web base application, I want to use selenium to record and export the code in Junit format. I can’t get selenium FF to record when I launch the application. Any help

    Thanks
    Victor

    • Samit Badle says:

      Hi Victor,

      Currently there are no plans to support silverlight applications using Selenium IDE.

      Cheers,
      Samit

  27. Hi Samit:

    We are heavy user of Selenium Ide. Is there a feature request to implement call to internal (within the same test case) or external (on other test cases) functions or procedure.

    I asked because we end up with a lot of similar codes spread among several test cases, and the possibility of reusing code is interesting.

    Nevertheless we’ve managed to mimic function behavior by the use of store variables, like this:

    store afterMyFunction01 return
    goto function
    label afterMyFunction01
    …. <— more codes
    goto end
    label function
    …. do its work
    goto ${return}
    …. more similar functions

    label end

    Quite useful.

    Federico

    • Samit Badle says:

      Hi Federico,

      Features like these were discussed earlier and ruled out. So I doubt there will be function call implementation in the near future. When the BDD support gets added into Selenium IDE, it should help in reducing some code duplication.

      I have a lot of ideas of how and what we can do, but the existing architecture makes it difficult to implement many of these without a major rewrite.

      Cheers,
      Samit

  28. Suman says:

    Hi Samit,
    I have gone through your site and it is very useful.I am new to Selenium and working on the following requirement :

    We have a java based monitoring tool where we want to playback a recorded selenium test (perl file) and capture performance metrics such as total time taken, first byte time,HTML Time etc. Can you please give some high level ideas on how to achieve this ?

    Regards,
    Suman

    • Samit Badle says:

      Hi Suman,

      Try to watch the videos of Selenium Conference, some of them tackle the topic of performance improvements. The common approach is to use a proxy server to capture the performance data. Another approach is to parse the server logs. No doubt there are many more ways as well.

      Cheers,
      Samit

  29. Samit Badle says:

    Hi Bruce,

    This does not seem to be a Selenium IDE issue. Have you installed the chrome driver? Can it be found by the Selenium Server? Try posting on the Selenium Users Google group to see if someone has a solution. If you do not find one, open an issue here and I will investigate it further.

    Cheers,
    Samit

  30. Samit Badle says:

    Hi Sky Nelson,

    Indeed, the Selenium IDE extension is not unpacked and therefore you cannot put the extension file in the old location. However there was never a need to do so. You can put the user-extension.js file anywhere you like and inform Selenium IDE about it through the options dialog, General tab, Selenium Code extensions field. Hope that helps.

    Cheers,
    Samit

  31. Some part of the previous comment was stripped by WP. Putting the comment again.

    Hello Samit,
    Thanks for making such a beautiful plugin. Making it open source is a cherry on top. Thanks for your efforts.

    I have modified the php-formatter to work in a custom way. While exporting the test case to PHP, I want to prompt the user for PHP Class Name and PHP function name. I am doing it in the way mentioned below. My problem is that, the user prompt for class name and function name pops up just once. While exporting again it doesn’t pop.

    I am assuming that this is happening as options.header executes only once while first time loading and after all function calls are done.

    My Query:
    I want to hook in one function that will set the function name and class name before the Header + commands + footer are concatenated.


    function getPhpClassName() {
    strClassName = prompt("Please enter PHP Class name", 'CExampleTest');
    if( strClassName == "" ) {
    strClassName = 'CExampleTest';
    }
    this.options.php_class_name = strClassName;
    return strClassName;
    }

    function getPhpFunctionName() {
    strFunctionName = prompt("Please enter PHP Function name", 'testhandle');
    if( strFunctionName == "" ) {
    strFunctionName = 'testhandle';
    }
    this.options.php_function_name = strFunctionName;
    return strFunctionName;
    }
    options.header =
    'setBrowser( \'${environment}\' );\n' +
    indents(2) + '${receiver}->setBrowserUrl( \'${baseURL}\' );\n' +
    indents(1) + '}\n' +
    '\n' +
    indents(1) + 'public function ' + getPhpFunctionName() + '() {\n' +
    indents(1) + '';

    options.footer =
    indents(1) + '}\n' +
    '}\n' +
    "?>";

    Thanks

    With regards,
    Shaunak Sontakke

    • Samit Badle says:

      Hi Shaunak,
      My opinion on this is that showing pop ups is generally a bad idea. It would be better to guess the most appropriate name based on the file name and use it. If the user wants to make a change, he/she can always edit the exported file trivially.
      By using a pop up, you prevent the task from being completed without user interaction, thereby limiting flexibility.
      There are ways to execute code every time a test case is exported, but it cannot be done by setting the header. If you really must have a pop up for every test, take a look at the source of my batch exporter plugin. However, I must say that the approach used is very old and will break in the future releases of Selenium IDE as I am refactoring it heavily.
      Cheers,
      Samit

  32. Hi Samit,

    I too enjoy the plugins you have created and appreciate the thought and work you have put behind them. I am very happy that there is someone like yourself, capable (developer) with vision and insight to help keep the IDE alive and growing. I have 15 years of experience in software testing and test management and believe that with plugins/user-extensions, some JavaScripting and ingenuity, the IDE is much more capable than just prototyping tests and is easily more adaptable for the entire testing team to use as an automation tool; not just a select few with an aptitude or experience for programming.

    That being said, I was wondering if you might be able to develop a new plugin (with RC compatible user-extension) that would allow Selenese HTML test case files (or perhaps mini cases with just the and command code, not the rest of the files meta data) to by dynamically included within other test cases. The command structure might be something like: includeTest | ${name of test file}.

    That would allow us (non developers who cannot write the plugins/extensions ourselves) the advantage of using other extensions within the same test file, like loops, ifs, etc and possibly only call in tests if/when needed, or not at all.

    I realize there is an include extension out there, but it doesn’t function remotely like what I have described and seems counter-intuitive in its implementation. I also have some experience with rollops, and love them, but the time coding the roll up, versus simply recording in selenese, is sort of prohibitive. I have also read in several articles on the Internet where others have actually used some old school SSI or maybe JavaScript include, but have never seen a solid example to play around with it and believe it is also not nearly as clean as if you developed a plugin.

    In my opinion, it’s one of the final barriers for testing teams for full fledged comittal to using the IDE and finally being able to write and dynamically call in Object oriented tests for object oriented behavior, considering there are now (and have been in some cases for some time) extensions for basic/intermediate logic (flow control), roll ups, data driven testing, UI mapping, etc.

    I am not a developer, but this can not be that hard of a request. Some form of a simple include command that can call in nothing more than a block of HTML selenese code at runtime. Hopefully you, or someone else that might read this post can help in either writing the code or providing some examples of old school include code that would work with the IDE and RC.

    Crossing my fingers. Thanks for everything you have done so far.

    • Samit Badle says:

      Hi Lyle,

      Yes, I had thought and I have rejected the idea of introducing an include or a function call like semantics into Selenium IDE. There are reasons for that and it would a series of blog posts instead of a comment to explain it all. But do not lose hope. I have been considering two other solutions to these problems. One of them is so radical that Selenium IDE will no longer be Selenium IDE. In short there will be a solution in the future, but currently all my efforts are focused into bring automated test runs at periodic intervals into Selenium IDE itself. I am happy yo that after several months of effort, it is nearing completion and after that I can find some time to look at other features.
      Cheers,
      Samit

  33. Chetan Gupta says:

    Hi Samit,

    Thanks for your blog where you told about how to run test in IE via Selenium IDE.

    I need help from you.
    I am looking for a utility/add-on/method in selenium IDE through which I can record the script independent of browser i.e. recording script in any of the browser (IE, Chrome,Safari etc) and then run the script in same browser.

    Can you please help me getting this. If you can suggest any other tool for the same, that would also be helpful.

    Thanks
    Chetan Gupta

    • Samit Badle says:

      Hi Chetan,

      Try out Selenium Builder. I believe the project promised to deliver something to that effect, but I may be mistaken. Feel free to update me if you find it useful. As far as I know there is no tool that can work consistently in all browsers so far.

      Cheers,
      Samit

  34. Ravi Teja Duggirala says:

    Hi Samit,

    I am working for a Private Company, And we are planning to develope SeleniumIDE for Chrome. Which is a chrome extension.

    We have started developing a Proof of Concept(POC) on the whole idea.
    To start with, I have strated digging into the code and i could hardly understand much of it.
    It would be great if you can provide a well documented version of the code.

    Thanks,
    Ravi Teja D

  35. kub1x says:

    Hey Samit,
    I’d like to have a question about Selenium IDE. As a part of my diploma thesis I’m writing an extension for it. This adds new formatter and commands into the selenium API. But the commands I use don’t fit any of the selenium command types (Actions, Accessors and Assertions) as I need to add them without any AndWait variant or so. Is there any chance to add new command type into Selenium IDE via user extension? I’ve red through the code all the way to CommandHandlerFactory. All I think I have to do is to access the instance of the factory in order to add and replace few methods in it after it’s initialized, but I don’t know if that’s even possible. I was trying to find the xul window which loads all the scripts, but didn’t find any reference to the factory or the selenium-runner that’s using it.

    I’d appreciate any insights on this.
    Thanks in advance,
    Jakub kub1x Podlaha

    • Samit Badle says:

      Hi Jakub,

      Selenium can only handle Actions, Accessors and Assertions. I would recommend using the Action type and ignoring the AndWait commands generated. That would be the fastest way to get your thesis done.

      Cheers,
      Samit

  36. Farooq says:

    Hi Samit,

    I have read almost all of your blogs and regularly follow it. Appreciate your great job. We extensively use selenium in our projects.

    I have one requirement in one of my projects. I would like to write my own custom formatter where I can transform the selenesee commands into other languages like (java/perl etc). I could not able to get any information on how to write this.

    In Adam Goucher blog http://adam.goucher.ca/?p=1352 he informed about Formatters but does not written how we can create custom formatter.

    Can you please help me out in this.

    Thanks,
    Farooq.

    • Samit Badle says:

      Hi Farooq,

      Documentation on this is sparse. You can always look at the source for the existing formatters.

      If you have any particular queries, feel free to ask on the Selenium developers google group.

      Cheers,
      Samit

  37. Tasha says:

    Samit,
    I am looking for the licenses for Highlight Elements 1.22 and Selenium Expert 0.2.5. Could you please send me this licenses for these products?

    Thank you for your time and assistance,
    Tasha

  38. Ash says:

    Hi Samit,

    Most of the installation guidelines talks about downloading the IDE plugin from the website. I am in a tricky situation where I cannot access the internet from my test server. Is there any installation guide available for an offline installation?

    Can you please provide the link or a solution to work around this and get a clean installation?

    Thanks
    Ash

    • Samit Badle says:

      Hi Ash,

      You can download the xpi file from the official download site – http://docs.seleniumhq.org/download/ i.e. right click on the version and choose save as. Then transfer this saved file and open it in Firefox on the test server. You can use the File -> Open File… menu item for this.

      Cheers,
      Samit Badle

  39. Jay J says:

    Hello Samit. I just wanted to thank you for your general involvement in the evolution of Selenium (e.g. Highlighter, etc.). I’m using it for the first time and am immediately seeing value.

    Highest Regards,
    Jay

  40. Donipalli says:

    Hi Samit,

    I am running some tests in selenium IDE, even with Selenium RC. Until Firefox 17 it works fine. Now with Firefox 29 we got the problem mentioned below.

    We are trying to open a file, which is located on local-drive (example: myfile.html).

    Environment is Firefox browser version 29.0 with plugin Selenium -IDE 2.4.0.

    When we use the command “open file:///C:/myfile.html” within Selenium-IDE it gives us an error message “[error] Unexpected Exception: Error: Access to ‘file:///C:/myfile.html’ from script denied.”

    Steps we have already tried:
    Changing “security.fileuri.strict_origin_policy” to FALSE (about:config) doesn’t help no matter is it set to TRUE or even FALSE.

    Can you please help :-(

    • Samit Badle says:

      Hi Donipalli,

      New versions of Firefox will not let you execute javascript if they are loaded using the file: protocol. Nowadays it is very easy to setup a local web server and load the files from there.

      Cheers,
      Samit Badle

  41. Charles says:

    Hey Samit

    Thanks for your work on Selenium-ide.

    I may be a little thick, but having downloaded some of your plugins, specifically the Stored variables and the Selenium expert, they both are clogging up the Log window and in fact seem to occupying space on all of the lower tab windows even when Stored vars and Expert have their own tabs..

    I wonder if you could tell me how to suppress this as the log window ends up with very little space to display the log.

    If you email me, I can send you a screenshot.

    Regards

    • Samit Badle says:

      Hi Charles,

      A change in Firefox brought this issue, but it was fixed a long time back. Have you upgraded to the latest version of Selenium IDE (2.8) and Stored variables plugin (2.0)? Let me know if you are still facing this issue after the upgrade and I will investigate further.

      Cheers,
      Samit

  42. Drew Cobb says:

    Samit,

    I could not find a yes or no answer for this question: Have you (or anyone else that you know of) developed plug ins that would allow users to run Selenium IDE against Chrome and or IE? Thanks for your time.

Leave a Reply to Jay J Cancel reply

Your email address will not be published. Required fields are marked *