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 |
Please let know the scripts for counting number of repeated letters in the word. Note repeated letter should not be count agian. Ex: If "Hello" is my word... l is coming twice.. it should count once and print... secong 'l' should not count again..
What are the views available in quicktest professional (qtp)?
What is the use of running the scripts in Hidden-mode in UFT?
how to retrieve the column headers in database using vbscript statement in QTP
What is difference between shared and local object repository?
What are the challenges do we face while testing webbased applcations using the automation tool QTP or any?
What is QTP and the use of QTP in TD?
Among all the check points what is the most important checkpoint?
Does UNIX support QTP? If not what is the other tool used for Unix environment?
What is Parameterizing Tests?
how can u find the syntax errors or other script errors in your test during the execution of your QTP Test - (i.e., not after the execution/test run finished, but before finishing the test run)
what is smart identification?