How to change QTP / UFT Insight image during execution?



If you have started using UFT then I am sure you would have at-least given this feature a try:

UFT Insight = Image based identification

 Mandatory /assistive/smart identification does not work in Insight
Ordinal /Visual relation identifier do


Insight objects contain the image either internally (when created during record or learn) or by supplying an image using the ImgSrc property
Descriptive programming:
InsightObject("ImgSrc:=C:\Image.jpg").Click
InsightObject("ImgSrc:=C:\Image.jpg").Click

SetTOProperty:

InsightObject.SetTOProperty "ImgSrc", "C:\Image.jpg"
InsightObject.Click


Options for Insight Object are at Tools>Options>GUI Testing>Insight. This pane enables you to define options that customize how UFT handles Insight test objects


Hope you got enough insight, Happy Testing!



Comments

  1. Can you please let me know how to find out the path where Insight object images are saved in hard drive ? I checked in Test-> Snapshots folder but it has .rar files

    ReplyDelete

Post a Comment

Popular posts from this blog

Software Testing @ Microsoft

Trim / Remove spaces in Xpath?