abdul_rp
14 years agoContributor
Verification StripMainMenu's items
Hi,
I want to verify the submenu items of the StripMainMenu in runtime and I am facing the weird problem the scenario is as follows:
Initially I am taking the count from Submenu
Form["StripMainMenu"].Items("View").SubMenu.Items("Charts").SubMenu.Count
Eg:The Count is 2 at first instance
In run time after creating charts(Performing some operation) the count of the submenu item will be incremented by 1 , I am seeing 3 items in Submenu in the StripMainMenu,but the Tool shows its count as 2 . I have used delay and other wait options after performing the action in runtime but it didn't work.
Can any one suggests me what will be the problem?.
Regards,
Abdul Rahim