Monday, 30 September 2013

Selecting combo box values

Selecting combo box values

I'm trying to implement a data driven test approach using Selenium
(Python) but I've run into an issue selecting dynamic values from multiple
combo boxes. I'm currently aware of one option, using method
driver.execute_script("JAVASCRIPT TO GET COMBO BOX OPTION") but hard
coding the values defeats the purpose of automated data driven testing. Is
there any other solution?
P.S Please let me know if there is any additional info needed.
Thanks, Eric

No comments:

Post a Comment