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

System.Reflection.TargetInvocationException on Silverlight Pages.

2 Answers 71 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Madhu
Top achievements
Rank 1
Madhu asked on 01 Nov 2011, 10:42 PM
Support,

I don't know if it is a known issue or not.

Trying to execute Silverlight pages in a row getting Unexpected error while waiting on condition. Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
InError set by the client.


The same pages if executes as individual steps its working fine. Please see attached video for issue and reproducing steps.

Using Test Studio 2011.2.1028.0 version on windows 7 (32-bit) system. I see this issue since last 3-4 releases.

Thanks,
Madhu.

2 Answers, 1 is accepted

Sort by
0
Stoich
Telerik team
answered on 02 Nov 2011, 01:15 PM
Hi Madhu,
    here's what I think is happening:
The second TestAsStep Equity Trade Window is triggering some sort of a postback action. The postback causes changes in the DOM structure and is not completed as the next test "Fixed Income Trade Window" tries to invoke its steps. This causes Test Studio to perceive an inconsistency in the DOM structure of the app and to throw an error.

The best way to troubleshoot this is for you to provide us with your Test Project along with the necessary permissions to run it. That way we can take our time and analyze exactly what's going on and develop a solution. I believe we've already access your app on other occasions so I hope this will not be a problem.

Regards,
Stoich
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Madhu
Top achievements
Rank 1
answered on 02 Nov 2011, 04:26 PM
Hello Stoich,

Thanks for reply.
I will create support ticket and attach my project.

Thanks,
Madhu.
Tags
General Discussions
Asked by
Madhu
Top achievements
Rank 1
Answers by
Stoich
Telerik team
Madhu
Top achievements
Rank 1
Share this question
or