문제

I have created a coded UI test using visual studio , I got the code in VB and I need it in c# ,is there a way to convert it to c# using visual studio? or that I must do the coded UI process all over again ?

도움이 되었습니까?

해결책

I had a similar problem last year where I was asked to recode a project from VB to C#. I ended up re-recording the entire project in C# since the Designer Files are computer generated, they can't be editted by the UI Tools if they're VB then converted to C#. It also gave the opportunity to redesign the tests in a more functional way.

다른 팁

I don't have VB test handy to check this, but you could try using a web based converter and go from there. Might be better than starting from scratch.

http://www.developerfusion.com/tools/convert/vb-to-csharp/

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top