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
  2. Valuable information thanks for sharing UFT Online Training

    ReplyDelete

Post a Comment

Popular posts from this blog

XPATH for IE / internet explorer

All time good software testing books!

Website's underlying technology for automation