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

how to check whether link is disabled in QTP??

0 Answers  


Explain the extension .hta?

0 Answers  


how to acces the remote mechine using vb cript(QTP)

0 Answers   TCS,


VBscript for QTP,best tutorial?

2 Answers   Wipro,


int a=4857 i need output as 7584.without using any inbuild function?

6 Answers   Aspire,






Open Yahoo Login Page in that page Suppose i have 100 mails and i want to delete 10'th mail now give procedure & Coding For that Scenario

4 Answers   AppLabs, IBM,


What are the different types of loops available in the vbscript language?

0 Answers  


Explain different types of segment?

0 Answers  


What is the purpose of regexp object in vbscript?

0 Answers  


My questions is while writting descriptve programming, lets take flight reservation. Line1: systemutil.Run "D:\Program Files\Mercury Interactive\QuickTestProfessional\samples\flight\app\flight4 a.exe" dialog("text:=Login").WinEdit("attached text:=Agent Name:").Set "mercury" dialog("text:=Login").WinEdit("attached text:=Password:").Set "mercury" dialog("text:=Login").WinButton("text:=OK").click window("text:=Flight Reservation").Activate window("text:=Flight Reservation").ActiveX ("acx_name:=MaskEdBox").Type "111111" window("text:=Flight Reservation").WinComboBox("attached text:=Fly From:").Select "Frankfurt" window("text:=Flight Reservation").WinComboBox("attached text:=Fly To:").Select "London" window("text:=Flight Reservation").WinButton ("text:=FLIGHT").Click window("text:=Flight Reservation").dialog("text:=Flights Table").WinList("text:=From").Select "13536 FRA 08.00AM LON 08.45AM SR $163.00" window("text:=Flight Reservation").dialog("text:=Flights Table").WinButton("text:=OK").Click window("text:=Flight Reservation").WinEdit("attached text:=Name:").Exist window("text:=Flight Reservation").WinEdit("attached text:=Name:").Set "sagar", Now i m getting the error in the last line. it is not accepting the WinEdit("attached text:=Name:") Please do solve this urgent...! and i want to know how to insert additional properties for an object and which properties we need to select from the object spy.

3 Answers  


Explain How do you create a recordset object in vbscript?

0 Answers  


how to find greatest of n numbers!

3 Answers   Syscon,


Categories