While running Test script the value of drop down is not getting selected
While recording I am able to select the value from the Drop Down menu, but while running the Test script the value is not getting selected and giving err of "Select" object.
[B]Question asked by visitor darshana[/b]
Re: While running Test script the value of drop down is not getting selected
Well you rproblem is very unclear here but there may be few reasons for this one very common is the DropDown doesn't contain the value which it recorded.
So it will be good if you can give some more details and if possible screen shot of the error.
One quick solution is if it doesn't matter what you select from the Dropdown then you can specify the same by #3
where 3 is the number of the element in the array(remember array starts from 0).
hope this will help you,
let me know if you need any more help on this
Thanks,
Kunals.
Re: While running Test script the value of drop down is not getting selected
If you are retaining the <browser>.<title>.<frame>.<object>
Like it records the webtable.event then it won't recognize.
Instead if the dropdown_1.event, dropdown_1.value is passed it works.
Try removing webtable script and execute with only dropdown_1 method.
It will work. Try using passing the value like .set "1" ...etc where dropdown has 1 item init.
This will work.
Arun*