Crear nueva cuenta de Google Selenium C# prueba

I am new to Selenium C# and was testing GMail Create New Account. And i am stuck in providing value to Month selection. I've searched online but no reference is available for the same scenario.

Por favor, ayuda.

Ref Foll page :

Muchas Gracias

preguntado el 12 de febrero de 14 a las 05:02

How are you planning to solve the Capcha? -

Now worked on it till now. Do you have any sugessions. -

2 Respuestas

You will not be able to automate the Captcha as it's whole purpose is to stop automated non-human interaction.

However, Gmail allows you to add "+randomString" to an existing email to create pseudo new accounts.

e.g. will forward emails to

If you application under test supports this email format, then you could create accounts in this way.

Alternatively, you can use something like to create temporary email addresses

Respondido 12 Feb 14, 08:02

You need to perform two steps
1. Click on Month input, its id is BirthMonth
2. On popup click on the desired month, months are present inside a div with id as :monthNumber. monthNumber is 0 based so for January its is id :0.

I am not familiar with C#, Java solution will look like

WebDriver driver = new FirefoxDriver();
// Click on Month dropdown
// Select month from popup

Respondido 12 Feb 14, 05:02

Hi Karna, thanks for your useful reply. The code will be : IWebElement HiddenBirthMonth = null; IWebElement HiddenBirthMonthSelect = null; HiddenBirthMonth = driver.FindElement(By.Id("BirthMonth")); HiddenBirthMonth.Click(); HiddenBirthMonthSelect = driver.FindElement(By.Id(":8")); HiddenBirthMonthSelect.Click(); - user3300131

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.