If all the objects are identifying uniquely then you can go for discriptive programming with the help of index.
for example
Consider the HTML code given below
Now the html code has two objects with same description. So distinguish between these 2 objects we will use the “index” property. Here is the description for both the object
If you go through the Descriptive programming fully i think you might get some new ideas.
I am also a begineer so my apologies if I said some thing wrong.
for example
Consider the HTML code given below
Code:
<INPUT type=”textbox” name=”txt_Name”>
<INPUT type=”textbox” name=”txt_Name”>
Now the html code has two objects with same description. So distinguish between these 2 objects we will use the “index” property. Here is the description for both the object
Code:
For 1st textbox:
obj_Desc(“html tag”).value= “INPUT”
obj_Desc(“name”).value= “txt_Name”
obj_Desc(“index”).value= “0”
For 2nd textbox:
obj_Desc(“html tag”).value= “INPUT”
obj_Desc(“name”).value= “txt_Name”
obj_Desc(“index”).value= “1”
If you go through the Descriptive programming fully i think you might get some new ideas.
I am also a begineer so my apologies if I said some thing wrong.