simoben
unread,Jul 2, 2008, 5:41:24 AM7/2/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to watij
Hello everybody.
I want to test if my textField exist in my web page but my expression
seems not function
if
(ie.frame(1).htmlElements().textField(name,"NUM_PLACEUR").exists()) {
ie.frame(1).textField(name,"NUM_CARTE_OUV").set("122");
}
When i use this expression for textField not located in a frame, it
work well.
For exemple if (ie.textField(name,"aaa").exists())
{ ie.textField(name,"aa").set("ok"); }
This one work.
But if my textField or my selectList is in the frame the if expression
does not work.
Without if, i can fill my textField. But once i want to test if the
textField exists, it doesn't work.
Some help please