Results 1 to 2 of 2

Thread: Uncaught TypeError: l.runner.launchLocalBrowser is not a function

  1. #1
    Sencha User
    Join Date
    Sep 2017
    Posts
    9
    Vote Rating
    0
      0  

    Default Uncaught TypeError: l.runner.launchLocalBrowser is not a function

    I'm trying to run my tests on a non-local browser, but I'm having some difficulties. I was following these steps https://docs.sencha.com/sencha_test/...st_runner.html

    First thing I notice is for some reason my Sencha Test only shows Embedded browser as an option (?) - see print attached. Have I done something wrong with Sencha Test install or why would this be happening?

    Second, on an iPad, I typed the IP address and it shows 'Sencha Test Session' ok, but if I select this browser and try to run the test I get the errors:
    Uncaught TypeError: l.runner.launchLocalBrowser is not a function

    Uncaught TypeError: Cannot read property 'browser' of undefined



    Which can also be seeing in the print.

    Thanks for the attention!

    Sencha.jpg

  2. #2
    Sencha - Support Team joel.watson's Avatar
    Join Date
    Nov 2014
    Posts
    3,120
    Answers
    443
    Vote Rating
    184
      0  

    Default

    Hi--

    You are using a WebDriver-based scenario, which means that in order to run against target browsers, you will need to create a selenium server farm that is configured with the appropriate drivers for the browsers that you'd like test against. For In-Browser scenarios, the approach you're using should work just fine.

    Thanks
    Joel

Similar Threads

  1. [FIXED] Uncaught TypeError: cfg.getAllowOnViewController is not a function
    By dnoizet in forum Sencha Architect 3.x: Bugs
    Replies: 3
    Last Post: 15 Mar 2016, 12:17 PM
  2. Replies: 2
    Last Post: 12 Jan 2016, 3:23 AM
  3. Uncaught TypeError: undefined is not a function (anonymous function)
    By yogeshpatel@cdnsol.com in forum Ext 5: Q&A
    Replies: 7
    Last Post: 25 Jun 2014, 6:31 AM
  4. Uncaught TypeError: undefined is not a function (anonymous function)
    By yogeshpatel@cdnsol.com in forum Sencha Touch 2.x: Q&A
    Replies: 6
    Last Post: 25 Jun 2014, 6:27 AM
  5. Uncaught TypeError: undefined is not a function
    By goldenman-07 in forum Sencha Touch 2.x: Q&A
    Replies: 1
    Last Post: 15 May 2014, 7:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •