Telerik Forums
Test Studio Forum
4 answers
360 views
Hi Folks,

I want to compare two variables in my script.  The scenario is that I:
   1) extract the current value from a dropdown and bind to a variable
   2) do something (to make the value change)
   3) extract the new value from the dropdownb and bind to a different variable
   4) compare the two values.  If the values match, the test passes.

These are my two extract lines:
Extract selection 'ByText' on 'UserInterfaceThemeNameSelect' into DataBindVariable $(SchemeChosen1)
Extract selection 'ByText' on 'UserInterfaceThemeNameSelect' into DataBindVariable $(SchemeChosen2)

In code I would use an IF...ELSE statement, but I really want to avoide using code.  Is there a native solution?  (I've briefly searched the forum and didn't find anything that answered my specific query, but if you know of a thread - or a video - please tell me).

If there is no native solution, would someone help with the coding (VB)?

Thanks,
Ngiel Edwards, Transition COmputing.
Nigel
Top achievements
Rank 2
 answered on 13 Feb 2012
3 answers
219 views
I'm getting weird COM exceptions. I can't seem to be able to click on (or execute Open command) on a drop down first time (then second time it opens and clicks on the right choice, but then it gives me COM exceptions... an example (I've also gotten System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL as well):

Failure Information: 
~~~~~~~~~~~~~~~
ExecuteCommand failed!
InError set by the client. Client Error:
System.Runtime.InteropServices.COMException (0x80020006): Unknown name. (Exception from HRESULT: 0x80020006 (DISP_E_UNKNOWNNAME))
   at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
   at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
   at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args)
   at ArtOfTest.InternetExplorer.JsObjectWrapper.GetProperty(String property)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessSilverlightCommand(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:'Silverlight',Info:'NotSet',Action:'NotSet',Target:'ElementId (tagName: 'object',occurrenceIndex: '0')',Data:'{"Method":null,"Property":null,"Reference":{"ObjectName":"$root","Path":"\/page:-1:52176326","Properties":[]},"Reference2":null,"Type":4,"Value":"GkMk3aAbn2KaxwITLjrzy0pr\/Kk="}',ClientId:'Client_589f167e-dce9-452a-94fb-601859634ba0',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.Runtime.InteropServices.COMException (0x80020006): Unknown name. (Exception from HRESULT: 0x80020006 (DISP_E_UNKNOWNNAME))
   at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
   at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
   at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args)
   at ArtOfTest.InternetExplorer.JsObjectWrapper.GetProperty(String property)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessSilverlightCommand(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
InnerException: none.


InnerException:
ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
InError set by the client. Client Error:
System.Runtime.InteropServices.COMException (0x80020006): Unknown name. (Exception from HRESULT: 0x80020006 (DISP_E_UNKNOWNNAME))
   at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
   at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
   at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args)
   at ArtOfTest.InternetExplorer.JsObjectWrapper.GetProperty(String property)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessSilverlightCommand(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:'Silverlight',Info:'NotSet',Action:'NotSet',Target:'ElementId (tagName: 'object',occurrenceIndex: '0')',Data:'{"Method":null,"Property":null,"Reference":{"ObjectName":"$root","Path":"\/page:-1:52176326","Properties":[]},"Reference2":null,"Type":4,"Value":"GkMk3aAbn2KaxwITLjrzy0pr\/Kk="}',ClientId:'Client_589f167e-dce9-452a-94fb-601859634ba0',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.Runtime.InteropServices.COMException (0x80020006): Unknown name. (Exception from HRESULT: 0x80020006 (DISP_E_UNKNOWNNAME))
   at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
   at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
   at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args)
   at ArtOfTest.InternetExplorer.JsObjectWrapper.GetProperty(String property)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessSilverlightCommand(BrowserCommand request)
   at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
InnerException: none.


   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
   at ArtOfTest.WebAii.Silverlight.SilverlightProxy.ExecuteSLCommand(SilverlightCommand cmd)
   at ArtOfTest.WebAii.Silverlight.SilverlightProxy.GetVisualTree(IAutomationPeer root, String hash)
   at ArtOfTest.WebAii.Silverlight.VisualTree.Refresh()
   at ArtOfTest.WebAii.Silverlight.FrameworkElement.Refresh()
   at Telerik.WebAii.Controls.Xaml.RadComboBox.WaitDropDownAnimation(Int32 millis)
   at Telerik.WebAii.Controls.Xaml.RadComboBox.SelectItem(String itemText, Boolean openDropDown)
   at Telerik.WebAii.Design.Translators.Xaml.Input.ComboBox.ActionDescriptors.SelectItemNew.ComboBoxSelectAction.Execute(IApplication appHost)
   at ArtOfTest.WebAii.Design.Extensibility.XamlActionDescriptor.Execute(IAutomationHost autoHost)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
Anthony
Telerik team
 answered on 10 Feb 2012
2 answers
97 views
Hi

While i am rerunning my captured script,its trowing error.As per my understanding perhaps telerik not supporting object within combo box and drop down menu.
Please help me out.

Regards
Ranjith
Divya
Top achievements
Rank 1
 answered on 10 Feb 2012
1 answer
113 views
Hi team,
I upgrade telerik to version 2011.2.1305.0 on both schedule server and execution server Recently, when i schedule a test list, it succeeded to work on ES, but after a period of time, telerik schedule service on ES is stoped and scheduled test list is not finished. can you help to resolve it?
Stoich
Telerik team
 answered on 09 Feb 2012
3 answers
97 views
Just installed this version and noticed when I now copy test steps from one test to a new test they paste in reverse order, I have to save the new test, close the project and then re-open it before the steps are in the correct order. This was not the case in V2011.1.502.0.
Plamen
Telerik team
 answered on 09 Feb 2012
9 answers
159 views
I'm currently evaluating telerik for our QA team.  I have created a main script that calls several little scripts that I have recorded such as (logIn, clientInfoForm, involvedParties, and MedicalCodes).  For clientInfoForm and involvedParties, I am binding information from excel since each field only requires a distinct value.  However, I want to be able to execute the code in the MedicalCodes script for every medical code that exists in the excel spreadsheet for this case.  Without looping through the other scripts within the main script.  

I want to do something like the following for the MedicalCodes script:

Pages.Page.MedicalLink.Click

dim excelConnectionString

'This  will need to read how many rows exists for a particular column.
'One each iteration execute the following commands

While Not rows.eof 

Pages.Page.Textbox1.Entertext 'From excel
Pages.Page.AddButton.Click

rows.MoveNext

Wend



'Thanks
Cody
Telerik team
 answered on 08 Feb 2012
1 answer
132 views


Hi,

Actually I copy some of my test cases in a server machine. All of them run correctly on my machine but when I put them on the Server Machine and try to run them, the test cases that have Handle "Generic" Dialog, fail on this step.

My machine have following configuration:
IE 8.0.7600.16385
Windows 7 Professional

Server Machine:
IE 8.0.7601.17514
Windows Server 2008 R2 Standard

Not sure if some of this configuration affect the handle dialog feature form WebUi

Following is an example of the log from a test case that try to execute a hadle dialog step


Overall Result: Fail
------------------------------------------------------------
'2/2/2012 6:35:16 PM' - Using .Net Runtime version: '4.0.30319.1' for tests execution.
'2/2/2012 6:35:16 PM' - Starting execution....
'2/2/2012 6:35:16 PM' - Detected a Silverlight Test. Setting EnableSilverlight=True
------------------------------------------------------------
------------------------------------------------------------
'2/2/2012 6:35:20 PM' - Using 'InternetExplorer' version '8.0' as default browser.
'2/2/2012 6:37:23 PM' - 'Pass' : 1. Execute test 'BVT - Create Shortcut For A Panel'

>>> Test-as-Step 'Framework\BVT\BVT - Create Shortcut For A Panel.tstest' log starts:

Overall Result: Pass
------------------------------------------------------------
'2/2/2012 6:35:24 PM' - Using 'InternetExplorer' version '8.0' as default browser.
'2/2/2012 6:37:03 PM' - 'Pass' : 1. Execute test 'Create New Panel'

>>> Test-as-Step 'Create New Panel.tstest' log starts:

Overall Result: Pass
------------------------------------------------------------
'2/2/2012 6:35:24 PM' - Using 'InternetExplorer' version '8.0' as default browser.
'2/2/2012 6:36:17 PM' - 'Pass' : 1. Execute test 'BVT - Create A New Workspace'

>>> Test-as-Step 'BVT - Create A New Workspace.tstest' log starts:

Overall Result: Pass
------------------------------------------------------------
'2/2/2012 6:35:25 PM' - Using 'InternetExplorer' version '8.0' as default browser.
'2/2/2012 6:36:03 PM' - 'Pass' : 1. Execute test 'Login'

>>> Test-as-Step 'Login.tstest' log starts:

Overall Result: Pass
------------------------------------------------------------
'2/2/2012 6:35:25 PM' - Using 'InternetExplorer' version '8.0' as default browser.
'2/2/2012 6:35:33 PM' - 'Pass' : 1. Navigate to : '/'
'2/2/2012 6:35:37 PM' - 'Pass' : 2. LeftClick on Item0Textboxview
'2/2/2012 6:35:39 PM' - 'Pass' : 3. Type 'Stress002' into UserNameTextbox
'2/2/2012 6:35:40 PM' - 'Pass' : 4. LeftClick on Item1Textboxview
'2/2/2012 6:35:42 PM' - 'Pass' : 5. Type 'Stress002' into PasswordPasswordbox
'2/2/2012 6:35:42 PM' - 'Pass' : 6. Click ButtonLoginButton
'2/2/2012 6:36:03 PM' - 'Pass' : 7. Wait for '20000' msec.
------------------------------------------------------------
'2/2/2012 6:36:03 PM' - Overall Result: Pass
'2/2/2012 6:36:03 PM' - Duration: [0 min: 37 sec: 810 msec]
------------------------------------------------------------

<<< Test-as-Step 'Login.tstest' log ends.

'2/2/2012 6:36:06 PM' - 'Pass' : 2. LeftClick on ImageImage
'2/2/2012 6:36:10 PM' - 'Pass' : 3. Drag Item0Textboxview to application at (531, 153) from TopLeftCorner
'2/2/2012 6:36:12 PM' - 'Pass' : 4. Type 'name1' into WorkspaceNameTextBoxTextbox
'2/2/2012 6:36:13 PM' - 'Pass' : 5. LeftClick on ImageImage2
'2/2/2012 6:36:14 PM' - 'Pass' : 6. LeftClick on MainHeaderRectRectangle
'2/2/2012 6:36:17 PM' - 'Pass' : 7. Wait for '3500' msec.
------------------------------------------------------------
'2/2/2012 6:36:17 PM' - Overall Result: Pass
'2/2/2012 6:36:17 PM' - Duration: [0 min: 52 sec: 718 msec]
------------------------------------------------------------

<<< Test-as-Step 'BVT - Create A New Workspace.tstest' log ends.

'2/2/2012 6:36:18 PM' - 'Pass' : 2. LeftClick on ImageImage0
'2/2/2012 6:36:19 PM' - 'Pass' : 3. Wait for '1000' msec.
'2/2/2012 6:36:21 PM' - 'Pass' : 4. Verify 'NavigatorTextblock' text Same 'Navigator'
'2/2/2012 6:36:22 PM' - 'Pass' : 5. Desktop command: LeftClick on NavigatorTextblock
'2/2/2012 6:36:22 PM' - 'NotRun' : 6. Manual: Click on the "Navigator" panel type
'2/2/2012 6:36:27 PM' - 'Pass' : 7. Wait for '5000' msec.
'2/2/2012 6:36:32 PM' - 'Pass' : 8. Open 'DropDownControlDropdowncontrol' drop down.
'2/2/2012 6:36:33 PM' - 'Pass' : 9. Wait for '1000' msec.
'2/2/2012 6:36:34 PM' - 'Pass' : 10. Desktop command: LeftClick on MainTextBlockTextblock
'2/2/2012 6:36:36 PM' - 'Pass' : 11. Open 'DropDownControlDropdowncontrol0' drop down.
'2/2/2012 6:36:46 PM' - 'Pass' : 12. Wait for '10000' msec.
'2/2/2012 6:36:47 PM' - 'Pass' : 13. Desktop command: LeftClick on MainTextBlockTextblock0
'2/2/2012 6:36:48 PM' - 'Pass' : 14. Desktop command: LeftClick on NewRadbutton
'2/2/2012 6:37:03 PM' - 'Pass' : 15. Wait for '15000' msec.
'2/2/2012 6:37:03 PM' - 'NotRun' : 16. LeftClick on ImageImage1
'2/2/2012 6:37:03 PM' - 'NotRun' : 17. Wait for '3000' msec.
------------------------------------------------------------
'2/2/2012 6:37:03 PM' - Overall Result: Pass
'2/2/2012 6:37:03 PM' - Duration: [1 min: 38 sec: 965 msec]
------------------------------------------------------------

<<< Test-as-Step 'Create New Panel.tstest' log ends.

'2/2/2012 6:37:05 PM' - 'Pass' : 2. Desktop command: LeftClick on ShortcutButtonButton
'2/2/2012 6:37:17 PM' - 'Pass' : 3. Drag Item0Textboxview0 to application at (518, 405) from TopLeftCorner
'2/2/2012 6:37:19 PM' - 'Pass' : 4. Type 'PIN Panel' into InputTextValueTextbox
'2/2/2012 6:37:20 PM' - 'Pass' : 5. Desktop command: LeftClick on BackgroundGradientRectangle
'2/2/2012 6:37:23 PM' - 'Pass' : 6. Wait for '3000' msec.
------------------------------------------------------------
'2/2/2012 6:37:23 PM' - Overall Result: Pass
'2/2/2012 6:37:23 PM' - Duration: [1 min: 59 sec: 126 msec]
------------------------------------------------------------

<<< Test-as-Step 'Framework\BVT\BVT - Create Shortcut For A Panel.tstest' log ends.

'2/2/2012 6:37:24 PM' - 'Pass' : 2. Desktop command: LeftClick on ImageImage2
'2/2/2012 6:37:28 PM' - 'Pass' : 3. Click CloseButtonButton
'2/2/2012 6:37:30 PM' - 'Pass' : 4. Desktop command: LeftClick on NoButton
'2/2/2012 6:37:32 PM' - 'Pass' : 5. Wait for '2000' msec.
'2/2/2012 6:37:33 PM' - 'Pass' : 6. Select tab '1' in TabControl1Tabcontrol
'2/2/2012 6:37:35 PM' - 'Pass' : 7. Wait for '2000' msec.
'2/2/2012 6:37:36 PM' - 'Pass' : 8. Desktop command: LeftClick on PINPanelTextblock
'2/2/2012 6:37:43 PM' - 'Pass' : 9. Wait for '7000' msec.
'2/2/2012 6:37:44 PM' - 'Pass' : 10. Desktop command: HoverOver on Item44Image
'2/2/2012 6:37:45 PM' - 'Pass' : 11. Desktop command: LeftClick on Item44Image
'2/2/2012 6:37:48 PM' - 'Pass' : 12. Wait for '3000' msec.
'2/2/2012 6:37:54 PM' - 'Fail' : 13. Handle 'Generic' dialog.
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Timed out waiting '5000' msec. for any dialog to be handled '1'
InnerException:
System.TimeoutException: Timed out waiting '5000' msec. for any dialog to be handled '1'
   at ArtOfTest.WebAii.Win32.Dialogs.BaseDialog.WaitUntilAnyHandled(IEnumerable`1 dialogs, Int32 handleCount, Int64 timeoutMilliseconds, Boolean resetHandleCount)
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.DialogHandlerDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.DialogHandlerDescriptor.Execute(IAutomationHost browser)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
------------------------------------------------------------
'2/2/2012 6:37:55 PM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'2/2/2012 6:37:55 PM' - Overall Result: Fail
'2/2/2012 6:37:55 PM' - Duration: [2 min: 34 sec: 215 msec]
------------------------------------------------------------
'2/2/2012 6:38:16 PM' - Test completed!

 


Thanks,

Stoich
Telerik team
 answered on 07 Feb 2012
25 answers
362 views
hi,
i have a test that run great.
simply, for on e step i do customize step in code , run , and the test doesn't work.
error on the step:
Exception thrown executing coded step: '[DNN_TEST_NB_OF_CLAIMS__UYW1_CodedStep] : Click 'DnnCtr911NewParameterBtnOkImage''
Cody
Telerik team
 answered on 07 Feb 2012
2 answers
112 views
i am working on the page which may be a little complex with nested panels.
the problem happens when i set value to an input.
after replaying this step, the toolbar disappears.

here's the code
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CITemplate.aspx.cs" MasterPageFile="~/MasterPage/TopBottom.master"
    Inherits="ITMS_ConfigurationItem_CITemplate" %>
  
<asp:Content ID="Content1" ContentPlaceHolderID="H1" runat="Server">
    <wisdom:WsdBasicToolBar ID="WsdToolbar1" runat="server" CopyButtonVisible="false"
        PrintButtonVisible="false" WorkFlowGroupButtonVisible="false" ViewWorkFlowButtonVisible="false">
 <wisdom:DynamicButtonDefine  ID="DynamicButtonDefine3" runat="server" BtnClientClick="ClickCopyAdd" Text="复制增加" ToolTip="复制增加" Value="_CopyAdd">
 </wisdom:DynamicButtonDefine
    </wisdom:WsdBasicToolBar>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="H2" runat="Server">
    <wisdom:WsdSplitter runat="server" ID="RadSplitter1" Orientation="Vertical" Width="100%"
        Height="100%" VisibleDuringInit="false">
        <wisdom:WsdPane runat="server" ID="WsdPane2" Scrolling="Both" Height="100%" Width="100%">
            <wisdom:WsdGrid ID="WgCITemplate" runat="server" AutoGenerateColumns="False" GridLines="None"
                Height="99%" Width="99%" AllowCustomPaging="true" AllowPaging="true" PageSize="15">
                <MasterTableView DataKeyNames="id" ClientDataKeyNames="id">
                    <Columns>
                        <wisdom:WsdGridBoundColumn DataField="ciTemplateCode" HeaderText="模版编号" UniqueName="ciTemplateCode" />
                        <wisdom:WsdGridBoundColumn DataField="ciTemplateName" HeaderText="模版名称" UniqueName="ciTemplateName" />
                        <wisdom:WsdGridBoundColumn DataField="ciClass_cnName" HeaderText="运维对象类别" UniqueName="ciClass_cnName" />
                        <wisdom:WsdGridBoundColumn DataField="ciType_cnName" HeaderText="运维对象类型" UniqueName="ciType_cnName" />
                        <wisdom:WsdGridBoundColumn DataField="status_cnName" HeaderText="数据状态" UniqueName="status_cnName" />
                    </Columns>
                </MasterTableView>
                <ClientSettings EnablePostBackOnRowClick="false">
                    <Selecting AllowRowSelect="True" />
                    <Scrolling AllowScroll="true" UseStaticHeaders="True" />
                </ClientSettings>
            </wisdom:WsdGrid>
        </wisdom:WsdPane>
    </wisdom:WsdSplitter>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="H3" runat="Server">
    <wisdom:WsdSplitter runat="server" ID="WsdSplitter1" Orientation="Horizontal" Width="100%"
        Height="100%" VisibleDuringInit="false">
        <wisdom:WsdPane runat="server" ID="EditDiv" Height="30%" Width="100%" Scrolling="None">
            <%--            <wisdom:WsdTabStrip ID="WsdTabStrip1" runat="server" SelectedIndex="0" Orientation="HorizontalTop"
                MultiPageID="RadMultiPage1" Height="25px">
                <Tabs>
                    <wisdom:WsdTab Selected="True" Text="模版基础信息">
                    </wisdom:WsdTab>
                </Tabs>
            </wisdom:WsdTabStrip>--%>
            <wisdom:WsdAspxPanel runat="server" ID="mainPanel">
                <table class="wt">
                    <tr>
                        <td>
                            <wisdom:WsdText Label="模版编号:" MaxLength="36" Colspan="Normal1" IsPrimary="true" IsRequire="true"
                                ID="WsdCiTemplateCode" runat="server" StrBindingField="ciTemplateCode">
                            </wisdom:WsdText>
                        </td>
                        <td>
                            <wisdom:WsdText Label="模版名称:" MaxLength="50" Colspan="Normal1" IsRequire="true" ID="WsdCiNciTemplateName"
                                runat="server" StrBindingField="ciTemplateName">
                            </wisdom:WsdText>
                        </td>
                        <td>
                            <wisdomBussinessControls:WsdTextSelectCodeInfo Label="运维对象类别:" OnClientSelectedIndexChanged="ClearCiTypeText"
                                IsRequire="true" CurrentCodeClass="ITSM_CI_CLASS" Colspan="Normal1" ID="WsdCiClass"
                                runat="server" StrBindingField="ciClass_cnName" StrValueBindingField="ciClass">
                            </wisdomBussinessControls:WsdTextSelectCodeInfo>
                        </td>
                        <td>
                            <wisdom:WsdText Label="运维对象类型:" Colspan="Normal1" ID="WsdCiType" IsRequire="true" runat="server"
                                StrBindingField="ciType_cnName" HasButton="true" ReadOnlyText="true" StrValueBindingField="ciType">
                                <AutoSearchDataProperty displayCodeProperty="cnName" logicCondiction="ITSM_CI_TYPE"
                                    treeFieldId="id" treeFieldParentId="parentCode_id" MulSelect="false" BeforeSearchClientScript="BeforeSelectCode"
                                    UrlKey="tree" beanId="CodeTree" providerType="BizSearchProvider" hiddenProperty="code"
                                    displayNameProperty="cnName" filedDataSourceCode="CodeDto" EmpMsg="没有相关数据,请维护数据">    
                                            <wisdom:AutoSearchDataAdvanceWherePropertyDefine  runat="server" ID="ddddd1" PropertyName="parentCode_code" QueryLogic="Equal" QueryValue="ciclasscode"  QueryValueType="JSVariable"  />  
                                </AutoSearchDataProperty>
                            </wisdom:WsdText>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="4">
                            <wisdom:WsdText Label="说明:" MaxLength="500" Colspan="Normal4" Rows="3" TextMode="MultiLine"
                                ID="WsdCiDesc" runat="server" StrBindingField="ciDesc">
                            </wisdom:WsdText>
                        </td>
                    </tr>
                </table>
            </wisdom:WsdAspxPanel>
        </wisdom:WsdPane>
        <wisdom:WsdSplitBar ID="WsdSplitBar2" runat="server" CollapseMode="Forward">
        </wisdom:WsdSplitBar>
        <wisdom:WsdPane runat="server" Scrolling="None" ID="WsdPane3" Width="100%">
            <wisdom:WsdSplitter runat="server" ID="RadSplitter2" Orientation="Vertical" Width="100%"
                VisibleDuringInit="true" Height="100%">
                <wisdom:WsdPane runat="server" ID="BottomLeftDiv" Height="100%" Scrolling="None"
                    Width="20%">
                    <wisdom:WsdSplitter runat="server" ID="WsdSplitter3" Orientation="Horizontal" Width="100%"
                        VisibleDuringInit="true" Height="100%">
                        <wisdom:WsdPane runat="server" Height="26px">
                            <wisdom:WsdTabStrip ID="WsdTabStrip2" runat="server" SelectedIndex="0" Scrolling="None">
                                <Tabs>
                                    <wisdom:WsdTab Selected="True" Text="模版结构">
                                    </wisdom:WsdTab>
                                </Tabs>
                            </wisdom:WsdTabStrip>
                        </wisdom:WsdPane>
                        <wisdom:WsdPane ID="WsdPane4" runat="server" Scrolling="None">
                            <wisdom:WsdTreeView ID="WtvCITemplateOperate" DataTextField="ciTemplateDetailName"
                                Width="100%" Height="100%" DataValueField="id" DataFieldID="id" DataFieldParentID="parentID"
                                runat="server" AllowNodeEditing="false" EnableViewState="false" CommandItemDisplay="Top"
                                CheckChildNodes="True" CheckBoxes="false">
                                <WsdTreeCmdItemContext IsShowAddChild="false" IsShowAdd="false" IsShowClear="false"
                                    IsShowDelete="false">
                                    <WsdCmdItems>
                                        <wisdom:WsdCmdItem CmdItemID="cdConfigurationItem" CmdItemImgUrl="AddDetail.png"
                                            CmdItemJSFun="AddConfigurationItem" CmdItemText="配置节点" />
                                        <wisdom:WsdCmdItem CmdItemID="cdAddItem" CmdItemJSFun="AddChildrenItem" CmdItemImgUrl="AddDetail.png"
                                            CmdItemText="增加子节点" />
                                        <wisdom:WsdCmdItem CmdItemID="cdDeleteItem" CmdItemImgUrl="DeleteDetail.png" CmdItemText="删除节点"
                                            CmdItemJSFun="DeleteItems" />
                                        <wisdom:WsdCmdItem CmdItemID="cdClear" CmdItemImgUrl="ClearDetail.png" CmdItemText="清空"
                                            CmdItemJSFun="ClearTree" />
                                    </WsdCmdItems>
                                </WsdTreeCmdItemContext>
                            </wisdom:WsdTreeView>
                        </wisdom:WsdPane>
                    </wisdom:WsdSplitter>
                </wisdom:WsdPane>
                <wisdom:WsdSplitBar runat="server" ID="RadSplitBar3" />
                <wisdom:WsdPane runat="server" ID="BottomRightDiv" Scrolling="None" Height="100%"
                    Width="75%">
                    <%--<wisdom:WsdAspxPanel ID="citemplatePanel" runat="server">--%>
                    <wisdom:WsdSplitter runat="server" ID="WsdSplitter4" Orientation="Horizontal" Width="100%"
                        VisibleDuringInit="true" Height="100%">
                        <wisdom:WsdPane ID="WsdPane53" runat="server" Height="26px" Scrolling="None">
                            <wisdom:WsdTabStrip ID="ts" runat="server" MultiPageID="mp" SelectedIndex="1">
                                <Tabs>
                                    <wisdom:WsdTab runat="server" Selected="True" Text="配置项信息">
                                    </wisdom:WsdTab>
                                    <wisdom:WsdTab runat="server" Selected="true" Text="配置项属性信息">
                                    </wisdom:WsdTab>
                                </Tabs>
                            </wisdom:WsdTabStrip>
                        </wisdom:WsdPane>
                        <wisdom:WsdPane ID="WsdPane5" runat="server" Scrolling="None" Height="100%">
                            <wisdom:WsdMultiPage ID="mp" runat="server" SelectedIndex="0">
                                <wisdom:WsdPageView ID="pv1" runat="server">
                                    <wisdom:WsdAspxPanel ID="citemplatePanel" runat="server">
                                        <table class="wt">
                                            <tr>
                                                <%--                                                <td>
                                                    <wisdom:WsdText Label="配置项编号:" MaxLength="36" Colspan="Normal1" IsRequire="true"
                                                        ID="WsdDetailCiCode" runat="server" StrBindingField="ciTemplateDetailCode">
                                                    </wisdom:WsdText>
                                                </td>--%>
                                                <td colspan="2">
                                                    <wisdom:WsdText Label="配置项名称:" MaxLength="18" Colspan="Normal2" IsRequire="true"
                                                        ID="WsdDetailCiName" runat="server" StrBindingField="ciTemplateDetailName">
                                                    </wisdom:WsdText>
                                                </td>
                                                <td>
                                                    <wisdomBussinessControls:WsdTextSelectCodeInfo Label="审批方式:" IsRequire="true" CurrentCodeClass="ITSM_CI_APP_WAY"
                                                        Colspan="Normal1" ID="WsdDetailApproveWay" runat="server" StrBindingField="approveWay_cnName"
                                                        StrValueBindingField="approveWay">
                                                    </wisdomBussinessControls:WsdTextSelectCodeInfo>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <wisdom:WsdText Label="显示顺序号:" Colspan="Normal1" ID="WsdDisplaySrl"
                                                        runat="server" StrBindingField="displaySrl" MinValue="0" TextBoxType="NumericTextBox"
                                                        DecimalDigits="0">
                                                    </wisdom:WsdText>
                                                </td>
                                                <td>
                                                    <%--<wisdomBussinessControls:WsdTextSelectCodeInfo Label="配置项关系:"    CurrentCodeClass="ITSM_CI_REL"  Width="93%"  ID="WsdDetailCiRelationship" runat="server" StrBindingField="ciRelationship_cnName" StrValueBindingField="ciRelationship" >
                                    </wisdomBussinessControls:WsdTextSelectCodeInfo>--%>
                                                    <wisdom:WsdText Label="配置项关系:" Colspan="Normal1" ID="WsdDetailCiRelationship" runat="server"
                                                        StrBindingField="ciRelationship_cnName" HasButton="true" ReadOnlyText="true"
                                                        StrNameBindingField="ciRelationship" StrValueBindingField="ciRelationshipId">
                                                        <AutoSearchDataProperty displayCodeProperty="cnName" providerType="BizSearchProvider"
                                                            MulSelect="true" displayNameProperty="code" filedDataSourceCode="CodeDto" hiddenProperty="id"
                                                            EmpMsg="没有相关数据,请维护数据">    
                                            <wisdom:AutoSearchDataAdvanceWherePropertyDefine  PropertyName="status" runat="server" ID="AutoSearchDataAdvanceWherePropertyDefine1" RightBracket="blank" LeftBracket="blank" QueryValueType="Constant" ConditionLogic="Blank" QueryLogic="Equal" QueryValue="20">
                                            </wisdom:AutoSearchDataAdvanceWherePropertyDefine>   
                                            <wisdom:AutoSearchDataAdvanceWherePropertyDefine  PropertyName="codeClass_classCode" runat="server" ID="AutoSearchDataAdvanceWherePropertyDefine2" RightBracket="blank" LeftBracket="blank" QueryValueType="Constant" ConditionLogic="Blank" QueryLogic="Equal" QueryValue="ITSM_CI_REL">
                                            </wisdom:AutoSearchDataAdvanceWherePropertyDefine>   
                                                        </AutoSearchDataProperty>
                                                    </wisdom:WsdText>
                                                </td>
                                                <td>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <wisdom:WsdText Label="配置项类别:" MaxLength="36" Colspan="Normal1" ID="WsdDetailCiClass"
                                                        runat="server" StrBindingField="ciClass_cnName">
                                                    </wisdom:WsdText>
                                                </td>
                                                <td>
                                                    <wisdom:WsdText Label="配置项类型:" MaxLength="36" Colspan="Normal1" ID="WsdDetailCiType"
                                                        runat="server" StrBindingField="ciType_cnName">
                                                    </wisdom:WsdText>
                                                </td>
                                                <td>
                                                    <wisdom:WsdText Label="数据类型:" MaxLength="36" Colspan="Normal1" ID="WsdciDataType_cnName"
                                                        runat="server" StrBindingField="ciDataType_cnName">
                                                    </wisdom:WsdText>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="3">
                                                    <wisdom:WsdText Label="说明:" MaxLength="500" Colspan="Normal3" Rows="3" TextMode="MultiLine"
                                                        ID="WsdDetailCiDesc" runat="server" StrBindingField="ciDesc">
                                                    </wisdom:WsdText>
                                                </td>
                                            </tr>
                                        </table>
                                        <br />
                                    </wisdom:WsdAspxPanel>
                                </wisdom:WsdPageView>
                                <wisdom:WsdPageView ID="pv2" runat="server">
                                    <wisdom:WsdSplitter runat="server" ID="WsdSplitter2" VisibleDuringInit="false" Orientation="Vertical"
                                        Width="100%" Height="100%">
                                        <wisdom:WsdPane runat="server" ID="editHeader" Height="100%" Width="35%" Scrolling="None">
                                            <wisdom:WsdGrid ID="WgCitemplateDetail" runat="server" IsEditInControlOnClient="true"
                                                AutoGenerateColumns="False" GridLines="None" AllowMultiRowSelection="true" Width="100%"
                                                Height="100%">
                                                <MasterTableView DataKeyNames="id" ClientDataKeyNames="id">
                                                    <Columns>
                                                        <wisdom:WsdGridBoundColumn DataField="ciTemplateDetailCode" HeaderText="属性编号" UniqueName="ciTemplateDetailCode" />
                                                        <wisdom:WsdGridBoundColumn DataField="ciTemplateDetailName" HeaderText="属性名称" UniqueName="ciTemplateDetailName" />
                                                        <%--   <wisdom:WsdGridBoundColumn DataField="ciDataType_cnName" HeaderText="数据类型" UniqueName="ciDataType_cnName" />--%>
                                                        <wisdom:WsdGridBoundColumn DataField="treePathName" HeaderText="所属配置项" UniqueName="treePathName" />
                                                    </Columns>
                                                </MasterTableView><%--StrClientGetNewObj="GetNewObj"--%>
                                                <wsdGridCmdItemContext IsShowAddAndDelete="true" StrCheckBeforeAdd="AddCitemplateGridDatailDto"
                                                    CurrentGridOperateMode="ShowModalWindow">
                                                    <WsdGridOperateShowModalWindowInfo StrWinCloseCallback="SelectedConfigurationItemDtoCallback">
                                                        <AutoSearchDataProperty displayCodeProperty="ciCode" providerType="BizSearchProvider"
                                                            displayNameProperty="ciCode" MulSelect="true" filedDataSourceCode="ConfigurationItemDto"
                                                            EmpMsg="没有相关数据,请维护数据">    
                                <wisdom:AutoSearchDataAdvanceWherePropertyDefine  PropertyName="status" runat="server" ID="AutoSearchDataAdvanceWherePropertyDefine4" RightBracket="blank" LeftBracket="blank" QueryValueType="Constant" ConditionLogic="Blank" QueryLogic="Equal" QueryValue="20">
                                </wisdom:AutoSearchDataAdvanceWherePropertyDefine>   
                                                        </AutoSearchDataProperty>
                                                    </WsdGridOperateShowModalWindowInfo>
                                                </wsdGridCmdItemContext>
                                                <ClientSettings EnablePostBackOnRowClick="false">
                                                    <Selecting AllowRowSelect="True" />
                                                    <Scrolling AllowScroll="true" UseStaticHeaders="True" />
                                                </ClientSettings>
                                            </wisdom:WsdGrid>
                                        </wisdom:WsdPane>
                                        <wisdom:WsdPane runat="server" ID="WsdPane1" Height="100%" Scrolling="None">
                                            <wisdom:WsdAspxPanel runat="server" ID="citemplateDatailPanel">
                                                <table class="wt">
                                                    <tr>
                                                        <td>
                                                            <%--                                                            <wisdom:WsdText Label="属性编号:" Colspan="Normal1" IsPrimary="true" IsRequire="true"
                                                                ID="WsdItemCiValueCode" runat="server" StrBindingField="ciTemplateDetailCode"
                                                                ReadOnlyText="true">
                                                            </wisdom:WsdText>--%>
                                                            <wisdom:WsdText Label="属性名称:" MaxLength="18" Colspan="Normal1" IsRequire="true" ID="WsdItemCiValue"
                                                                runat="server" StrBindingField="ciTemplateDetailName">
                                                            </wisdom:WsdText>
                                                        </td>
                                                        <td>
                                                            <wisdomBussinessControls:WsdTextSelectCodeInfo Label="审批方式:" IsRequire="true" CurrentCodeClass="ITSM_CI_APP_WAY"
                                                                Colspan="Normal1" ID="WsdItemApproveWay" runat="server" StrBindingField="approveWay_cnName"
                                                                StrValueBindingField="approveWay">
                                                            </wisdomBussinessControls:WsdTextSelectCodeInfo>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            <wisdomBussinessControls:WsdTextSelectCodeInfo Label="是否必填:" Colspan="Normal1" IsRequire="true"
                                                                CurrentCodeClass="BAS_YESNO" ID="WsdItemRequired" runat="server" StrBindingField="required_cnName"
                                                                StrValueBindingField="required">
                                                            </wisdomBussinessControls:WsdTextSelectCodeInfo>
                                                        </td>
                                                        <td>
                                                            <wisdom:WsdText Label="显示顺序号:" Colspan="Normal1" ID="WsdDisplaySrl1"
                                                                runat="server" StrBindingField="displaySrl" MinValue="0" TextBoxType="NumericTextBox"
                                                                DecimalDigits="0">
                                                            </wisdom:WsdText>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                        <wisdom:WsdText Label="数据类型:" MaxLength="36" Colspan="Normal1" ID="WsdciDataType"
                                                        runat="server" StrBindingField="ciDataType_cnName">
                                                    </wisdom:WsdText>
                                                        </td>
                                                        <td>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2">
                                                            <wisdom:WsdText Label="所属配置项:" MaxLength="36" Colspan="Normal2" ID="WsdItemTreePathName"
                                                                runat="server" StrBindingField="treePathName">
                                                            </wisdom:WsdText>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2">
                                                            <wisdom:WsdText Label="说明:" MaxLength="500" Colspan="Normal2" Rows="3" TextMode="MultiLine"
                                                                ID="WsdItemCiDesc" runat="server" StrBindingField="ciDesc">
                                                            </wisdom:WsdText>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </wisdom:WsdAspxPanel>
                                        </wisdom:WsdPane>
                                    </wisdom:WsdSplitter>
                                </wisdom:WsdPageView>
                            </wisdom:WsdMultiPage>
                        </wisdom:WsdPane>
                    </wisdom:WsdSplitter>
                    <%--  </wisdom:WsdAspxPanel> --%>
                </wisdom:WsdPane>
            </wisdom:WsdSplitter>
        </wisdom:WsdPane>
    </wisdom:WsdSplitter>
    <wisdom:WsdScriptBlock ID="RadScriptBlock1" runat="server">

other simple page,it will not happen.
Yan
Top achievements
Rank 1
 answered on 07 Feb 2012
1 answer
92 views
Hello Telerik team,
Can I somehow set a total time for execution of a test and if it exceed this time to fail the test?
Anthony
Telerik team
 answered on 06 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?