Extracting value form Kendo Grid Value cannot be null.

3 posts, 0 answers
  1. Boris
    Boris avatar
    10 posts
    Member since:
    Mar 2015

    Posted 11 Mar Link to this post

    Hello,

    I have a problem with extracting a value form Kendo Grid.
    The table is with three columns and I want to extract the text in second column of the first row. The second column cointains a full name of person.
    Every time I run the test the full name in second column is different and I want to get this full name and use it for later.
    I do the extraction with Quick Tasks.

    Example:
    Extract-kednoGrid:[2, 0] Cell text is "FirstName SecondName LastName"

    and I change only the DataBindVirableName to FullNameTableCell (for example)

    But when I run the test gives me the following error:

    Value cannot be null.
    Parameter name: key
    InnerException:
    System.ArgumentNullException: Value cannot be null.
    Parameter name: key
       at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
       at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
       at ArtOfTest.Common.Design.Extensibility.ExtractionDataStore.AddToStore(VerificationDescriptor descriptor, DescriptorValueStore values)
       at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)

  2. Boris
    Boris avatar
    10 posts
    Member since:
    Mar 2015

    Posted 11 Mar Link to this post

    The extraction works when I use form Quick Tasks, this opiton

    Extract - text contains 'FirstName SecondName LastName',

    and only have to change the Find Setting, to locate the correct cell in Kendo Grid.
  3. Boyan Boev
    Admin
    Boyan Boev avatar
    1039 posts

    Posted 16 Mar Link to this post

    Hi Boris,

    Happy to hear that you have resolved your issue.

    If you need further assistance please let us know.

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