Have to switched to the iframe first?
Can you show us your test code?
From: webd...@googlegroups.com [mailto:webd...@googlegroups.com] On Behalf Of bensullivan
Sent: 05 July 2012 11:05
To: webd...@googlegroups.com
Subject: [webdriver] Debugging
Hi
I am having a problem clicking a link in an iframe on a page I am trying to automate the testing for.
I can see the element is resolved via a sysout statement but for some reason the click() method is not taking effect in the browser - this happens for both Firefox and IE.
Could someone indicate the most effective ways to debug WebDriver to ascertain what's going on?
Can I switch on some more verbose logging somewhere?
If I am using the IE driver do I need to debug the code in the IE driver server (gulp)?
Are there any nuances with the click method when iframes are involved?
Many thanks
Ben
--
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/-/YP0bInRABBgJ.
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.
To unsubscribe from this group, send email to webdriver+unsubscribe@googlegroups.com.
This is usually useful to debug issues with Firefox starting up. The Java system property webdriver.firefox.logfile will instruct the FirefoxDriver to redirect the output to a file:
java -Dwebdriver.firefox.logfile=/dev/stdout -cp selenium-2.jar <sometest>
Sorry, no. There's no analogous method for the Firefox driver that I'm aware of, though I'm sure someone will correct me if I'm wrong.
--
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/-/6Jt1cOhc4usJ.
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.
To unsubscribe from this group, send email to webdriver+unsubscribe@googlegroups.com.
I can’t see anything drastically out of place, Your best bet is to continue your discussion with Jim, he wrote the IE driver and works for salesforce so is pretty much an expert in every aspect J
From: webd...@googlegroups.com [mailto:webd...@googlegroups.com] On Behalf Of bensullivan
Sent: 09 July 2012 02:26
To: webd...@googlegroups.com
Subject: Re: [webdriver] Debugging
Hi Mark
Gist posted here: https://gist.github.com/8e06be5fbc6381bbba76
Thanks
Ben
On Thursday, July 5, 2012 9:29:16 PM UTC+10, Mark Collin wrote:
From: webd...@googlegroups.com [mailto:webd...@googlegroups.com] On Behalf Of bensullivan
Sent: 05 July 2012 11:05
To: webd...@googlegroups.com
Subject: [webdriver] Debugging
Hi
I am having a problem clicking a link in an iframe on a page I am trying to automate the testing for.
I can see the element is resolved via a sysout statement but for some reason the click() method is not taking effect in the browser - this happens for both Firefox and IE.
Could someone indicate the most effective ways to debug WebDriver to ascertain what's going on?
Can I switch on some more verbose logging somewhere?
If I am using the IE driver do I need to debug the code in the IE driver server (gulp)?
Are there any nuances with the click method when iframes are involved?
Many thanks
Ben
--
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/-/YP0bInRABBgJ.
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.
--
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/-/l9eI1U0-x8gJ.
To post to this group, send email to webd...@googlegroups.com.
To unsubscribe from this group, send email to webdriver+...@googlegroups.com.
To unsubscribe from this group, send email to webdriver+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/webdriver?hl=en.
--
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/-/l9eI1U0-x8gJ.
To post to this group, send email to webd...@googlegroups.com.
To unsubscribe from this group, send email to webdriver+unsubscribe@googlegroups.com.