KendoInput's InputValue gets incorrect values

3 posts, 0 answers
  1. Jared
    Jared avatar
    6 posts
    Member since:
    Sep 2014

    Posted 29 Sep 2015 Link to this post

    I believe there is a bug with the InputValue property. I have two kendo numeric text boxes, each with different values. However, when attempting to get the values they always return the value of the first box. I know the right ones are being selected because I can add attributes and get the correct attributes back. Just the InputValues return incocrrectly

    var elements = myManager.ActiveBrowser.Find.AllByXPath("//div[@id='glazeWindow']//*[contains(@class,'k-widget')]");
    KendoInput txtOne = elements[0].As<KendoInput>();
    var q = txtOne.Attributes;
    KendoInput txtTwo = elements[3].As<KendoInput>();
    var z = txtTwo.Attributes;
    Debug.WriteLine(txtOne.InputValue);<br>Debug.WriteLine(txtTwo.InputValue);

    <tbody class="ng-scope" ng-repeat="item in editBuildingFloorArea.placeSizes"><br><br><tr><br><br><td><br><br><span class="k-widget k-numerictextbox" style=""><br><br><span class="k-numeric-wrap k-state-default k-expand-padding"><br></span><br></td><br><br><td><br><br><td><br><br><td class="center"><br></tr><br></tbody><br><br><tbody class="ng-scope" ng-repeat="item in editBuildingFloorArea.placeSizes"><br><br><tr><br><br><td><br><br><span class="k-widget k-numerictextbox" style=""><br><br><span class="k-numeric-wrap k-state-default k-expand-padding"><br></span><br></td><br><br><td><br><br><td>

     

  2. Jared
    Jared avatar
    6 posts
    Member since:
    Sep 2014

    Posted 02 Oct 2015 Link to this post

    @Admin can anyone help out with this?
  3. Boyan Boev
    Admin
    Boyan Boev avatar
    1045 posts

    Posted 02 Oct 2015 Link to this post

    Hello Jared,

    Thank you for contacting us.

    Unfortunately I am not able reproduce this behavior.

    What version of Testing Framework do you use?

    Hope to hear from you soon.

    Regards,
    Boyan Boev
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
Back to Top