Thursday, 15 March 2012

extjs - Changing test set of an existing test case in Rally using Ext Js -



extjs - Changing test set of an existing test case in Rally using Ext Js -

i want create study where have capability reparent our test cases 1 test set other.

in simple language, need remove existing link test set , assign new test set existing test case/cases.

i referring 1 existing study @ https://github.com/rallytechservices/test-picker/blob/master/deploy/app.html

listeners: { scope: this, artifactchosen: function(items){ ext.create('rally.data.wsapidatastore',{ model:'testset', pagesize: 1, autoload: true, filters: [{property:'objectid',value:record.get('objectid')}], listeners: { load: function(store,records){ console.dir(records.length); var ts = records[0]; me._log(["selected items:",items]); var tc_store = ts.getcollection('testcases'); me._log(["got store:",tc_store]); tc_store.add(items); me._log("added items."); tc_store.sync({ // callback: function(){ // me._log("inside callback"); // me._gettestsets(me.iteration_selector.getvalue()); // } success: function(batch,options) { me._gettestsets(me.iteration_selector.getvalue()); }, failure: function(batch,options) { me._gettestsets(me.iteration_selector.getvalue()); } }); } } }); } }

here if seek utilize remove gives me error, not sure causing issue. or how can approach issue. need alter test set of user selected test case in report. can please help me on same.

the error "uncaught typeerror: cannot read property 'getref' of null". when can add together same object why cant delete. understand has 1 value. tried removing filters code snippet mentioned below, still gives current selected test case object id.

thanks in advance

extjs rally

No comments:

Post a Comment