Hi, i am new in this forum, I am from Argentina, sory if you don´t understand completely what i write.
I am using DP programming cause a web page have identical objects. I read that the correct form is using the parameter index or location, i chose index.
Descripting an object, is not posible to use variables as a description of the object am i right?
Example working:
Example NOT working:
The 2nd way is much better cause i can add new rows in the dataTable without touching the code, but it doesn´t work for me, what i am doing wrong? Is there any way to do what i am looking for?
Thanks
I am using DP programming cause a web page have identical objects. I read that the correct form is using the parameter index or location, i chose index.
Descripting an object, is not posible to use variables as a description of the object am i right?
Example working:
Code:
aux=Environment.Value("ActionIteration")-7
If (aux=0) Then
Browser("Browser").Page("Page_4").Link("name:=Unicef -","html tag:=A","text:=Unicef -","Index:=0").Click
End If
If (aux=1) Then
Browser("Browser").Page("Page_4").Link("name:=Unicef -","html tag:=A","text:=Unicef -","Index:=1").Click
End If
Example NOT working:
Code:
aux=Environment.Value("ActionIteration")-7
Browser("Browser").Page("Page_4").Link("name:=Unicef -","html tag:=A","text:=Unicef -","Index:=aux").Click
The 2nd way is much better cause i can add new rows in the dataTable without touching the code, but it doesn´t work for me, what i am doing wrong? Is there any way to do what i am looking for?
Thanks