Search:

Type: Posts; User: daniel.gallo

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. If your test suite contains valid code and it has...

    If your test suite contains valid code and it has a ".js" file extension, the "Show Tree View" button should become visible on the toolbar, allowing you to switch to the Code tree view:

    58218
  2. In Sencha Test, a scenario is executed one at a...

    In Sencha Test, a scenario is executed one at a time (either via the UI, or via the command line). If you are looking to run multiple scenarios / multiple projects through one process, you may want...
  3. Replies
    3
    Views
    1,127

    See if the following link helps with your...

    See if the following link helps with your configuration of your Docker container: https://www.sencha.com/blog/sencha-qa-summary-january-2019-edition/ (scroll down to the "Docker" example).
  4. Replies
    2
    Views
    49

    The "disabled" API can check if the menu item is...

    The "disabled" API can check if the menu item is disabled (grayed out):


    ST.component('menuitem[iconCls="x-fa fa-file-o"]').disabled();
  5. Please take a look at the following example: ...

    Please take a look at the following example:


    describe('File Upload', function() {
    it('should select a file to upload', function() {
    // Find file upload field's HTML element (the...
  6. Are you asking how you can reference files within...

    Are you asking how you can reference files within your test suites, and read data from them? Or are you asking how to add/select a file to populate a file upload field within your web app?
  7. Please try the following: describe('Get...

    Please try the following:


    describe('Get field value', function() {
    it('should set the field value', function() {
    ST.textField('[name="user"]')
    .type('Dan');
    });
    ...
  8. One possible option would be to split your tests...

    One possible option would be to split your tests up in to different Scenarios in Sencha Test - a different scenario for a different user level.

    Each scenario can either store tests in its own...
  9. Thanks for your question. Cypress isn't a...

    Thanks for your question.

    Cypress isn't a replacement for Sencha Test - rather it shows an alternative approach to testing an Ext JS application. Requirements and use cases can vary between...
  10. Replies
    2
    Views
    306

    Please try the following: ...

    Please try the following:


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

    "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...
  12. Replies
    2
    Views
    474

    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)?
  13. Correct - starting a new STC Server process on a...

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

    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();
  15. Replies
    5
    Views
    349

    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...
  16. Replies
    5
    Views
    349

    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?
  17. Replies
    5
    Views
    349

    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',...
  18. Replies
    11
    Views
    722

    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,...
  19. Replies
    2
    Views
    286

    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() {
    ...
  20. 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')
    ...
  21. Replies
    11
    Views
    722

    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...
  22. 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,...
  23. Replies
    11
    Views
    722

    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...
  24. Replies
    11
    Views
    722

    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...
  25. Replies
    11
    Views
    722

    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:

    ...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4