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 Posted / 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 |
Post New Answer View All Answers
How to save your test using quicktest professional (qtp)?
How does qtp identify objects in the application?
what is meant by source control?
What is QTP’s model for test creation?
What are the things(properties, and other details) will be recorded while recording an object using normal recording?
How to capture all the data of a webtable, weblist and combolist using QTP?
Give me At Least 5 Differences between DOCUMENTATION OBJECT MODEL(DOM)and COMPONENT OBJECT MODEL(COM)? Interviewer said me to WRITE the difference only in points not as you WRITE a paragraph ???? only in points
what is the diffrence bw qtp architectute and qtp framework?
how did u use automating testing tools in ur job?
in a web page How to check and display a particular word from a paragraph?
We stored into the objects OR and then write the scripting
Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri
Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.
if anyone has idea of the interview procedure in covansys, plz send me a mail?
What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?