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

How to use webaii along with visualstudio test

1 Answer 43 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Naga
Top achievements
Rank 1
Naga asked on 12 May 2011, 10:42 PM
We have been using VS Test projects for coded web tests for a while now. We are also using RADControls in our project.
My question is how to use WebAII features say for ex Find.ById etc in my exisiting VS Test Project?

1 Answer, 1 is accepted

Sort by
0
Accepted
Cody
Telerik team
answered on 12 May 2011, 11:16 PM
Hello Naga,

If I understand how your coded web tests works, I don't think it's possible. I believe that Visual Studio coded web tests work by sending HTTP requests directly to the server and then studying/validating the responses from the server. They do not launch a browser and interact with a browser, correct?

The WebAii framework works by launching a real browser, hooking into it and then driving it just like a real user were sitting there would use it. Our Find.Byxxx functions are locating elements contained within the DOM of the browser itself.

Technically you could mix code for both into the same project/program, but I don't really see any way of making them cooperate together. Or have I guessed wrong how your Visual Studio coded web tests work? If so please clarify and we'll see what can be done to make them work together.

Regards,
Cody
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Tags
General Discussions
Asked by
Naga
Top achievements
Rank 1
Answers by
Cody
Telerik team
Share this question
or