Hi buddies,
I tried your solutions but no luck.. here are the details
In my screen, a table view grid is there...
1. I am adding record in first row for a column(text box) and clicked
add button which will be in end of the same row.
2. after added, row containing that record wiill be read-only and
dynamically new row will get created to enter next record.
3. Here new row - textbox column id looks like
"ctl00_MainEntry_AreaCreationControl_AreaGridView_ctl02_AreaNameFooterTextBox"
-- this is "input" tag
Added record row(1st row) - column id looks like
"ctl00_MainEntry_AreaCreationControl_AreaGridView_ctl01_ByAreaNameLabel"
- this is "span" tag
But both starts-with same grid view only.
So i tried below command and not working.
//selenium.Type("//input[starts-
with(@id,'ctl00_MainEntry_AreaCreationControl_AreaGridView_ctl')]",
"test");
but if try below thing without mentioning tag type, its finding the
Added Row record. But i need new row to enter data not added row. So i
tried above command with input tag. but no luck...
//selenium.Type("//*[starts-
with(@id,'ctl00_MainEntry_AreaCreationControl_AreaGridView_ctl')]",
"test");
Hope you guys got my scenario to solve...
Can anybody help me on this?
thx in advance,
Shanmugavel
-----------------------------------------------------------------------------------------------------------------------------------------------------------------