Hi Ranorex Team,
Can we integrate Visual Studio Code (open source tool) with Ranorex Studio ?
Our project management are checking if this is possible ?
Visual Studio Code Website : https://code.visualstudio.com/
Thanks
Abdul
Integration of VS Code(open source tool) with Ranorex
Re: Integration of VS Code(open source tool) with Ranorex
Hi,
Have you tried the VS integration steps? Of course, you will have to adapt some steps according to the menus in your tool. I don't VS Code, but I guess it should allow to reference libs as well as to create console-based apps? And that should be all you need for successful integration.
Have you tried the VS integration steps? Of course, you will have to adapt some steps according to the menus in your tool. I don't VS Code, but I guess it should allow to reference libs as well as to create console-based apps? And that should be all you need for successful integration.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Integration of VS Code(open source tool) with Ranorex
Since Ranorex is essentially a .NET library, you can link and reference it in your VSCode projects.
However, you will be missing/losing several of the most important features that make Ranorex better than just using VS Coded UI Test, such as the Repository and Report generation. You would either have to manage these yourself or not use them at all (which would not be a good idea).
For example, not using the Ranorex Repository means that you are likely hard-coding your element locations, which violates the separation of duties principle of software development. Your script should be separate from the SUT element definitions so if you have to change one element, it is changed for the whole project from the repository, instead of having to find each instance in code. It also means that several of the most powerful parts of the API would not be usable since you wouldn't be using RepoItemInfo objects.
However, you will be missing/losing several of the most important features that make Ranorex better than just using VS Coded UI Test, such as the Repository and Report generation. You would either have to manage these yourself or not use them at all (which would not be a good idea).
For example, not using the Ranorex Repository means that you are likely hard-coding your element locations, which violates the separation of duties principle of software development. Your script should be separate from the SUT element definitions so if you have to change one element, it is changed for the whole project from the repository, instead of having to find each instance in code. It also means that several of the most powerful parts of the API would not be usable since you wouldn't be using RepoItemInfo objects.
Shortcuts usually aren't...
Re: Integration of VS Code(open source tool) with Ranorex
edit: Sorry for the double post.
{snip snip]
{snip snip]
Last edited by Aracknid on Tue Oct 23, 2018 4:07 pm, edited 1 time in total.
Re: Integration of VS Code(open source tool) with Ranorex
Another point of view....
I don't use VS Code (I use Visual Studio), but I don't use the repository either. And if you code your work intelligently, it's absolutely not a problem. When something changes in my application, I only have to change it in one place too. I also don't use the reports. I have my own system for that. True, it was a lot of work, probably more than using the Ranorex provided methods, but we already had them before we started using Ranorex and ported over from our old automation tool to Ranorex.
Aracknid.
I don't use VS Code (I use Visual Studio), but I don't use the repository either. And if you code your work intelligently, it's absolutely not a problem. When something changes in my application, I only have to change it in one place too. I also don't use the reports. I have my own system for that. True, it was a lot of work, probably more than using the Ranorex provided methods, but we already had them before we started using Ranorex and ported over from our old automation tool to Ranorex.
Aracknid.
Re: Integration of VS Code(open source tool) with Ranorex
Visual Studio =/= Visual Studio Code