Ask a Question

How to parameterize image for click action

Occasional Contributor

How to parameterize image for click action

Hello ,


I have bunch of image for a mobile applciation , and i need to perfrom click action on every image. I want to pass a fresh image with image name on click method and the method should be loop till the image found with the image name on Imageprository . can some one help me on fixing this issues, i am using VB script 

This is code i am using :


i want to pass differnet images in the place of password image with the image name,could someone help me on fixing this ?

Community Hero





Do you mean something like this:

Dim strImageName : strImageName = "Password"

Set obj = Eval("ImageRepository.BING_Set." & strImageName)

Call obj.Touch()


  /Alex [Community Hero]
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
Showing results for 
Search instead for 
Did you mean: