Element EnumerationType

4 posts, 0 answers
  1. Govind
    Govind avatar
    13 posts
    Member since:
    Aug 2014

    Posted 18 May Link to this post

    The Element EnumerationType returns value "Other" for <form></form> in version 2016.1.330

    As per the Enumeration Type should return a value of 19 for <form>

     

    When we use the Element.TagName returns the element form.

    This seem to be a bug in the release.

  2. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 23 May Link to this post

    Hello Govind,

    Please provide us with reliable repro and we will be happy to take a look.

    Thank you for your cooperation in advance.

    Regards,
    Ivaylo
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  3. Govind
    Govind avatar
    13 posts
    Member since:
    Aug 2014

    Posted 23 May in reply to Govind Link to this post

    Hi Ivaylo,

    Try the below piece of code against a website that contains the form element. Check the result for ElementType returned and compare it against the Element Type Enumeration on the TestStudio API Docs.

    The value returned is "OTHER" for element <form>.

         Element element = Manager.ActiveBrowser.Find.ByExpression("name=paymentForm"); // Parent
          if (element != null) {
              Manager.Current.Log.WriteLine("\n Element Tag:= " + element.TagName + "\n Element Type:= " + element.ElementType);

          }

    cheers

    govind

  4. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 26 May Link to this post

    Hello Govind,

    Give me some time for a repro.

    Regards,
    Ivaylo
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top