Posts: 34
Threads: 0
Joined: Mar 2015
Reputation:
1
05-21-2015, 08:23 PM
solutions 1:
Hold the control key when adding the object to repository so the object are added correctly. by holding ctrl key u can check the property of Menu item the add them to OR.
solution2:
use mouse over method on menu Item so sub menu items will open.
To click on tool tip use mouse over then "fireevent" click. this might resolve.
Posts: 57
Threads: 13
Joined: Feb 2014
Reputation:
0
05-22-2015, 04:27 PM
Hi Babu,
Thanks for the solution. but my req doesnot match with ur sol..
I have a menu bar which is have 6 modules(If i use object spy the ,enu bar is acting as web element and the Title is empty, If i spyed on the module in the menu bar it is showing the Title)
My Req is i should not add the 6 modules i should add only the menu as a webelement and get all the tool tips of that menu.
because the module text is changing randomly but the tool tip of the module will not get changed so i should click the module by passing the tool tip as parameter and if the tool tip exists in the menu it should clicked else it should return Fail.
-----------------------------
I tried by adding Individually webelements and mousehovering its working--//but not according to my reqs.
Posts: 34
Threads: 0
Joined: Mar 2015
Reputation:
1
05-22-2015, 08:03 PM
in this scenario u can use Virtual object concept...it my 2 cents idea.