Forum Discussion
w5 = p1["frmPRSelectSOInv"];
w6 = w5["panel1"]["xtraTabControl1"];
w7 = w6["xtraTabPage1"]["grpFilter"];
w7["ecbFinish"]["cbo"]["Keys"]("FinishA[Tab]");
w7["ecbGrade"]["cbo"]["Keys"]("GradeA[Tab]");
w7["ecbSpecificSO"]["cbo"]["Keys"]("CompanyASO[Tab]");
w8 = w7["groupControl3"]["chkInvType"];
w8["CheckItem"]("P/O Release", cbChecked);
w8["CheckItem"]("Upline", cbChecked);
w8["CheckItem"]("Finished Goods", cbChecked);
w6["ClickTab"]("Advanced Criteria");
w7 = w6["xtraTabPage2"]["groupControl4"];
w7["ecbCustomer"]["cbo"]["Keys"]("CompanyA[Tab]");
w7["ecbPart"]["cbo"]["Keys"]("CoAPart[Tab]");
w7["ecbLocation"]["cbo"]["Keys"]("2[Tab]");
w7["ecbType"]["cbo"]["Keys"]("TypeA[Tab]");
w7["ecbProduct"]["cbo"]["Keys"]("ProductA[Tab]");
if (w7["chkToll"]["wState"] == 1)
w7["chkToll"]["wState"] = 0;
w5 = p1["frmPRSelectSOInv"];
w5["BarDockControl"]["DockedBarControl"]["ClickItem"]("Run Query");
The code does remove the check mark if box is checked and ignores if the box is not checked. This is how it should perform.
However, on line w7["chkToll"]["wState"] = 0;
I receive the following:
An error occurred:
Possible reasons:
1. The application stopped responding.
2. The application was compiled incorrectly (see the Open Applications topic in the help system).
3. An error occurred in TestComplete.
Technical information:
303 0x80020009 (Exception occurred.)
mscorlib 0
System.Runtime.Remoting.RemotingException: Cannot create channel sink to connect to URL ''. An appropriate channel has probably not been registered.
at System.Runtime.Remoting.RemotingServices.Unmarshal(Type classToProxy, String url, Object data)
at System.Activator.GetObject(Type type, String url)
at SharedApps.CommonForms.GlobalFunctions.GetIDataLayer()
at SharedApps.CommonForms.EnhancedLookupEdit.RefreshData(Boolean fireEvents, DataTable dtb)
at SharedApps.CommonForms.EnhancedLookupEdit.RefreshData(Boolean fireEvents)
at SharedApps.CommonForms.EnhancedLookupEdit.RefreshData()
at SharedApps.frmPRSelectSOInv.chkToll_CheckedChanged(Object sender, EventArgs e)
at DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit.RaiseCheckedChanged(EventArgs e)
at DevExpress.XtraEditors.CheckEdit.set_EditValue(Object value).
Tested object:
Aliases["Sys"]["SharedApps"]["frmPRSelectSOInv"]["panel1"]["xtraTabControl1"]["xtraTabPage2"]["groupControl4"]["chkToll"]
(Sys["Process"]("SharedApps")["WinFormsObject"]("frmPRSelectSOInv")["WinFormsObject"]("panel1")["WinFormsObject"]("xtraTabControl1")["WinFormsObject"]("xtraTabPage2")["WinFormsObject"]("groupControl4")["WinFormsObject"]("chkToll"))
Related Content
- 2 years agoTestQA1
- 3 years agoMis3
- 2 years agodhundley
- 6 years agoJakemorley
Recent Discussions
- 2 days agoMW_Didata