Example of CodedUI test in Visual Studio using Ranorex API : General Questions

Example of CodedUI test in Visual Studio using Ranorex API

Ask general questions here.

Example of CodedUI test in Visual Studio using Ranorex API

Postby Stian » Tue Jan 31, 2012 9:55 am

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.
Stian
 
Posts: 16
Joined: Mon Jan 30, 2012 10:38 am

Re: Example of CodedUI test in Visual Studio using Ranorex API

Postby Stian » Tue Jan 31, 2012 11:50 am

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?
Stian
 
Posts: 16
Joined: Mon Jan 30, 2012 10:38 am

Re: Example of CodedUI test in Visual Studio using Ranorex API

Postby Support Team » Tue Jan 31, 2012 2:17 pm

Hi,

What I am really curious about now is how to run these tests on other browsers, like Safari and Chrome.

There is a new blog which handles this topic.
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
User avatar
Support Team
Site Admin
 
Posts: 4841
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: Example of CodedUI test in Visual Studio using Ranorex API

Postby Stian » Tue Jan 31, 2012 2:37 pm

Many thanks, I'll have a look :)
Stian
 
Posts: 16
Joined: Mon Jan 30, 2012 10:38 am


Return to General Questions

Who is online

Users browsing this forum: No registered users and 0 guests