write a script to verify the image path(src property) of
the images which are in web
pages.(do it by Descriptive method by creating a
description object)
Answer / amiricks
Hi friends i am using a website named www.indiabells.com to
answer this please do correct me if i am wrong
Dim ObjBsr,Pg,Img,Val,Val1
Set ObjBsr = Description.Create
ObjBsr("name").value = "India Bells: Latest Indian
News,Online News Updates,Breaking News"
Set Pg = Description.Create
Pg("title").value = "India Bells: Latest Indian News,Online
News Updates,Breaking News"
Set Img = Description.Create
Img("image type").value = "Image Link"
Img("alt").value = "Murder 3 Music Out"
val = Browser(ObjBsr).page(Pg).Image(Img).GetROProperty("href")
val1= Browser(ObjBsr).page(Pg).Image(Img).GetROProperty("src")
msgbox val
msgbox val1
Regards
Amit
| Is This Answer Correct ? | 2 Yes | 0 No |
Is it possible to return multiple values from a function..? Then how..?
In an interview, what r the general questions asked in QTP? pls give me anwser to this question?
what is option explicit?
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 run a test using quicktest professional?
What is the difference between shared and local object repository?
When we r doing data driven test with chkpts, i want to insert formulae in data sheet but i didn't get. How we wil do that plz. explain in detail.
Suppose i have a script which is having 100 lines.I want to execute that script starting from line no 75.means first qtp should read the script from line no 75 how can u do it.
5 Answers Lehman Brothers, rsystems,
what difference between client and server applications exatly?
Are You using any frame work? What is that? Explain about that.
How do we create and run the scripts with out using O.R. ?
How many types of actions are there in quicktest professional?