cancel
Showing results for 
Search instead for 
Did you mean: 

How to perform the click actions on Janus Command bar menu buttons

Highlighted
Occasional Contributor

How to perform the click actions on Janus Command bar menu buttons

Hi,



We are automating a VB.Net application which has got Janus Command bar menu buttons (Janus.Windows.UI.CommandBars.UICommandBar 3.5.0.42).

I have TestComplete 7.5 enterprise edition but not able to capture individual menu items and perform click action on them.

Can you please guide me, how can I do this.  We use VBScript for automation.



Thanks,

Vijay
5 REPLIES 5
Highlighted
Contributor

RE: How to perform the click actions on Janus Command bar menu buttons

Hello Vijaykumar



Have a look into the help topic. UICtrlMainMenu Property.




The UI control bars supported version is Janus UIBars Control V3.0.0.25. Not sure about V3.5. But give it a try and see what happens.




Thank you

Syed




Syed Ahmed Safvan

Highlighted
Occasional Contributor

RE: How to perform the click actions on Janus Command bar menu buttons

Hi Syed,



We could not find the UICtrlMainMenu property in the control by default. We tried adding the control in the Project properties through object mapping but still we couldn't see the property in the object browser. Please guide us to get the above property in the Janus Commandbar control.



Thanks,

Vijay 
Highlighted
Staff

RE: How to perform the click actions on Janus Command bar menu buttons

Hi Vijay,



TC 7.50 does not have official support for Janus UIBars Control v.3.5 (see the "Working With Custom Controls" help topic).



However, we've created some tests with this version of the control and found no problems (the menu is accessible via the UICtrlsMainMenu property).





>> I have TestComplete 7.5 enterprise edition but not able to capture individual menu items and perform click action on them.



This behavior is normal. TC doesn't recognize individual items of this control. To access a particular item of the menu, you need to use the UICtrlsMainMenu property (see the "UICtrlMainMenu Property" help topic).





>> We could not find the UICtrlMainMenu property in the control by default.



1. Make sure that the "Janus Systems Controls Support" plug-in is installed (see the "Extensions Dialog" help topic).



2. Try to reproduce the issue with the following sample application:

"<Janus Systems>\Controls for Microsoft .NET\Windows Forms Controls v3\Demos\WordPad.exe"

Does the issue occur?



------
Yuri
TestComplete Customer Care Engineer

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
Highlighted
Occasional Visitor

RE: How to perform the click actions on Janus Command bar menu buttons

Hi,



Can you please give more details on the below comment... 



2. Try to reproduce the issue with the following sample application:

"<Janus Systems>\Controls for Microsoft .NET\Windows Forms Controls v3\Demos\WordPad.exe"

Does the issue occur?



Is this a sample project in TC or downloadable application from some site, which we can install and test using TC?



Thanks in advance!



Regards,

Guru



Highlighted
Staff

RE: How to perform the click actions on Janus Command bar menu buttons

Hi Guru,



This is a sample application shipped along with Janus controls.



------
Yuri
TestComplete Customer Care Engineer

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!


Challenge Status

Compare images using the Region Checkpoint

See replies!

Converting UTC TimeDate in an Excel file

See replies!

Compare HTML table with Excel file and correct data in Excel file

Participate!

How to execute remote test and obtain results via Test Runner REST API

Participate!
Top Kudoed Authors