Geeks Talk

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.

Selection of Rightclick menu items

This is a discussion on Selection of Rightclick menu items within the QTP forums, part of the Software Testing category; Hi, I am very new to this QTP tool. I am trying to automate our Web applications. Here, I am facing problem of accessing right-click menu items. This is the ...

Go Back   Geeks Talk > Software Testing > QTP
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 03-13-2008
Junior Member
 
Join Date: Mar 2008
Location: blore
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
ramarb is on a distinguished road
Selection of Rightclick menu items

Hi,

I am very new to this QTP tool. I am trying to automate our Web applications.
Here, I am facing problem of accessing right-click menu items.

This is the structure of my Menu:

If you click on "Image" icon, it opens two menus:

- Name
-AAA
-BBB
-CCC

- Dept
- XXX
- YYY

I had to access the menu item "XXX" like this:
1. Click Image icon as
Browser(one).Page(two).Image(img).FireEvent "onclick"; you will get Name(Web Element) and Dept menus. This step works fine, i am seeing two menus in AUT.

2. Move mouse over "Dept", then two sub menus XXX and YYY would be present.

3. Click YYY (which is also web element)

How to achieve step 2 and step 3. Example with code snippet is desired.

Thanks in advance,
Ram
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-13-2008
Moderator
 
Join Date: Oct 2007
Location: Frankfort, KY
Posts: 283
Thanks: 3
Thanked 54 Times in 36 Posts
Anshoo_Arora is on a distinguished road
Re: Selection of Rightclick menu items

2. FireEvent "onMouseOver"

3. Since this one is just a click action, you need to get Object properties of the one that you need for this action.
Reply With Quote
Reply

  Geeks Talk > Software Testing > QTP

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Tool for arranging and removing start menu items with ease. JobHelper Geeks Lounge 0 01-15-2008 02:00 PM
Menu Items Sudhan_Otsuka QTP 6 11-23-2007 02:19 AM
Selection procedure for M.E. aeronautical engg. in Anna University annamalai.mech Career Advice 0 07-13-2007 10:26 PM
Actual Window Menu is the unique extension of standard window menu that provides adva JobHelper Geeks Lounge 0 04-25-2007 08:30 AM
Table that houses "field selection" Cayenne SAP R/3 0 04-12-2007 02:02 PM


All times are GMT -4. The time now is 07:42 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved