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 |
Have you performed Debugging and how did you?
Are You using any frame work? What is that? Explain about that.
Without using gui map editor we can recognize the application in winrunner ?
how to connect qtp to sqlserver?(if any body know about this please send mail to me:sheik_feroz5@yahoo.com)thank u
How does u create new test sets in TD?
what is On Error Resume Next ?
I wanted to create Data Driven test for login page (loginname,password). Password is same for all the loginnames. I recorded the script for one user. I mentioned all the user names in the global excel sheet with the column name as "Loginname". I mentioned 5 loginnames. I selected tools- >datadriver and select loginname. Select parameterize and select parameter all option.Changed the parameter name to "loginname" which i mentioned in the global excel sheet. I executed the script. For the users 2 and 4 only, the script is failing... can anybody explain why the script is failing for users 2 and 4.
Analyzing the Checkpoint results ?
How to create basic scripts from a manual test case in QTP?
How u will do versioning in QTP?
I am using environment variable xml to give credenatials for login into unix. Is there any way we cam mask the password in the xml?
Hi, i have a string like "INDIA". I need to display this string vertically in Msgbox?