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
Search found 6 matches
- Fri Sep 11, 2009 9:53 am
- Forum: General Questions
- Topic: Window Application deliver values to Record file
- Replies: 1
- Views: 2015
- Fri Sep 11, 2009 8:30 am
- Forum: General Questions
- Topic: Window Application deliver values to Record file
- Replies: 1
- Views: 2015
Window Application deliver values to Record file
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 proble...
- Thu Sep 10, 2009 3:19 pm
- Forum: Automation Tools
- Topic: Windows Application in Ranorex Studio
- Replies: 2
- Views: 2829
Re: Windows Application in Ranorex Studio
Thank you. I never saw the Advanced mode in the new project dialog.
Best regards
Best regards
- Thu Sep 10, 2009 2:44 pm
- Forum: Automation Tools
- Topic: Windows Application in Ranorex Studio
- Replies: 2
- Views: 2829
Windows Application in Ranorex Studio
Hello I followed the instructions in the online documentation to find the Designer for Windows Applications. It should be easy but I can't find it..... A Ranorex Windows Application provides a Windows Forms based project frame to execute Ranorex test automation code through a graphical user interfac...
- Thu Sep 10, 2009 10:31 am
- Forum: General Questions
- Topic: Can't find GUI Elements
- Replies: 3
- Views: 2272
Re: Can't find GUI Elements
OK i found something în the forum that i need. It's the following code fragment: Form m_MessageBox = Application.FindFormTitle(AppTitle); Button bt_login = m_MessageBox.FindButton("FormLogin"); The Error Message I get says that Application has not such a method like FindFormTitle() I'm relativley ne...
- Thu Sep 10, 2009 9:31 am
- Forum: General Questions
- Topic: Can't find GUI Elements
- Replies: 3
- Views: 2272
Can't find GUI Elements
Hello I used the code following to the support code base: Form ABBControlTerminal = Host.Local.FindChild<Ranorex.Form>("ABB Control Terminal"); ABBControlTerminal.Activate(); Button button = repo.FindSingle<Button>("Login"); But I get the following errors: Cannot implicitly convert type 'Ranorex.For...