Could someone provide me with a coded UI test sample developed in Visual Studio using the Ranorex API?
I've managed to run tests developed in Ranorex Studio through Visual Studio, but I would like to develop the tests using only Visual Studio working through the Ranorex API.
An example of a test implemented this way would be great.
Example of CodedUI test in Visual Studio using Ranorex API
Re: Example of CodedUI test in Visual Studio using Ranorex API
Okay, I am sort of getting there...
I've managed to create an object repository with Ranorex Spy, exported it to a C# code file which I included in my Visual Studio. From there I managed to click a button defined in the repository without doing any recording.
Is this the way to work through the API (edit the repository through Ranorex Spy and use it via VS and the Ranorex API)?
All good so far...
What I am really curious about now is how to run these tests on other browsers, like Safari and Chrome.
Anyone got a tip?
I've managed to create an object repository with Ranorex Spy, exported it to a C# code file which I included in my Visual Studio. From there I managed to click a button defined in the repository without doing any recording.
Is this the way to work through the API (edit the repository through Ranorex Spy and use it via VS and the Ranorex API)?
All good so far...
What I am really curious about now is how to run these tests on other browsers, like Safari and Chrome.
Anyone got a tip?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Example of CodedUI test in Visual Studio using Ranorex API
Hi,
The only thing you can't use is the Ranrorex Test Suite file and the data binding, so you have to set the variables via code, but this shouldn't be problematic.
If you have any further questions regarding this blog, don't hesitate to contact us.
Regards,
Markus
Ranorex Support Team
There is a new blog which handles this topic.What I am really curious about now is how to run these tests on other browsers, like Safari and Chrome.
The only thing you can't use is the Ranrorex Test Suite file and the data binding, so you have to set the variables via code, but this shouldn't be problematic.
If you have any further questions regarding this blog, don't hesitate to contact us.
Regards,
Markus
Ranorex Support Team
Re: Example of CodedUI test in Visual Studio using Ranorex API
Many thanks, I'll have a look 
