is it possible to check the text displayed in the tool tip
using QTP? if so, how?
Answers were Sorted based on User's Feedback
Answer / xyz
You can capture the tool tip properties using object spy.
Open the object spy and click on the button with 'hand'
icon. Now before choosing the control for which you want
to check the properties, press ctrl key and perform mouse
hover until the tool tip is displayed. Release the ctrl key
and spy the tool tip displayed.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / krishnachand
Even i 2 got the same question in Kanbay.
I asked one of my friends n he tld 2 me as we can take a
screen shot and we can work on that.
I din't tried 4 that, if possible u try
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / vamshi
We can also get the tool tip like this
Browser("Button Tests").Page("Button Tests").WebButton
("OK").Object.title
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / tvsramakrishnachowdary
Uday Kumar_anem
Re: is it possible to check the text displayed in the
tool tip using QTP? if so, how?
Answer
# 3 We can also get the tool tip like this
Browser("Button Tests").Page("Button Tests").WebButton
("OK").Object.title
Is This Answer Correct ? 0 Yes 1 No
Uday Kumars answer is obsolutely corresct..
Good Uday....
| Is This Answer Correct ? | 4 Yes | 4 No |
Answer / uday kumar_anem
Use the ?alt? property of that object.
browser("MSN.com").Page("MSN.com").Image("Deadliest Cars //
Crash").GetROProperty("alt")
| Is This Answer Correct ? | 1 Yes | 3 No |
Answer / lsansuin
Re: is it possible to check the text displayed in the
tool tip using QTP? if so, how?
Answer
Try to use too GetROProperty("tool_tip_text")
| Is This Answer Correct ? | 0 Yes | 2 No |
How do I generate Test Results window using descriptive method ( run time ) after my test execution process? Please have a look of my below code. ========================================================= Dim qtApp Dim qtTest Dim qtResultsOpt Set qtApp = CreateObject("QuickTest.Application") qtApp.Launch qtApp.Visible = True qtApp.Options.Run.CaptureForTestResults = "Always" qtApp.Options.Run.RunMode = "Fast" qtApp.Options.Run.ViewResults = True qtApp.Open "C:\Automation\Example", True Set qtTest = qtApp.Test qtTest.Settings.Run.OnError = "NextStep" Set qtResultsOpt = CreateObject ("QuickTest.RunResultsOptions") qtResultsOpt.ResultsLocation = "C:\Automation\Example\Res1" qtTest.Run qtResultsOpt MsgBox qtTest.LastRunResults.Status qtTest.Close Set qtResultsOpt = Nothing Set qtTest = Nothing Set qtApp = Nothing ========================================================== This code is working fine, but Test Result window is not displaying after execution. Anybody can please help me regading the same. Thanks Akshaya Madali Capgemini India Pvt Ltd 9823213538
If requirments changed then how we can teach the QTP this is the new requirment
Which property do you use to retrieve or assign data into a cell in a Data Table object?
Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris
What are different versions in Win Runner ,QTP ,Load Runner and Test Director till now and atleast please let me know new features for each version. Ex QTP8.2,QTP 8.5.QTP9.2 supports Mozilla 2.0
if there r 10 windows open in QTP write a command to close all 10 windows at a time ?
How do you create regression test packs?
Shared Object Repository is preferable while dealing with dynamic objects ok? descriptive prog also same? ok but why descriptive?(only for w/o application)
how do you run scripts in QTP?please anyone can answer my questions
Where we can use the synchronization?
what is tool interface?
I want to grow as a Automation Engineer,Kindly help me in clearing my interview that what interviewer looks for as a Automation Engineer. I am having three years of experience in testing.