hi Gayatri
you just try this code, you are not able to click particular menu directly.
You count no of menus and click the specifiecd one.
set obj=SwfWindow("IntraLinks Designer").SwfObject("New User")
countitem= obj.GetItemsCount
msgbox countitem
item2=obj.getitem(2)
obj.showdropdown(item2)
Regards
Tamil
On 9/27/12, JAMI GAYATRI <[email protected]> wrote:
> My application has following *menu bar*.
>
> MyComputer NewUser NewGroup Organization.
>
>
>
> Steps
> 1.Added NewUser object in ObjectRepostory.
> 2.Highlight the Newuser
>
> Expected Result
> NewUser should get highlight
>
> Actual Result
> Whole Menu[MyComputer NewUser NewGroup Organization] all is getting
> selected as a one.
>
>
> *Problem* - Unable to identify each menu option uniquely so when i execute
> the command
>
> SwfWindow("IntraLinks Designer").SwfObject("New User").Click
>
> MyComputer screens displays not NewUser.
>
> *Techonology - .net , Desktop Application*
>
> Please provide any solution for this.
>
>
> --
> You received this message because you are subscribed to the Google
> "QTP - HP Quick Test Professional - Automated Software Testing"
> group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/MercuryQTP?hl=en
>
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en