how to retrive the tooltip by using descriptive programming
in qtp?
Answers were Sorted based on User's Feedback
Answer / naidu
Use the "title" property to get the tool tip of any button, hyperlink etc.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / madhu
Browser("micclass:=Browser").Page("micclass:=Page")or
Browser("name:=Browser").Page("title:=Page")
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / guest
Use the "alt" property of the object and use the
getelementsbytagname method.
Is This Answer Correct ? | 0 Yes | 3 No |
how to check whether link is disabled in QTP??
Explain the extension .hta?
how to acces the remote mechine using vb cript(QTP)
VBscript for QTP,best tutorial?
int a=4857 i need output as 7584.without using any inbuild function?
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
What are the different types of loops available in the vbscript language?
Explain different types of segment?
What is the purpose of regexp object in vbscript?
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.
Explain How do you create a recordset object in vbscript?
how to find greatest of n numbers!