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 |
Pls can anyone give me the descriptive programing script to find the number of edit boxes in a login window in flights reservation (windows application only not web). Pls anyone, very urgent
How can you pass value one action to another action?
How does QTP identifies the object in the application Mainly objectives are three type's OF PROPERTIES namely
How many test scripts are prapare in ur project(HeathCare Insurance).
In application have 2 list box oppsite list box two edit box is there.so now through using DP how can we select 3 opption in first list box and 2box semect 4 opption.in edit box also we have to write 25 ,28.how can we do this
I want to check in the data table(Globalsheet) column exist or not through script .If column not exist only proceeded to next step Pls tell me how to proceeded?
What is the method for maximize the application while we using Decriptive programming in QTP?
How many types of parameters are available in quicktest professional?
how u will describe testing activities?
how can we return a value from userdefined function for eg 2 functions in func1 iam getting 2 values(a,b) and storing in var(C). now i want to pass that var(c) to another func2 give me the script
Hello Everyone, I have a problem. QTP is capturing no action on a particular page in the application that I am trying to automate. But on the same side its working fine on other pages of the same application. Can someone please help me understand the reason behind this inconsistency.
When Object Repository is available what is the necessity of having Descriptive programming which needs more scripting efforts.