I have a page , where I Have a link which adds 2 text boxes.
I fill them and submit them .They are not in a table and no unique property , so how can I enter text since they are random
nexttime when I click the link it adds 2 more text boxes
So How do I enter the values .
I used regular expression and checked if the textbox is empty and to fill it if empty but it is not working when I add new textboxes.
use child objects method. Also post the snapshot.
are the new test boxes appearing one after the other i mean about the index.
when things gets harder ,the harder gets going
[ QUOTE ]
use child objects method.
[/ QUOTE ]
Textbox 'value' property should be empty, so it will get newly added textbox as childobject.
Today is always better than Tomorrow My Blog My LinkedIn
Post the snapshot of the UI and object spy on spying over these randomly generated text boxes.
U should have some property for these textboxes, i am sure just post the snapshot of object spy
U can use the following
set objDesc = Description.Create
objDesc("micClass").value = "WebEdit"
objDesc("name").value = "Type"
Set allWebEdit = B().P().Childobjects(objDesc)
'Now iterate through the text boxes and fill in required data.
Winds of Change