Search:

Type: Posts; User: daniel.gallo

Page 1 of 16 1 2 3 4

Search: Search took 14.73 seconds.

  1. Please try the following: ...

    Please try the following:


    ST.element('panel[title="About"]:visible => h3')
    .text('Welcome to the Catalog');
  2. Replies
    4
    Views
    131

    "nth-child" in a Component Query allows you to...

    "nth-child" in a Component Query allows you to distinguish between the multiple component matches. From the documentation:

    nth-child Filters Components by ordinal position in the selection.

    So...
  3. Replies
    2
    Views
    82

    Which version of Ext JS is the app using, and...

    Which version of Ext JS is the app using, and which toolkit (Classic or Modern), and type of grid (grouped grid, locked grid, any other features enabled, etc)?
  4. Correct - starting a new STC Server process on a...

    Correct - starting a new STC Server process on a different port will allow multiple instances.
  5. Replies
    4
    Views
    131

    You can use "nth-child" in the locator to...

    You can use "nth-child" in the locator to reference a specific instance of a component when there are multiple matches:


    ST.button('button[text="Small"]:nth-child(2)')
    .click();
  6. Replies
    5
    Views
    187

    The Event Recorder is designed to record against...

    The Event Recorder is designed to record against the original browser window, rather than new windows/tabs, so you would need to navigate the current tab to the page you need to record in order to...
  7. Replies
    5
    Views
    187

    Where exactly have you placed the "ST.navigate"...

    Where exactly have you placed the "ST.navigate" code? Have you tried placing it in a separate test, to make sure it's executed after the alert has been dismissed?
  8. Replies
    5
    Views
    187

    If it's a browser alert, you can try the...

    If it's a browser alert, you can try the following in a WebDriver scenario in order to check the alert text, and also accept (close) the alert:


    it('should click a button and check alert box',...
  9. Replies
    11
    Views
    423

    Perhaps the combobox isn't fully visible on...

    Perhaps the combobox isn't fully visible on smaller screens? If you need to make the browser window larger during a WebDriver test run, you can resize it like this:


    ST.setViewportSize(1440,...
  10. Replies
    2
    Views
    140

    The following examples should help demonstrate...

    The following examples should help demonstrate getting the row count, column count, getting a column's title, and getting the record object from a row:


    describe('Grid', function() {
    ...
  11. If it's an Ext JS field you will need to use the...

    If it's an Ext JS field you will need to use the "ST.field" API, which has a "setValue" method. This method isn't available on the more generic "ST.component".


    ST.field('myfield')
    ...
  12. Replies
    11
    Views
    423

    So part of the issue here is that the combo tree...

    So part of the issue here is that the combo tree implementation in your app is using an unconventional custom method to filter the tree data by just directly showing and hiding the DOM nodes in the...
  13. Normally new windows open as separate tabs in the...

    Normally new windows open as separate tabs in the WebDriver-launched browser. It is possible to switch browser tabs within a test suite - please check out this example.

    When testing a GXT page,...
  14. Replies
    11
    Views
    423

    What you had originally (below) should work, I...

    What you had originally (below) should work, I just mis-read your screenshot.


    .rowWith("reportId", "fclrates3")

    Are you able to share a running example of your combobox component, either as a...
  15. Replies
    11
    Views
    423

    Actually, I misread the first screenshot - please...

    Actually, I misread the first screenshot - please ignore my previous reply.

    What I suggested originally should work based on what I'm seeing in the screenshot. However, when the combobox is...
  16. Replies
    11
    Views
    423

    It appears to be locating the treepanel with the...

    It appears to be locating the treepanel with the grid API, but the "rowWith" API requires a complete text match, rather than partial text match, so try again with this:

    ...
  17. Replies
    11
    Views
    423

    Unfortunately it doesn't look like the screenshot...

    Unfortunately it doesn't look like the screenshot attachments came across properly - I can't view them.

    You could try using the "ST.grid" API with the tree grid, and it's probably a "treepanel"...
  18. Thanks for the report. We have this logged as an...

    Thanks for the report. We have this logged as an issue already for Sencha Test 2.3 (issue id: ORION-2584), and hope to address it in an upcoming release.
  19. Replies
    5
    Views
    321

    This works for me on Mac with latest Firefox...

    This works for me on Mac with latest Firefox (version 72), latest geckodriver, and Selenium Server 3.141.59 and 3.9.1. Please verify you're using the latest Firefox and geckodriver.
  20. Replies
    5
    Views
    321

    Please try the following example: //...

    Please try the following example:


    // Scenario URL: https://docs.sencha.com/extjs/4.2.2/extjs-build/examples/build/KitchenSink/ext-theme-neptune/#register-form

    describe('Combobox', function()...
  21. Replies
    4
    Views
    290

    Yes, Ext JS grids render each row as its own...

    Yes, Ext JS grids render each row as its own table, but don't worry so much about how the grid is rendered to the DOM, the Sencha Test Future APIs help you to interact with the Ext JS component layer...
  22. Replies
    4
    Views
    290

    The rowWith API...

    The rowWith API can be used for locating a grid row by text value.

    For example:


    ST.grid('#mygrid')
    .rowWith('company', 'Sencha')
    .click();
  23. 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!
  24. Please try this instead: ST.play([ {...

    Please try this instead:


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

    ST.element('//body')
    .type({
    key: 'Tab'
  25. 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:...
Results 1 to 25 of 383
Page 1 of 16 1 2 3 4