Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[UFT] SwfObject as Toolbar: select item without coordinates
#1
Not Solved
Hi,
I have a Toolbar with menu.

If I use the "record operation", UFT creates this code:
Code:
SwfWindow("MyApp").SwfObject("_Form1_Toolbars_Dock_Area_Top").Click 827,9
SwfWindow("MyApp").SwfWindow("SwfWindow_2").SwfObject("SwfObject").Click 56,19

I would not use the coordinates because The order of the menu items could change.

In menu i have: 
Item 1 
     SubItem 1

How can I select SubItem 1?

This is my object:
[Image: uft_sfwObject.png]

Thanks.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Password Encryption / Decryption for swfobject YogeshCallappa 0 1,750 06-23-2017, 03:57 PM
Last Post: YogeshCallappa
  Cannot identify the specified item Beginner 0 2,478 06-22-2017, 04:55 PM
Last Post: Beginner
  [UFT] Get Item of ListBox and convert it to array felino 1 2,432 11-26-2015, 02:20 PM
Last Post: felino
  WinListView set item command Shahino007 0 2,642 10-06-2015, 03:57 PM
Last Post: Shahino007
  Click on drop down and select second option using HP UFT Tusharguru99 2 6,666 07-30-2015, 06:06 PM
Last Post: Neetha

Forum Jump:


Users browsing this thread: 1 Guest(s)