How to check company logo by Descriptive?
I came accross a problem in which i am automating a web application by QTP 8.0.
I have to check the company logo but my application requirement is i should do it through discriptive only.
So i want to know that which property i should use?
I am thinking of file name but i don't have another company logo which is different from the original so i am not able to crosscheck. As i am inexperience in this case i want ur experienced suggestions.
As usual i expect great response from u all.
Re: How to check company logo by Descriptive?
To check if the correct image is loaded I use the src property.
If Not Browser("micClass:=Browser").Page("micClass:=Page" ).Image("src:=.*companyLogo.gif").Exist Then
.... Do not exist process
I use the .* wildcard for the path as my scripts can be run on 1 of 7 test environments which all have a different source path.