Telerik Forums
Testing Framework Forum
31 answers
750 views

I've got a list of entries in a page that I would like to iterate through. I was hoping to do this, without having to record each and every entry, using a count of the items and an iterator.

I modified my code to include a reference to the item in the pages.g.cs file (by inspecting the DOM for the page). Do I need to create an entry under the tstest file?

<d2p1:AutomationStep i:type="d2p1:AutomationStep">
      <d2p1:ContinueOnFailure>false</d2p1:ContinueOnFailure>
      <d2p1:CustomDescription i:nil="true" />
      <d2p1:Description>RadListBoxItem
etc...

Cody
Telerik team
 answered on 26 Mar 2013
3 answers
97 views
While recording i am having a combo box with check boxes in it, when i select one of the check box from combo box it is not able to record. In debugging i am not getting the field value as expected. 
Plamen
Telerik team
 answered on 24 Mar 2013
2 answers
368 views
Hi,

Can you tell me what is the difference between the Method WaitForAjax() and this snippet:

browser.Manager.Wait.For (c =>
       browser.Actions.InvokeScript<bool> ("Sys.WebForms.PageRequestManager.getInstance().get_isInAsyncPostBack()") == false, false, timeout);

I always thought that WaitForAjax() should do the same, but there are situations where it doesn´t wait (long enough) but this snippet does.

Kind regards
Silvio
Silvio
Top achievements
Rank 1
 answered on 22 Mar 2013
13 answers
504 views
I am new to Telerik . I have recorded a sample test given in user guide. I used data binding feature to bind  a local data  table to text input
in a search box of web page. I want to verify whether it extracted correct value from table and putting it in to text box. When I run test it shows launching browser, going to url but then it just hang up. Is there any way to check the extracted value from data table at run time like getting it displayed in messagebox. I tried using  a script step to insert a script step " MessageBox("Value of Col is")
in the code behind file. But I received an exception with function name not found?
Please help me out. Thanks in advance for your time and help!

Plamen
Telerik team
 answered on 20 Mar 2013
2 answers
84 views
Hey Team, I am working with an element that has a Boolean attribute:

<INPUT id=SimpleSearchField class=Search_Simple_textField disabled value='"Hello "World"' maxLength=1000 type=text>

The "disabled" attribute, which Telerik parses as just disabled, and IE 8 parses as disabled="disabled".

I cannot run any verification on this attribute, and I am also having difficulty locating it in a coded step as well. Do you have any advice?
Baxter
Top achievements
Rank 1
 answered on 15 Mar 2013
1 answer
96 views
I am trying to run a series of tests that make up an entire test case regarding a login screen (username no password, password but no username etc etc) so that I can test the correct messages back to the user.

I have several individual tests that are working when run as individuals, however when I try and run them in sequence (with nUnit) I get a timeout exception when trying to get the active browser for the second test (at the moment only trying with two tests).

Below is the trace that I get.

at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo, Object target)
at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout, WaitResultType errorResultType)
at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
at ArtOfTest.WebAii.Core.Manager.WaitForBrowserToConnect(Int32 browserIndexToWaitFor)
at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser()
at AutoTestLibrary.MattLoginTest.TestInitialize() in C:\Repos\osmotion\autotester\AutoTestLibrarySAM\MattLoginTest.cs:line 93

We are using Telerik Test Framework 2012.2.1420.0
This is in Firefox 19.0.2 but also occurs in Chrome 25.0.1364.152 m
When running with IE10 it does not load the page ever even if just running a single test on its own

OS is Windows 8 Enterprise

Boyan Boev
Telerik team
 answered on 13 Mar 2013
8 answers
186 views
Hi

For example, there is a button Add details in a website, which on clicking opens a dialog or form or popup. How to access fields present in that newly opened window, how to set text and click buttons present in the newly opened window?

Thanks
Sudarshan
Boyan Boev
Telerik team
 answered on 11 Mar 2013
1 answer
64 views
Hi All,

We have face an issue when using Telerik.WebAii.Controls.Html.RadComboBox: it's method SetText is not working under FF, thought under IE 10 all is working as expected. Under FF it just selects few symbols of label which is located under the RadComboBox but doesn't type any symbols or set focus to RadComboBox.
RadComboBox has the following HTML:

<div style="width:222px;" class="RadComboBox RadComboBox_Default" id="ctl00_cphMain_CategoryList">
    <table style="border-width: 0px; border-collapse: collapse;" summary="combobox" class="">
        <tbody><tr>
            <td class="rcbInputCell rcbInputCellLeft" style="width:100%;"><input type="text" title="Category" maxlength="50" value=""
            id="ctl00_cphMain_CategoryList_Input" class="rcbInput" name="ctl00$cphMain$CategoryList" autocomplete="off"></td>
            <td class="rcbArrowCell rcbArrowCellRight"><a style="overflow: hidden;display: block;position: relative;outline: none;" id="ctl00_cphMain_CategoryList_Arrow">select</a></td>
        </tr>
    </tbody></table>
    <!-- 2012.2.912.40 -->
    <div style="z-index:6000;" class="rcbSlide"><div style="display:none;" class="RadComboBoxDropDown RadComboBoxDropDown_Default " id="ctl00_cphMain_CategoryList_DropDown">
    <div style="height:180px;width:100%;" class="rcbScroll rcbWidth">
    </div>
    </div>
    </div>
    <input type="hidden" name="ctl00_cphMain_CategoryList_ClientState" id="ctl00_cphMain_CategoryList_ClientState" autocomplete="off">
</div>

We use next hardware:
OS: Win 7 x32/64
Browser: Firefox 19.0
TTF: 2012.2.1317
Boyan Boev
Telerik team
 answered on 08 Mar 2013
1 answer
74 views
Hi,

How to work with the toolkit busyindicator?
Boyan Boev
Telerik team
 answered on 07 Mar 2013
1 answer
124 views
Hi,

how can i click on option in select box? I need to click the left mouse button on the Text2.

<select name="_ctl0:PlaceHolderMain:ClaimsLogonSelector" onchange="javascript:setTimeout('__doPostBack(\'_ctl0$PlaceHolderMain$ClaimsLogonSelector\',\'\')', 0)" language="javascript" id="_ctl0_PlaceHolderMain_ClaimsLogonSelector">
    <option selected="selected" value="none"></option>
    <option value="Windows">Text1</option>
    <option value="Forms">Text2</option>


Plamen
Telerik team
 answered on 27 Feb 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?