Telerik Forums
Test Studio Forum
3 answers
150 views
Hello,

I need to select a node and subnode in RadTree. The node's name may have different values on each test running.

Example:
<div id="ctl00_CP_treeGroups" class="RadTreeView RadTreeView_Office2007">
    <ul class="rtUL rtLines">
        <li class="rtLI rtFirst">
            <div class="rtTop rtSelected">
                <span class="rtSp"></span><span class="rtMinus"></span>
                <span
                    class="rtIn">All items (278)</span>
            </div>
            <ul class="rtUL">
                <li class="rtLI">
                    <div class="rtTop">
                        <span class="rtSp"></span><span class="rtPlus"></span>
                        <span
                            class="rtIn">Node1 (62)</span>
                    </div>
                    <ul class="rtUL" style="display: none;">
                        <li class="rtLI">
                            <div class="rtTop">
                                <span class="rtSp"></span>
                                <span class="rtIn">SubNode11 (3)</span>
                            </div>
                        </li>
                        <li class="rtLI rtLast">
                            <div class="rtBot">
                                <span class="rtSp"></span>
                                <img src="../../../../Images/Icons/group_16.png" alt="" class="rtImg"><span class="rtIn">SubNode12
                                    (2)</span>
                            </div>
                        </li>
                    </ul>
                </li>
                <li class="rtLI">
                    <div class="rtMid">
                        <span class="rtSp"></span><span class="rtPlus"></span>
                       <span
                            class="rtIn">Node2 (20)</span>
                    </div>
                    <ul class="rtUL" style="display: none;">
                        <li class="rtLI rtLast">
                            <div class="rtBot">
                                <span class="rtSp"></span>
                                <img src="../../../../Images/Icons/group_16.png" alt="" class="rtImg"><span class="rtIn">SubNode21 (1)</span>
                            </div>
                        </li>
                    </ul>
                </li>
    </ul>
    <input value="{&quot;expandedNodes&quot;:[],&quot;collapsedNodes&quot;:[],&quot;logEntries&quot;:[],&quot;selectedNodes&quot;:[&quot;0&quot;],&quot;checkedNodes&quot;:[],&quot;scrollPosition&quot;:0}"
        autocomplete="off" id="ctl00_CP_treeGroups_ClientState" name="ctl00_CP_treeGroups_ClientState"
        type="hidden">
</div>

Could you, please, give an example how to find and select 'Node2' and 'SubNode11' and expand a node?

Thanks,
Svetlana
Helen
Telerik team
 answered on 06 Jul 2010
1 answer
76 views
Hi,

I have a dataform with few controls, Commit and Cancel button.

Now user can type data in textboxes. If user click's on cancel button then the focus is not back on the last edited control
Infact focus is nowhere. User has to click on dataform to get a focus on last edited control.

How can I make it that when 'Cancel' action is done then focus should be on last edited control?
Cody
Telerik team
 answered on 02 Jul 2010
4 answers
121 views
Good Day,

After installing the software all was working perfectly. But today it wont record text captured using the keyboard. It only records click events...

What could be the problem?

Thanks
Cody
Telerik team
 answered on 01 Jul 2010
1 answer
93 views
Hello,

Is there a possibility to use variables in usual (not coded) steps? When the step is recorded we can find recorded value in Properties->Verification area of the step. Can we specify variable instead of the value?

Regards,
Svetlana
Missing User
 answered on 01 Jul 2010
10 answers
87 views
Hi,
Can we tell the tool to execute the test until a specific step?
Cody
Telerik team
 answered on 01 Jul 2010
4 answers
146 views
Is there a way to customize the Wait.ForExists function to not flag an exception if the element is found?
Right now it's throwing this exception message:

Element was 'found'. Criteria: Element 'Exists'.
Page being searched 'SilverlightApp (silverlightControlHost)'.

Cody
Telerik team
 answered on 01 Jul 2010
2 answers
122 views
How do you check for an element that is supposed to be there in one senario and not in another. Eg When logged in the my account tab appears, When not logged in, it is not supposed to appear.

How do you check for the not there. Must be a coded step but not sure how to complete this.

Also is there any documentation for what can be accomplised in coded steps. What syntax / business objects are available.

Also is there any way to debug our coded steps. IE (write to a log of some sort or an alert on the screen?

Thank you
Missing User
 answered on 01 Jul 2010
2 answers
83 views
Are both versions able to run via a cmd line  (Or something like this ) for overnight test runs.

Are there samples of this or are there samples of the cmd line parameters.

Thanks, almost ready to present to my boss and know that this will be one of the questions.

Missing User
 answered on 01 Jul 2010
2 answers
74 views
Assert.IsTrue(ActiveBrowser.Url == "http://dev.somesite.com/search"); 
Hello

We use URL Rewriting and I am triing to figure out how to see if the current page has the correct URL Rewriting rules. 

I have attempted this in a code step as follows but it is always failing. 

Any suggestions on what is wrong. I tried to verify this in the QA edition but I am unable to get the messagebox.Show to work as suggested in a previous step. Any idea on how we can debug this. 

thank you 


Missing User
 answered on 01 Jul 2010
2 answers
93 views
Hi Everybody,

I am installed Telerik Web UI test studio today only. Application is developed in silverlight using composite application guidance.

1.Tool is unable to capture login and password controls and these steps are not loading under the steps explorer while Recording.
2.How to stop recording after my recording is completed?

Please help me...............

Thanks in advance

Regards
Prakash
Cody
Telerik team
 answered on 30 Jun 2010
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?