Questions tagged [sencha-test]
Sencha Test is a framework for unit and end-to-end testing of Ext JS apps.
19
questions
0
votes
0
answers
18
views
Sencha test issue with locators and click
I am trying to click save & close button I am multiple locator with that name, So, I made a xpath with click(), still not working. I also put x and y coordinate but still it is not working. How to ...
0
votes
0
answers
15
views
Getting the value of cell in row via expect
I need value of booking_no in the column, also if we have multiple rows what is the best way to find a value we want.
ST.grid('pltx-gridBuilder')
.rowAt(0)
.cellAt(1)
....
0
votes
0
answers
27
views
I am making a test with sencha studio but it is breaking half way. How to fix it?
I am making a test case in sencha studio with recording, but when I am running the test it breaks also tried put in multiple blocks but the same issue persist also getting error 'uncaught FormBuilder:...
0
votes
0
answers
27
views
How are functions with promised returns and passed values correctly executed in sequence? [duplicate]
The code is part of a script for automated testing with the sencha test software which is based on selenium and jasmine and while the goal should be straight forward enough it proved to be quite ...
0
votes
0
answers
33
views
Sencha WebtestIt - browser launch url 'data:,'?
I have setup a simple test using Sencha Webtestit. When I run the test, it launches a browser but the url is always - 'data:,' which is not what I put in the test. No matter what I do, the result is ...
1
vote
1
answer
356
views
How can we get selectOnFocus: true functionality in Ext JS 6.6 Modern toolkit?
Ext JS 6.6
Classic toolkit, a textfield has selectOnFocus: true/false so the data in the text field is all selected when the component obtains focus
items: [{
xtype: 'textfield',
selectOnFocus: ...
0
votes
1
answer
70
views
Extract grid's 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) {
record....
0
votes
1
answer
25
views
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: ST.component(...).setValue ...
2
votes
0
answers
50
views
Connection error while trying to run multiple test scenarios via Selenium Grid
I've created a Selenium grid with 5 nodes connected to the hub. Then I tried to run multiple Sencha Test scenarios through the hub. The test run started and after few minutes the tests stopped with ...
-1
votes
1
answer
408
views
how to mock ajax call with sencha test with extjs
I have to veryfiy the response of the ajax call in my sencha test.
plz advise how to do it.. below is my sample code
beforeEach(()=> {
sim = Ext.ux.ajax.SimManager.init({});
controller = ...
0
votes
1
answer
75
views
Passing additional parameters to execute function in Sencha Test
Is there a way to pass additional parameters to an execute function in Sencha Test? In a web driver scenario a closure is not an option. http://docs.sencha.com/sencha_test/2.1.1/api/ST.html#method-...
1
vote
2
answers
906
views
How to select an item from a combobox in Senchat Test
Is there a way to select an item from a combobox without having the actual value of the item ?
Lets say we have a combo with Oranges, Apples and Lemons and the actual value of these items are keys ...
1
vote
1
answer
87
views
Error using hasCls within an expect in Sencha Test
Sencha Test 2.1
Is there a bug regarding the use of hasCls within an expect?
Lets say I have something like:
this.component().gotoButton('[text=See]').gotoComponent('menucheckitem[text=some text]...
1
vote
1
answer
314
views
How to check a checkmenuitem in Sencha Test
Using Sencha Test 2.1
So I'm trying to check a checkboxmenuitem which is an item in a button menu.
I can reference it but the method check is not availble for it:
component.gotoButton('[text=See]')...
0
votes
1
answer
111
views
Reference a combobox within a grid with a cell editing plugin in Sencha Test (without global search)
Given there is a Grid using a cell editing plugin is there a way to reference a combobox editor without doing it in a global way ?
I have this working:
this.grid().rowAt(0).cellAt(0).click(); /...
1
vote
1
answer
135
views
Reference a combobox within a grid row using Sencha Test
Reference a combobox within a grid row using Sencha Test.
Given something like:
{
text: "Select one",
width: 110,
editor: {
field: {
...
0
votes
1
answer
337
views
Double click a row in Sencha Test
How to double click a grid row using Sencha Test Framework ?
So far I'm able to reference the row and execute a click but I don't see a way to perform a double click (doing a click 2 times doesn't ...
0
votes
2
answers
176
views
Sencha Test validate content of MessageBox
Does someone know how can you validate the text within a Messagebox using Sencha Test 2.1 ?
I'm successful in retrieving the actual messagebox like this:
ST.panel('messagebox').visible();
So I ...
1
vote
1
answer
224
views
Running all test scenarios with Sencha Test CLI
With Sencha Test I created some test scenarios and asking myself, whether it is possible to run several test scenarios via CLI on Windows command. I know that I can run a specific scenario with stc ...