Problem with Select Element

3 posts, 0 answers
  1. Michael
    Michael avatar
    21 posts
    Member since:
    Apr 2013

    Posted 23 Apr 2013 Link to this post

    I check the selected Text of an Dropdown element (step before: check if exists with success)
    after the second run, i get this error
    '23.04.2013 12:35:14' - 'Fail' : 32. 2_17_Verify selection 'ByText' is 'Tous' on 'ProductOverview_Filter_DerivativeType_Select'
    ------------------------------------------------------------
    Failure Information: 
    ~~~~~~~~~~~~~~~
    Object reference not set to an instance of an object.
    InnerException:
    System.NullReferenceException: Object reference not set to an instance of an object.
       at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.SelectVerificationDescriptor.ExtractData(IAutomationHost targetBrowser, DescriptorValueStore dataStore)
       at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order) 

    I selected this element for mthe element list, selected from the suggrestion list the Verification Select 'byText' and modified the wanted text in the Inline Editor

    What is the problem,how can i solve it ask a now VERY frustrateD Michael


  2. Michael
    Michael avatar
    21 posts
    Member since:
    Apr 2013

    Posted 23 Apr 2013 Link to this post

    Addendum: same problem with a completely recorded step 
  3. Velin Koychev
    Admin
    Velin Koychev avatar
    88 posts

    Posted 24 Apr 2013 Link to this post

    Hi Michael,

    I am sorry you are experiencing this issue. We will need more details about that in order to come to the root of the issue.

    1) Try to change the role of the previous step, that checks if element exists, to "Set as Wait"  using the Test Step Context Menu.
    2) It may also be useful to set an AjaxTimeout (eg. 1000ms) to the step that selects the dropdown element, if this test step relies on an AJAX.
    3) If the previous steps do not help, could you please send us the actual test you're working on, so that we may examine it and propose improvements.
    4) Also a short video of the problem might be helpful. Jing is great for this.

    Looking forward to hearing from you.

    Greetings,
    Velin Koychev
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top