Hi,
Following is the code (Recorded, the menu click -> sub level Menu click -> Menu Item click)
.SwfToolbar("_Main_Toolbars_Dock_Area_To").PerformToolAction tbmgrToolbar, tbmgrDropDown, "tlbMainMenu", "Asset" .SwfToolbar("_Main_Toolbars_Dock_Area_To").PerformToolAction tbmgrMenu, tbmgrDropDown, "tlbMainMenu,SubMenu", "SubLevelMenu" .SwfToolbar("_Main_Toolbars_Dock_Area_To").PerformToolAction tbmgrMenu, tbmgrClick, "tlbMainMenu,SubMenu,SubLevelMenu", "NewMenuItem"
While playback, it throws an error Object is not visible
as after clicking the first menu , it tries to find the sub menu (by that time) the clicked first level Menu disappears.
How to hold off the display of First level Menu, so it can click the second level menu?
I've to click the Menu item which comes after clicking 1st Menu bar Option 'File' and then 2nd level menu option 'New'.
Pl sugggest me the solution.
Thx in advance,
~Laxmikant
Hello Laxmikant,
Could you tell me which version of TestAdvantage you are using? Thanks.
version: TestAdvantage_WinForms_HP_20103
Hello,
Since you verified my last post as the answer, I'm assuming that your issue is no longer occurring. Please let me know if I'm wrong about that.
I'm not able to playback the script for Sublevel menu.
Can you pl provide me sample code you prepared?
Which sample code do you want? If you have Visual Studio on your computer, I can provide you with the entire sample project.
Yes, I've Visual Studion installed on my machine.
Pl provide me the sample project. This will be helpful to me to get my work done.
I should have asked this along with my previous question, but do you have NetAdvantage installed on your computer or just TestAdvantage?
Thanks for the update. I'll wait for you to test my sample.
Thanks for the ZIP file. I've not completed yet. I will let you know asap I finish this task.
Did my sample project help you resolve your issue?
I've attached my sample project. I created it using NetAdvantage 2011 Volume 1. If you're using a different version, just run the project through the NetAdvantage Version Utility or Project Upgrade Utility before opening it with Visual Studio.
Our dev have netadvantage installed, I can install NetAdvantage.
Pl provided me the Sample Project, so I can utilize the same.