GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Tech FAQs  >  QTP
Go To First  |  Previous Question  |  Next Question 
 QTP  |  Question 577 of 647    Print  
Drop down menu in QTP
Hi,

I am new to QTP also to Automation testing. Our company requires us to validate if we can use QTP for testing and its urgent. I tried some use cases but there is one use case I am not able to do. I tried recording, coding but find hard luck. Below is my scenario

Login to any browser
you have a menu, clicking on it will open some more menus. These are hidden menus written in java script and I am not able to record them.

Can any of you help me resolve the problem?

TIA

-Bathi



  
Total Answers and Comments: 2 Last Update: December 17, 2007     Asked by: Bathi 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
December 08, 2007 03:52:14   #1  
Anshoo_Arora Member Since: October 2007   Contribution: 384    

RE: Drop down menu in QTP
The best advice I can give you is to find some articles/tutorials on Descriptive Programming (DP) in QTP. QTP's keyword view fails to identify many objects because their object properties change when they are run. In other words, the recorded object properties fail to map the object's run-time properties. This is what I can provide you with right now:

Set TestObject=Description.Create
TestObject("name").value="SomeValue"

You can call it this way:

Browser("Browser").Page("Page").WebList(TestObject).Select "Whatever"

 
Is this answer useful? Yes | No
December 17, 2007 07:40:51   #2  
Sycho Member Since: November 2007   Contribution: 66    

RE: Drop down menu in QTP
Hi,

QTP does not capture Active Screen for WinMenu object but this object correctly populates in Local Action Object Repositry. However QTP records only one property of Menu object which objectmenutype. It is also not possible to Spy WinMenu object to see its Test Object Properties and Test Object methods.


Please correct me if i am wrong

CHEERS

CPS

 
Is this answer useful? Yes | No

 Related Questions

More details on Question: I was trying to call the QTP Scripts from Load Runner Controller Scenario. There, I only see options for Vuser Scripts, GUI Scripts, Astra Tests and All Files(*.*) options in 
Latest Answer : there is a spcial patch from mercury should be purchased for which the qtp 8.2 scripts will be compatible with load runner ...
Read Answers (4) | Asked by : Raj

I want to use QTP to test web application. in that application there is one menu like file and under that there are diff menus like create, new,open etc. so while recording if i click on new then it get recorded. but in new when i click on new then its not get recorded. why this is happening?
Read Answers (5) | Asked by : madhavi

Hi All,I'm a new member to this group. I've been recently practicing QTP tool. Problem arises when I run the Program it is running fine but simultaneously opening website URL whichever is set default. Please suggest me which options in the tools menu bar should I change to disable the URl activation when running my program.I hope you got my point!Please help me.....
Read Answers (2) | Asked by : shri

Hi,I am using QTP with peoplesoft Add-in for recording test cases for PEOPLESOFT...I want to use "RIGHT CLICK" event of the mouse... I want to right click on a link and thro' the menu appearing, wanna select an option...I was unsuccessful in my all attempts...Any help on the same would be highly appreciable...
View Question | Asked by : Rajat

In QRP 9.0 what is the use of "operation" which comes under"insert "menu how to enable it
View Question | Asked by : neha

Hii All I've a big problem, atleast for me its big.:).actually when QTP is open i'm unable to open few of my applications , they are coded in VC++ and Delphi means large part of the application is covered by vc++ and lill part is covered by delphi....If QTP is closed and then tried to open the application it will open...and one more scenario in which it is opening with QTP launched is using Runas in Rightclick menu. Plzz let me knw why is it happening so....Thnx in advance
View Question | Asked by : Prashant

How can we drag and drop an object from one Javatree to another javatree with qtp. Can u suggest any function
View Question | Asked by : priya

View Question | Asked by : manojjena78

Plz anybody can tell me in "Record & run settings" how to delete the already existed urls in first drop-down (i.e. address of the urls)
View Question | Asked by : hari prasad

Hi, I am working with applications which are build in .NET 1.1 and .NET 2.0..NET Add-ins are also selected while i am recording the test.During the record it is not recognizing some objects on the Web application. (eg: while working drop list boxes etc. QTP does not record.) When i use Object SPY the objects details are being displayed. But when i record it does not record script for the actions.Also while recording the Web application keep refreshing all the time until i stop the recording on the
Read Answers (1) | Asked by : Venkat


 Sponsored Links

 
Related Articles

Working with Menu Controls

Creating Menu and Menu Items In this tutorial we will learn about Creating Menu and Menu Items Main Menu Context Menu StatusBar and ToolBar mosgoogle Main Menu Windows users are familiar with Menu objects The MainMenu control represents the container for the menu structure of the form Menus are made
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape