Search:

Type: Posts; User: freightgateone

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Replies
    11
    Views
    2,267

    Fabulous, that's it!

    Fabulous, that's it!
  2. Replies
    2
    Views
    1,067

    Excellent, thanks! While your answer probably...

    Excellent, thanks!
    While your answer probably works most of the time, for me it was necessary to add .rowAt(0, 60000).grid() before the execute(..). function because in my case the grid's entries...
  3. Replies
    11
    Views
    2,267

    This works but has an interesting quirk. If the...

    This works but has an interesting quirk. If the browser that is automatically launched during the test run is not manually maximized to completely fill the screen,
    ST is not able to select the item...
  4. Replies
    2
    Views
    1,067

    Extract grid records into an object

    Say I have a grid and want to extract its records.



    let record = {};
    grid.rowAt(rowIndex)
    .cellAt(cellIndex)
    .focus()
    .get('innerText')
    .and(function (future) {
  5. Method to clear pre-filled data of a ST.future.Component

    Is there a way to clear an input field while using the ST.component("locator"); API?
    Using ST.component("locator").setValue(""); results in the following error:



    TypeError:...
  6. Replies
    11
    Views
    2,267

    Hmm no, sadly this does not work. I've send you a...

    Hmm no, sadly this does not work. I've send you a private message with an example so you can see it yourself
  7. Replies
    11
    Views
    2,267

    The 'General' node expands itself after typing so...

    The 'General' node expands itself after typing so that shouldn't be a problem.

    Also I should probably mention that I somehow need to work with the reportId, which is our internal way of...
  8. Replies
    11
    Views
    2,267

    Sadly your suggestion throws the following error:...

    Sadly your suggestion throws the following error: Timeout waiting for target to be visible for ST.future.Row. Fix the error and try recording again.

    Here are the attachments, hope it works this...
  9. Replies
    11
    Views
    2,267

    Selecting entries from a combotree

    I tried adapting what I've seen in this thread https://www.sencha.com/forum/showthread.php?472443-Clicking-an-item-from-the-combobox-drowpdown and apply it to my use case, but I keep getting errors....
  10. Is there a way to deliberately make a test fail?

    Say I am writing a bit of non-ST code inside a seperate function and may want to make my test fail or continue based on this functions result.

    How would I do this?

    I've seen some stuff in the...
  11. Replies
    1
    Views
    1,565

    Catching ST errors

    Is it possible to catch errors thrown by ST and handle them as I wish to?

    For example catching the error that occurs when a row can not be located due to an invalid rowindex?




    try {
    ...
  12. Replies
    2
    Views
    1,383

    Okay after trying out your suggestions this...

    Okay after trying out your suggestions this seemed to work out:



    it("check the grid for the updated record", function (done) {
    ST.wait(4000)
    .and(function () {
    ...
  13. Replies
    2
    Views
    1,383

    code flow problems with ST

    So I have this piece of code that tests whether a grid gets updated after having made a change to one of its records or not.

    The alert()-method clearly prints out the correct rowIndex and I've...
  14. Replies
    4
    Views
    2,078

    Hey, is this also possible when using page...

    Hey, is this also possible when using page objects? e.g.: stpo.custompage.myElement(10000); ?
  15. Hmm yes, that would work. Although, ...

    Hmm yes, that would work.

    Although,


    .execute(function(grid) {
    would now be


    .execute(function(row) {
  16. Ah, I found the problem! Turns out it wasn't...

    Ah, I found the problem!

    Turns out it wasn't the locators as I previously suspected.

    The grid's records get fetched from a DB and as I invoke the execute function right after navigating to the...
  17. Thanks, the KitchenSink version works...

    Thanks,

    the KitchenSink version works perfectly fine, but transferred to my site I am running into a problem.

    Executing the findby-Method directly in the Browser gives me the desired rowIndex:...
  18. Selecting grid entries with composite key

    Say I have a grid where a row is uniquely identified by a combination of two or more columns (in my case 3); a composite key.

    In this scenario there are 2^3 possible combinations


    ...
  19. Replies
    3
    Views
    2,100

    Thank you so much! A small addition to your...

    Thank you so much!

    A small addition to your solution:
    module.id gets the file location using '\' instead of '/' so the subtstring method has to be altered the following:



    describe('File...
  20. Replies
    3
    Views
    2,100

    relative paths do not work in ST?

    I have written a short test that fetches login credentials from a local file using the fs-module and logs in.



    describe("loginAndNavigate", function() {
    const fs = require('fs');

    //...
  21. Replies
    1
    Views
    1,351

    done causes test to fail

    I have written a short test that fetches login credentials from a local file, logs in and simply accesses a page element.



    describe("loginAndNavigate", function() {
    const fs =...
  22. Replies
    1
    Views
    147

    Layout config for Ext.view.View ?

    Hey there, I am currently following this tutorial from the docs: https://docs.sencha.com/extjs/7.0.0/guides/tutorials/quick_start/What_You_Will_Be_Coding.html

    When it comes to using the dataview...
  23. Replies
    1
    Views
    165

    Guess I'll answer this one myself: The docs...

    Guess I'll answer this one myself:

    The docs describe the neccessary steps for the modern toolkit and mention that API definitions may vary to the classic toolkit. The MessageBox API is on of...
  24. Replies
    1
    Views
    165

    Minor inconsistency in the docs

    Hey there, I am currently learning ExtJS and started working myself through the docs.
    One thing I noticed was that when creating a 'classic application' with these instructions...
  25. How to pass arguments to a event handler?

    Hi,

    Is there a way to pass arguments to a event handler in a controller which I am calling?

    This is the event config from my grid:



    listeners: {
    drop: {
Results 1 to 25 of 70
Page 1 of 3 1 2 3