Search:

Type: Posts; User: daniel.gallo

Page 1 of 15 1 2 3 4

Search: Search took 0.03 seconds.

  1. Interesting! I don't believe we've specifically...

    Interesting! I don't believe we've specifically tested multiple keys like in the example code you posted, but that works for me too. Glad you've found a solution!
  2. Please try this instead: ST.play([ {...

    Please try this instead:


    ST.play([
    { type: 'keydown', target: '//body', key: 'Shift' }
    ]);

    ST.element('//body')
    .type({
    key: 'Tab'
  3. Please try the following example. As this...

    Please try the following example. As this involves special key combinations, "ST.play" needs to be used, defining each of the keydown and keyup events:


    // WebDriver scenario
    // URL:...
  4. Replies
    4
    Views
    257

    The two links I see for Jasmine on that page both...

    The two links I see for Jasmine on that page both point to the 2.4 docs (2.4.1), not 2.0. Are you seeing the older 2.0 link on a different docs page?



    This would be something that our dev team...
  5. Replies
    3
    Views
    141

    Please try the following: ...

    Please try the following:


    ST.element('//body')
    .type({
    key: 'F5'
    });
  6. Replies
    4
    Views
    257

    Sencha Test uses Jasmine 2.4.1, so the links in...

    Sencha Test uses Jasmine 2.4.1, so the links in the documentation are correct.
  7. Replies
    1
    Views
    146

    As the ST Future APIs are queued up and executed...

    As the ST Future APIs are queued up and executed when the components/elements are ready, any exceptions can't be caught in a traditional try-catch situation like you demonstrated above, as the...
  8. Replies
    3
    Views
    175

    The "get" method allows you to specify a list of...

    The "get" method allows you to specify a list of comma-separated properties/configs that you want to retrieve from the Ext JS component or its underlying DOM element. See this part of the...
  9. Later versions may work with Test 2.3, but this...

    Later versions may work with Test 2.3, but this would need to be tested. We'll review the supported versions of Node.js as part of future updates.

    Thanks for reporting the issue with the...
  10. Sencha Test 2.3 adds support for newer Node.js...

    Sencha Test 2.3 adds support for newer Node.js versions. I believe versions 8 and 10 were used in testing.
  11. Replies
    3
    Views
    175

    If you are looking to debug the text content of...

    If you are looking to debug the text content of the cell, you can use the "get" method to get the "textContent" or "innerHTML" (depending on which you want to work with) then use an "and" right after...
  12. Replies
    2
    Views
    144

    Try calling "notify" on the View Model after...

    Try calling "notify" on the View Model after setting "activeRecord", for example:


    // In-Browser scenario URL:...
  13. You can use the "fail" method in Jasmine to mark...

    You can use the "fail" method in Jasmine to mark a test as failed, and provide a custom error message:



    it('should fail', function() {
    fail('Here is my custom error');
    });


    Also, I...
  14. Replies
    2
    Views
    133

    When a test is executed, it is first parsed and...

    When a test is executed, it is first parsed and all of the Future APIs are queued up, so the "rowIndex" will be undefined at the point when all of the actions are added to the queue. In order to...
  15. Replies
    4
    Views
    845

    For the page object itself, you would need to set...

    For the page object itself, you would need to set the timeout separately before referencing the page object. You can reset it back to the default (5 seconds) after.



    ST.options.timeout =...
  16. Replies
    1
    Views
    127

    Hi Mark, It looks like we have this as an open...

    Hi Mark,

    It looks like we have this as an open issue in our system (EXTJS-26818), and there is an override that can be used in the meantime to workaround the problem:


    ...
  17. You can use the row's "grid()" method to return...

    You can use the row's "grid()" method to return to the grid, so "execute" then has a reference to the grid, rather than the row:


    ST.grid('cell-editing')
    .and(function(future) {
    ...
  18. Happy to help! Does your grid always contain...

    Happy to help!

    Does your grid always contain at least one record? I'm guessing it would, based on the fact you're trying to reference a specific row within the test. So you could add a...
  19. In the example code I sent, the "grid" argument...

    In the example code I sent, the "grid" argument that's provided within the "execute" function is based on the previous component that was selected with "ST.grid". I'm not too sure why that would...
  20. Hi Jill, After testing this out, I also see...

    Hi Jill,

    After testing this out, I also see the same issue when run against an empty Modern grid. I will log this as an issue.

    For now, an alternative approach is to do something like the...
  21. The APIs in Sencha Test don't currently allow for...

    The APIs in Sencha Test don't currently allow for filtering or locating rows by more than one property and value. Instead, you would need to use the Ext JS Store's "findBy" method, wrapped inside of...
  22. That syntax is fine, as this is essentially...

    That syntax is fine, as this is essentially saying you expect the row at index 0 to timeout (not be found). What version of Sencha Test are you using? And is this a Classic or Modern Ext JS app? ...
  23. Replies
    1
    Views
    258

    There are some known issues with the Event...

    There are some known issues with the Event Recorder in Sencha Test 2.3.0 on Windows. If you need to use this feature, I'd recommend switching to version 2.2.1 for now.
  24. Replies
    3
    Views
    187

    Correct - I mostly use Mac, so the path separator...

    Correct - I mostly use Mac, so the path separator on that OS uses forward slashes. Windows uses backslashes.

    Thanks.
  25. Replies
    3
    Views
    187

    Using relative paths will give you a path that's...

    Using relative paths will give you a path that's relative to the Sencha Test executable path, rather than the test project itself.

    In order to generate a path relative to the test project, you...
Results 1 to 25 of 361
Page 1 of 15 1 2 3 4