Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on Help with Java Swing Menus within the QTP forums, part of the Software Testing category; I am trying to work with Java Menus using QTP. The menu items contain US states and territories. There are 3 types of menus: (1) States by themselves. (2) States ...
|
|||||||
|
|||
|
I am trying to work with Java Menus using QTP. The menu items contain US states and territories. There are 3 types of menus: (1) States by themselves. (2) States broken up by their first initial A-M and N-Z (3) States broken down in a submenu object again broken up by their first initial A-M and N-Z. How does one select the state at a submenu level? Is there some way to query at what level of the menu that it lies? I have tried using Exist statements at each level, but this did not seem to work????
I need to select the state from this Menu structure. Any help working with Java Swing Menus would be appreciated. The 3 levels can be summarized as follows: JavaWindow(object).JavaDialog(object).JavaMenu(state) JavaWindow(object).JavaDialog(object).JavaMenu(state_range).JavaMenu(state) JavaWindow(object).JavaDialog(object).JavaMenu(submenu).JavaMenu(state_range).JavaMenu(state) |
| Sponsored Links |
|
|||
|
Re: Help with Java Swing Menus
hi friend,
Exist statement will not work try identifying innertext and html tag of that specific menu and will surely identify the sub menu Thanks Deepasree |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Swing | nikhil015 | Java | 2 | 06-27-2009 03:00 PM |
| file upload using java swing and applet | kumarprabu | Java | 0 | 06-20-2008 05:21 AM |
| In VB Application QTP is not recognising Menus. | Consultant_A | QTP | 1 | 06-18-2007 08:56 AM |
| diff b/w AWT and Swing | vmshenoy | Java | 2 | 01-05-2007 06:06 AM |
| Swing Question | Informatiker | Java | 2 | 09-16-2006 03:53 PM |