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

Problem with Select Element

2 Answers 79 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 23 Apr 2013, 10:40 AM
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 Answers, 1 is accepted

Sort by
0
Michael
Top achievements
Rank 1
answered on 23 Apr 2013, 10:59 AM
Addendum: same problem with a completely recorded step 
0
Velin Koychev
Telerik team
answered on 24 Apr 2013, 03:21 PM
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
Tags
General Discussions
Asked by
Michael
Top achievements
Rank 1
Answers by
Michael
Top achievements
Rank 1
Velin Koychev
Telerik team
Share this question
or