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 to invoke any recorded script in QTP with out using RECORD & PLAYBACK CONCEPT?
in qtp wha t is synchronisatin pt,what is the maximam time out
How to identify the objects using descriptive programming when the object property values are same, i mean in a page 10 objects are there i want to click the 6th object but all the object property values are same? using descriptive programming
what is the frame work your using in automation ?
What is the difference betweent test and component?
I would like to do some certifications in QTP. please suggese what kind of certifications can i do. I am currently put up at chennai. So please suggest some reputed centres where these courses are offered.
how to get column count in datatable
How does QTP identifies the object in the application?
How to export QTP results to an ".xls" file?
In order to select an automation tool for automating ur application, what r the things u need to consider? For eg i will go for automation; 1) When there is a lot of retesting and regression testing. 2) Return on investments. 3) Whether the tool supports the appln. 4)--------------, etc. Pls give me more number of points because my answer did not satisfy the interviewer. Very urgent pls
Does UNIX support QTP? If not what is the other tool used for Unix environment?
Define Canvas view of UFT?