I am new to selenium.
below is the situation where I need a regular expression.
When I click on a button every time a new window pops up and the name is as follows:
Window1 name = "Test1234"
Window2 name = "Test7846"
In the window name is "Test" is constant and followed by a 4 digit number.
I am trying the selectFrame statement as below:
But selenium is unable to identify the window.
Any help is appreciated.
Try and fail, but don't fail to try
if your working java platform
try in this level
Thanks for the response.
I am using Java TestNG.
I tried by using the package you have given. I was getting an error.
I also tried by importing below:
I am using the below statement:
The window name is Test followed by a 6 digit number.
But selenium is not considering this as a regular expression.
Is there any other setup required?
Thanks for the help in advance.
just try these...
hope any one will help u...
Thank/Like to help others if my input helped you !!!
I am speaking for myself, not for my employer nor any one.