Window Application deliver values to Record file

Ask general questions here.
huan
Posts: 6
Joined: Thu Sep 10, 2009 9:26 am

Window Application deliver values to Record file

Post by huan » Fri Sep 11, 2009 8:30 am

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!

huan
Posts: 6
Joined: Thu Sep 10, 2009 9:26 am

Re: Window Application deliver values to Record file

Post by huan » Fri Sep 11, 2009 9:53 am

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