I'm new to Ranorex and also to C# but I have experience with C, C++ and Java. But I'm not be able to solve my little problem.
All I want is to press the Refresh-Button in Firefox. That's all. Here is a picture from my Repository.

So, I tried this Code like in the User-Guide:
Code: Select all
NewRepository.Hartgeld.Buttons.NeuLaden.Click();
Code: Select all
Ranorex.Button button = NewRepository.Hartgeld.Buttons.NeuLaden;
button.Click();

Code: Select all
try
{
Program meins = new Program();
meins.start();
}
...
public void start()
{
Ranorex.Button button = NewRepository.Hartgeld.Buttons.NeuLaden;
button.Click();
}

Regards, Alex