Search found 9 matches

by prashantb
Thu Nov 01, 2007 7:19 am
Forum: Automation API
Topic: PopUp menu not recognized
Replies: 10
Views: 5763

Hi Alex, I am still having the trouble. Please refer my script. using System; using System.Collections.Generic; using System.Text; using Ranorex; namespace RanoRexMenuActions { class Program { [STAThread] static int Main(string[] args) { Console.WriteLine("Start Ranorex Menu Action Class"); Applicat...
by prashantb
Wed Oct 31, 2007 7:02 am
Forum: Automation API
Topic: PopUp menu not recognized
Replies: 10
Views: 5763

Hi Alex,
For your information, I am using free version of Ranorex 1.2
by prashantb
Wed Oct 31, 2007 7:01 am
Forum: Automation API
Topic: PopUp menu not recognized
Replies: 10
Views: 5763

Hi Alex, I agree with you that Caption of context menu depends on the item selected in the solution explorer. If you click on solution file, the caption will be "Solution". For project file the caption will be "Project" and for any item inside the project the caption will be "Item". I have already c...
by prashantb
Tue Oct 30, 2007 12:40 pm
Forum: Automation API
Topic: PopUp menu not recognized
Replies: 10
Views: 5763

Hi Jeno, This problem is not specific due to our Test Application. It is not working even without any add-in in Visual Studio. To reproduce the exact scenario, create a C# windows application project and check for "Properties" menu item. I have debugged the script using your code. But it is returnin...
by prashantb
Mon Oct 29, 2007 9:28 am
Forum: Automation API
Topic: PopUp menu not recognized
Replies: 10
Views: 5763

Thanks Jeno I have used code sample mentioned by you. But still it could not select the menu item. I have checked the children item count and it has given me 7 for the popup menu. But actually there are 10 menu items. Then I checked the description (tuple) of each child item. Ranorex recognize its c...
by prashantb
Thu Oct 25, 2007 10:45 am
Forum: Automation API
Topic: PopUp menu not recognized
Replies: 10
Views: 5763

PopUp menu not recognized

Hi, I am evaluating RanoRex for Visual Studio 2005 Add-in. The add-in will add some context menus to the standard context menu of Visual Studio 2005. I am using following code to select the context menu, but Ranorex gives -1 error. if Ranorex.MouseClickElement(element, Ranorex.MOUSE_RIGHT_BUTTON) !=...
by prashantb
Thu Sep 27, 2007 8:00 am
Forum: Automation API
Topic: Using .NET assembly for Reusable functions in Ranorex
Replies: 1
Views: 3368

Using .NET assembly for Reusable functions in Ranorex

Hi, I have created .NET assembly ("RanorexLibrary.dll") for using reusable functions in the script which has a reference to 'RanorexNet.dll'. I am writing my test scripts in VBScript. Hence I have registered and loaded it in cache using gacutil.exe. But when I am executing my script it gives me foll...
by prashantb
Wed Aug 29, 2007 6:12 am
Forum: Automation API
Topic: How to select third and fourth level menu.
Replies: 3
Views: 3534

Hi Jeno,
I am testing Visual Studio 2005 Add-in. Hence the menus I am referring here are Visual Studio 2005 IDE menus. These Menu have class name as MsoCommandbar. Ranorex is able to recognize it as Menu but it was not selecting third level menu item i.e. "File -> New -> Project"
by prashantb
Mon Aug 27, 2007 2:19 pm
Forum: Automation API
Topic: How to select third and fourth level menu.
Replies: 3
Views: 3534

How to select third and fourth level menu.

I am using C# to test my application. I want to select Third level sub menu like "File > New > Project"

I am using following method but it won't work.
ret = MenuControl.SelectItemText("File", "New", "Project");

Also, please tell me how can I select fourth level Menu like "File>ABC>EFG>XYZ"