This is a migrated thread and some comments may be shown as answers.

Extracting value form Kendo Grid Value cannot be null.

2 Answers 113 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Boris
Top achievements
Rank 1
Boris asked on 11 Mar 2016, 08:49 AM

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 Answers, 1 is accepted

Sort by
0
Boris
Top achievements
Rank 1
answered on 11 Mar 2016, 09:57 AM
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.
0
Boyan Boev
Telerik team
answered on 16 Mar 2016, 07:30 AM
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!
Tags
General Discussions
Asked by
Boris
Top achievements
Rank 1
Answers by
Boris
Top achievements
Rank 1
Boyan Boev
Telerik team
Share this question
or