I have searched for the Regular expression in this blog, but could'nt found out, that is the last option to create a post.
This is a dropdown (id="dropDown1158735407854.7185") continuously changing every time I open the window and while executing the test selenium could not able to recognise the object.
Could any one tell me how to write the Regular Expression for this.
Thanks in Advance...
Assume you are using webdriver with Java, and the value 'dropdown' does not change:
driver.findElement(By.xpath("//*[contains(@id,'dropdown')]")).sendKeys "some values"
1. Dropdown's ID, And ID of the option in the Dropdown as well changing every time I open the window.
Unable to work out it..could you pl. help me out in writing the specific tag based on the above id..
Try this for any id with pattern "abc123.acc" or "abc123.123" or "abc123.abc123". I hope this works for selenium too!!
Winds of Change