Search:

Type: Posts; User: daniel.gallo

Page 1 of 14 1 2 3 4

Search: Search took 0.03 seconds.

  1. 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...
  2. 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...
  3. 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...
  4. 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? ...
  5. Replies
    1
    Views
    44

    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.
  6. Replies
    3
    Views
    75

    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.
  7. Replies
    3
    Views
    75

    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...
  8. Replies
    1
    Views
    44

    The purpose of using "done" in Jasmine is to...

    The purpose of using "done" in Jasmine is to force the test suite to wait for an asynchronous action to complete, and only proceed when you tell it to, by calling "done()". For example, this would...
  9. Replies
    3
    Views
    418

    The Summary feature is its own component, and it...

    The Summary feature is its own component, and it renders a table that's docked to the bottom of the grid. So you can use the ST.table API to interact with it. Please try this example:


    //...
  10. 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. If you are on a trial and...
  11. I don't believe this is possible, as the command...

    I don't believe this is possible, as the command line arguments defined as part of the "stc run" command don't make their way down to the nested process that runs the tests. So if you were to...
  12. Replies
    1
    Views
    73

    If you send me an email from the address you used...

    If you send me an email from the address you used to start your trial, I'll see what I can do: [email protected]

    Thanks.
  13. In one of my previous apps, I've cleared out the...

    In one of my previous apps, I've cleared out the test data before the tests run by using a "beforeAll", just in case the tests fail prematurely or encounter an unhandled exception which prevents the...
  14. How about doing a "beforeAll" that deletes any...

    How about doing a "beforeAll" that deletes any test data in the database at the start of a test run - either calling out directly to the database via a SQL query or executing a procedure in the...
  15. When the refresh button is clicked, does that...

    When the refresh button is clicked, does that load data from the backend again? If so, I'm wondering whether that slight delay in loading data is causing an issue - the row and cell API calls will...
  16. I would suggest using the Sencha Test "text" API...

    I would suggest using the Sencha Test "text" API for verifying the text content of cells:


    ST.grid('mygrid')
    .rowAt(1)
    .cellAt(1)
    .text('Your text');

    If the text in the cell...
  17. I haven't used that particular node module...

    I haven't used that particular node module before, but you may need to structure your "beforeAll" like this - by specifying a "done" parameter in the "beforeAll". This will cause the tests to wait...
  18. What is the error when running the tests? Also,...

    What is the error when running the tests? Also, note that "alert" won't work in your code as a WebDriver scenario runs separately from the browser, so "alert" will be undefined, which would also...
  19. Replies
    4
    Views
    305

    I am also unable to connect to a Jira instance. ...

    I am also unable to connect to a Jira instance. An issue has been opened for this (issue id ORION-2580). We will update this thread once we have a solution.
  20. Replies
    3
    Views
    138

    It's most likely a remote combobox then - where...

    It's most likely a remote combobox then - where data isn't loaded in to the underlying Combobox's data store until the trigger is clicked or you start typing text in the field, at which point data is...
  21. Replies
    3
    Views
    138

    What happens exactly, when you call "expand" -...

    What happens exactly, when you call "expand" - does it not show any drop-down?

    Is it a remotely loaded combobox? What happens if you add a short delay before calling "expand"?
  22. You can use the "timedout" API to assert that the...

    You can use the "timedout" API to assert that the previous method causes a timeout:


    ST.comboBox('locator')
    .expand();

    ST.dataView('boundlist:visible')
    ...
  23. You could try bringing the cell in to view using...

    You could try bringing the cell in to view using the "reveal" method, before working with the elements within the cell.


    stpo.contractMaintenance.searchGridElementsGrid()
    ...
  24. Maybe double-check you're referencing the correct...

    Maybe double-check you're referencing the correct cell in the row - the "cellAt" method accepts an index that is zero-based, so the first cell would be "0".
  25. Try this element locator: ...

    Try this element locator:


    .down('[data-qtip="Delete"]')
Results 1 to 25 of 343
Page 1 of 14 1 2 3 4