how to retrive the tooltip by using descriptive programming
in qtp?

Answers were Sorted based on User's Feedback



how to retrive the tooltip by using descriptive programming in qtp?..

Answer / naidu

Use the "title" property to get the tool tip of any button, hyperlink etc.

Is This Answer Correct ?    0 Yes 0 No

how to retrive the tooltip by using descriptive programming in qtp?..

Answer / madhu

Browser("micclass:=Browser").Page("micclass:=Page")or
Browser("name:=Browser").Page("title:=Page")

Is This Answer Correct ?    0 Yes 0 No

how to retrive the tooltip by using descriptive programming in qtp?..

Answer / guest

Use the "alt" property of the object and use the
getelementsbytagname method.

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More VB Script Interview Questions

In our application qtp unable to indentify the menu items,we tried number of times to add objetcs into object repository but fail. through normal recording mode only objects going to add into repository but while running same recording script qtp showing a error like " unable to indentify the object". in repository there is no any properties and pro values for that object and also i tried with virtual object config also unable to find the object in application and in repository. Then what i have to do to identify menu objects????? can anybody hell me pls..............

2 Answers   Blue Star,


Why do we use Option Explicit?

6 Answers  


I need help to write a function in vbscript to click on a link. That link looks like a tab. There are 6 tabs. When I click on 1 tab it should show as "on". when I spy the class property is on. But for the one which is not clicked the class property is blank. I have objects created in our custom object repository. Please give me some idea.

1 Answers  


hi i am trying for testing job for 3+ experience(fake) can u suggest me what type of projects i can keep in my resume and how much of knoeledge i should have abt that project.thnks in advance.urgt plz

0 Answers  


Give me sm ideas to write Vbscripts abt protocol testing abilash700@gmail.com.

0 Answers  






I have an excel sheet with multiple ID's in a column. Now i need fetch those ID's in an application and check whether if it already exist in the DB. If not then i have to go with the process of inserting them in the DB. If it exists then i need to skip that ID and move to the next ID and check the same and proceed. How can i do that with for loop and if condition?

0 Answers  


How can you have different number of cells for each row of a table in HTML?

2 Answers  


What is the use of option explicit statement?

0 Answers  


How to get 120 using 5 zeroes, you can use any operator(+, *, /...) in qtp.

2 Answers   Cognizant,


what is extension of the file if its saved from recovery manger to some drive

1 Answers  


Write VB script to convert from feet to inches(hint 1feet=12 inches)

2 Answers  


I am running a windows based application.While running the script on QTP ,The Application pop-up an Error Message as "object Disabled" in two different scenarios Scenario 1-->The Application pop-up up a Message for Max Session Reached(as the application is set to hold 2 session and if if crosses the pre-defined limit then the error message pop-up) Scenario 2-->When Network connectivity is disabled the Application screen gets greyed out in colour with no operation possible. Now through Exception handling features in QTP ,we need to do the following For Scenarion 1-->Through Exception handling we need to just accept the Message pop-up in the Application and and resume with the call function as is for Scenario 2--> Through Exception Handling featutes on QTP we need to shut down the client , restart the client and resume the call functions as it is Note: The Application returns an Error Message as "object disabled" in both the cases i.e for pop-up message and when the Apllication getting greyed out due to Network failure how can we enhance the script in such a way that for the same error message retured by the application in two different and how to handle them????

2 Answers   Sasken,


Categories