images are dynamically changes how to compare two images
Answers were Sorted based on User's Feedback
Answer / karthick
hai friend..
for this you can use isequalbin method..i am showing below
' Code for comparing two images
Set CompareUtil = CreateObject("Mercury.FileCompare")
IsEqualFlag = CompareUtil.IsEqualBin(Img1, Img2, 0, 1)
in above code 0 means in file compare class showing no
error ; syntax FC_NO_ERROR = 0
1 means in file compare class showing difference of
size; FC_DIFF_SIZE = 1
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / guru
Set Obj = CreateObject("Mercury.FileCompare")
Flag = Obj.IsEqualBin(Img1, Img2, 1, 1)
Flag = 1 both images are same
Flag = 0 both image are not same
Is This Answer Correct ? | 1 Yes | 0 No |
what is Unicode Compatibility ? HOw does this makes a diffrence from Winrunner.?
Expalin Text/Text Area Checkpoint
I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible
Among all the check points what is the most important checkpoint?
How to record a qtp script ?
How To write script in QTP For Field Validation Example: password Field is accepting A range 8-20 characters only.How to write script?
What are the advantages of QTP over WinRunner?
Explain the benefits of quick test pro(qtp)?
how to display message with out using msgbox function?
Is it possible to split an action? How?
write qtp descriptive programming to activate multiple notepads? please urgent friends
I'm quite new at QTP. Im doing a web-based app testing. I create something new item and a new link is created in the home page. This link is dynamic as it changes every 3 seconds. Obviously the new link is not in my Object Repo and I am trying to find a way how can I do a check or get the propery of the link I created. I can do it on keyword, but I need to do a check on expert mode, vbscript. I always get an error that is not identified whenever i try to check it (browser(b),page(p).link(newlink). Any idea?