Friends please let me know how id following possible in QTP:
Can I apply conditional loop on a bitmap/image or any other
checkpoint. Like if checkpoint passes then if or Else
Answers were Sorted based on User's Feedback
Answer / nalini
yeah..we can do this. we need to get the status of
checkpoint and use conditional statement. Below is the
sample code for that.
Reporter.Filter=3
bval=Browser("Google").Page("Google").Image("img").Check
(CheckPoint("img"))
Reporter.Filter=0
If bval Then
Browser("Google").Page("Google").WebEdit
("q").Set "bitmap checkpoint in QTP"
Browser("Google").Page("Google").WebButton("Google
Search").Click
Else
Reporter.ReportEvent 1,"check","Bitmap doesn't
match"
End if
Hope this will help you. let me know if you have any doubts.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / nipunkumar
Hi Nalini,
Thanks for ur answer that really worked for me.
i have updated my code without using Reporter.Filter=3,
reporter.Filter=0. Can u please explain me about these also
Is This Answer Correct ? | 0 Yes | 0 No |
How u do the back end testing in QTP?
In automation testing, while doing descriptive programing; how will u get the properties of the objects in what format, what type of a document, and by whom? Pls explain in detail. Thanks a lot
synchronization, wait,wait Property?
in which situation u will use recording and in which situation u will used to write script manually
Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)
0 Answers Autodesk, EDS, Wipro,
Explain quicktest professional (qtp) testing process?
i can done the project with QTP in that time i can say how many members in my team size?
What is the difference between a Test and a Business Component? Is it necessary to use Business Component while testing an application in the real time?
in a web table , i want you to click a particular object inside cell
i'm using QTP 8.2, How should i select(browse) object repository from desktop(or from local local drives like C:\,D:\)?. Note:- object repository to select(browse) is been sent by some other person who is using QTP 9.0
how open two urls in one browser? plz urgent
What is the ur roles and responsibilities as automation testing engineer?