Telerik Forums
Test Studio Forum
3 answers
159 views
Hello,

I have some file (e.g. file.csv) which is binded to my project and some test.

File's content is:
Name, Surname
SomeName, SomeSurname

There is an example of reading binded data in 'Quick start guide', but examples on how to write some values in existent file are absent.

Is there a possibility to change binded file at runtime in order to use changed values in latest steps and to have them after test execution?

Regards,
Svetlana
Missing User
 answered on 07 Jul 2010
8 answers
232 views
Hi,

I need to create some entity during the test and it's necessary that all properties of the entity are available during the test.
Also I need to save the data into file.

Can I use "Local data" storage for this purpose? And if yes, could you, please give an example how to write a data into "Local data" storage on some step of test.

Thanks,
Svetlana
Missing User
 answered on 07 Jul 2010
9 answers
217 views
I create some web tests , after the URL changed , i modified it in my steps the and run my tests , the new url opened "that's ok" ,
but i face another problem : all primary target changed
ex:
in the login page i have username textbox:

the old primary target =  /NegPoint/FrameFrmNegPoint/CphContentPageTxtUsernameText

now the primary target = /NegPoint_3/FrameFrmNegPoint/CphContentPageTxtUsernameText

so the the first segment of the id that is different ,the execution failed.



Cody
Telerik team
 answered on 07 Jul 2010
1 answer
145 views
Hi team,
Please help me on the below items. Thanks in advance.
1. How to import/export excel sheet during runtime?
2. How to retrieve specific cell value from excel sheet? Ex. Want to get 2,3 cell value from excel sheet during run time,
3. How to write value into particular cell in the excel sheet during runtime?
Missing User
 answered on 06 Jul 2010
1 answer
123 views
Hi team,
Please help me on the below items. Thanks in advance.
Assume DB is Microsoft SQL Server 2005.
1. How to execute the sql query with some parameters during runtime? ex select fname from Employee_table.
2. How to execute Store procedure with some parameter during runtime?
Missing User
 answered on 06 Jul 2010
1 answer
121 views
Hi Team,
We feel QA Edition testing tool is very useful to our project. I have few questions, Please guide me.
1.How to read content from text file during runtime?
2.How to write/append contents to text file during runtime?

Thanks in advance.
Missing User
 answered on 06 Jul 2010
3 answers
178 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
98 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
154 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
125 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?