2 replaced http://stackoverflow.com/ with https://stackoverflow.com/
source | link

Insight objects can contain the image either internally (when created during record or learn) or by supplying an image (this is probably what you're looking for).

When supplying an image you need to put in in the test object's ImgSrc property, this can done either by using descriptive programmingdescriptive programming thus:

InsightObject("ImgSrc:=C:\pictureOfImageA.jpg").Click
InsightObject("ImgSrc:=C:\pictureOfImageB.jpg").Click

Or by using SetTOPropertySetTOProperty.

AbstractInsightObj.Click
AbstractInsightObj.SetTOProperty "ImgSrc", "C:\pictureOfImageB.jpg"
AbstractInsightObj.Click

Insight objects can contain the image either internally (when created during record or learn) or by supplying an image (this is probably what you're looking for).

When supplying an image you need to put in in the test object's ImgSrc property, this can done either by using descriptive programming thus:

InsightObject("ImgSrc:=C:\pictureOfImageA.jpg").Click
InsightObject("ImgSrc:=C:\pictureOfImageB.jpg").Click

Or by using SetTOProperty.

AbstractInsightObj.Click
AbstractInsightObj.SetTOProperty "ImgSrc", "C:\pictureOfImageB.jpg"
AbstractInsightObj.Click

Insight objects can contain the image either internally (when created during record or learn) or by supplying an image (this is probably what you're looking for).

When supplying an image you need to put in in the test object's ImgSrc property, this can done either by using descriptive programming thus:

InsightObject("ImgSrc:=C:\pictureOfImageA.jpg").Click
InsightObject("ImgSrc:=C:\pictureOfImageB.jpg").Click

Or by using SetTOProperty.

AbstractInsightObj.Click
AbstractInsightObj.SetTOProperty "ImgSrc", "C:\pictureOfImageB.jpg"
AbstractInsightObj.Click
1
source | link

Insight objects can contain the image either internally (when created during record or learn) or by supplying an image (this is probably what you're looking for).

When supplying an image you need to put in in the test object's ImgSrc property, this can done either by using descriptive programming thus:

InsightObject("ImgSrc:=C:\pictureOfImageA.jpg").Click
InsightObject("ImgSrc:=C:\pictureOfImageB.jpg").Click

Or by using SetTOProperty.

AbstractInsightObj.Click
AbstractInsightObj.SetTOProperty "ImgSrc", "C:\pictureOfImageB.jpg"
AbstractInsightObj.Click