Page 1 of 1

Window Application deliver values to Record file

Posted: Fri Sep 11, 2009 8:30 am
by huan
Hello

I want to deliver some values from the Window Application to my Ranorex Record file.
For example: If i want to set the speed of the automation test, the user have the chance
to set a value in a ComboBox and start the AutomationTest with a click on the button.

So, how can I work out this problem that I can deliver this value to the AutomationTest files?

I am using Ranorex 2.1.4.

Best regards!

Re: Window Application deliver values to Record file

Posted: Fri Sep 11, 2009 9:53 am
by huan
Ok it was a programming problem.

I added a static variable in MainForm.cs which contains the value of the selected ComboBox Item.
Due to this static reference i was able to get access to the none static ComboBox element.

Best regards