Thanks & Regards
Gaurav Kumar | GDC-RIA |Euronet GDC Pvt. Ltd
T (Desk) +91-20-3044 7044
Mobile +91-9970301751
--
You received this message because you are subscribed to the Google Groups "webdriver" group.
To view this discussion on the web visit https://groups.google.com/d/msg/webdriver/-/RJ-_pnroSPQJ.
To post to this group, send email to webd...@googlegroups.com.
To unsubscribe from this group, send email to webdriver+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/webdriver?hl=en.
Although it worked for you, you should really use something like suggested by PeterJef or something which would uniquely find that element like ""In your case, you are lucky to have 'Yes' as first element which has 'input' tag. If tomorrow, somebody changes the button order then your code will click 'No' instead of 'Yes'.
--
You received this message because you are subscribed to the Google Groups "webdriver" group.
To view this discussion on the web visit https://groups.google.com/d/msg/webdriver/-/mjfUg3cYUqQJ.
To post to this group, send email to webd...@googlegroups.com.
To unsubscribe from this group, send email to webdriver+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/webdriver?hl=en.
Hi Anand,
How can i use the solution suggested by Manoj?It is neither an alert nor a pop up window.So i have to findement by tag name only.
On Sat, Jul 28, 2012 at 5:57 AM, Anand <anand.d...@gmail.com> wrote:
Although it worked for you, you should really use something like suggested by PeterJef or something which would uniquely find that element like ""In your case, you are lucky to have 'Yes' as first element which has 'input' tag. If tomorrow, somebody changes the button order then your code will click 'No' instead of 'Yes'.To view this discussion on the web visit https://groups.google.com/d/msg/webdriver/-/mjfUg3cYUqQJ.--
You received this message because you are subscribed to the Google Groups "webdriver" group.
To unsubscribe from this group, send email to webdriver+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/webdriver/-/4FhLdXJYBMEJ.
To unsubscribe from this group, send email to webdriver+...@googlegroups.com.