Questions tagged [sencha-test]
Sencha Test is a framework for unit and end-to-end testing of Ext JS apps.
16
questions
0
votes
0answers
19 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 ...
0
votes
0answers
66 views
Selenium-Chromedriver and xvfb not working for Integration Tests
I am trying to run some integration tests with Sencha Test, which is basically like a Jasmine test suite in my remote CentOS dev environment. I have installed xvfb and am running a docker image for ...
0
votes
1answer
101 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
1answer
36 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
1answer
22 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
0answers
44 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 ...
0
votes
1answer
350 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
1answer
72 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
2answers
823 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
1answer
81 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
1answer
228 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
1answer
105 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
1answer
117 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
1answer
309 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
2answers
151 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
1answer
195 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 ...