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 |
Please have a look at this: a = Browser("Travel Boutique Online").Page("Travel Boutique Online_2").webelement("innerhtml:=2622").getroproperty("y") a=a+9 msgbox a Browser("Travel Boutique Online").Page("Travel Boutique Online_2").image("alt:=check","y:=a").click Now please let me explain. As clear from code I am trying to enter value of variable 'a' as Property y. But each time QTP AND MY SYSTEM stops responding when this line is execcuted. But When i enter some number in place of 'a' in the last line. it works fine. Please let me know what I am doing wrong at time of entering the variable in last line. Thanks a lot
Our company is having a windows client server application developed in vb.net. so there is a treeview and i am not in a position to record the click events in QTP. so kindly help. Vivek
How to check which add-ins are associated with a test in qtp?
who is developed QTP ? is it from Mecury or HP
how did u use automating testing tools in ur job?
After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.
Hi i want to export the data from applicatioon to excel and later i want to import and use it for my scripts hoe can i do this?
Hi, My name is kishan. I have good Conceptual Knowledge on QTP. In order to Boost up my Confidence Level, I want to do a Project oriented Training only on QTP in Hyderabad. Kindly Let me know which is the Best QTP Project Training Institute in Hyderabad. Thanks in Advance kishan
How to test the login page in different ways in automation testing and i need code?
How does u create new test sets in TD?
LINUX environment supports QTP or not? LINUX environment supports QC or not?
how can you describe the basic flow of automation with conditional and programmatic logic?