07-16-2010, 06:59 PM
What Saket is telling is absolutely right ,if we are passing a variable can not use it within double quotes, use concatenation
You can use the below code...
You can use the below code...
Code:
aux=Environment.Value("ActionIteration")-7
aux=Cint(aux)
Browser("Browser").Page("Page_4").Link("name:=Unicef -","html tag:=A","text:=Unicef -","Index:=" & aux).Click