Results 1 to 4 of 4

Thread: Chaining Search for dom elements does not work

  1. #1
    Sencha User
    Join Date
    Apr 2017
    Posts
    11
    Vote Rating
    0
      0  

    Default Chaining Search for dom elements does not work

    When I do ST.component('componentLocatorxType').element('>>input') I receive the 1st input on page and not an input that is child of the component I am chaining.

    But I expect to get the child input dom element of the component I am chaining.

    How I can get a child dom element of a component?

  2. #2
    Sencha User joel.watson's Avatar
    Join Date
    Nov 2014
    Posts
    3,120
    Vote Rating
    185
      0  

    Default

    Quote Originally Posted by sergiu.popescu View Post
    When I do ST.component('componentLocatorxType').element('>>input') I receive the 1st input on page and not an input that is child of the component I am chaining.

    But I expect to get the child input dom element of the component I am chaining.

    How I can get a child dom element of a component?
    Hi--

    Have you tried the down() method?

    http://docs.sencha.com/sencha_test/2...ml#method-down

    Thanks
    Joel

  3. #3
    Sencha User
    Join Date
    Apr 2017
    Posts
    11
    Vote Rating
    0
      0  

    Default

    Hello Joel,

    Tried and works.

    Thx

  4. #4
    Sencha User joel.watson's Avatar
    Join Date
    Nov 2014
    Posts
    3,120
    Vote Rating
    185
      0  

    Default

    Quote Originally Posted by sergiu.popescu View Post
    Hello Joel,

    Tried and works.

    Thx
    Awesome, glad it was helpful!
    Thanks
    Joel

Similar Threads

  1. Forum Search does not work
    By fdp in forum Ext: Discussion
    Replies: 2
    Last Post: 3 Mar 2014, 1:15 PM
  2. Replies: 2
    Last Post: 25 Sep 2013, 5:27 AM
  3. Replies: 1
    Last Post: 5 Dec 2011, 1:18 PM
  4. Best way to inspect the DOM and search for Ext Elements?
    By Achim74 in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 13 Jul 2010, 3:17 AM
  5. Replies: 2
    Last Post: 11 Apr 2009, 5:54 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
  •