Whenever we r keeping mouse pointer under the image we r
getting image name. In qtp how can we do this thing.weather
that name is coming or not?
Answers were Sorted based on User's Feedback
Answer / uday
Use the "alt" property to get the tooltip of the image.
Syntax is:
b().p().webimage().getROProperty("alt")
Is This Answer Correct ? | 1 Yes | 1 No |
Is this ur Question,How to test a icon or other image in
the web site or any window we need to test, have a tool tip
or not.to make sure i got it right.
If so we may use the check point(Image), I hope ,I am
also learning Qtp,so its my idea.Pls correct me if I am
wrong.
Is This Answer Correct ? | 0 Yes | 1 No |
Answer / guttapalyam chakrapani
select the particular icon and learn it to Obj repository.
When writing in script
B().p().WebElement().OnMouserOver
This statement will take the text value and store it into a
variable and we can display
solution-----
a=B().p().WebElement().OnMouserOver
msgbox a
Is This Answer Correct ? | 0 Yes | 1 No |
How do you convert manual test cases to automated test cases?
What is the difference in between function and sub as well as give some code of both
What are the most frequent errors you faced while executing your scripts?
Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain
In a web page when we enter the city name corresponding zip code is coming in the required field.Can any one please write how to test using QTP,whether this code is coming from Database or not.
Hi All, I have a problem with getting the value which is available in the table and it is not having any unique property. Please find the below table TopicName CreatedBy ViewCount ------------------------------------------------ XXXX Y 10 ZZZZ ZZ 0 AAAA BBB 3 In the Above table TopicNames are link and it is having an id but the remainig two columns(Created by and ViewCount) are static Web element values and they are not having any unique property. Now i want to get the values of Created BY and View count for each and every topic. Can anybody give me the solution for the above ASAP. If anybody didn't understand the above please free to send me a mail by that i can send you the snap shots and some more description. You can catch me at krishnachand.p@gmail.com
What is creation time property and how does it work?
does test plan is in test strategy or test strategy is in test plan
How do you return a value from a function
Write the vb script for the lowest and highest values of an array?
what type of scripts are asked in qtp?
when i perametarization of the test through outputcheckpoint,i have seen run time error i.e outputcheckpoint mismatch .Plz tell anybody to me(qtp).How to clear that?