What would you do manually to make it visible?
On 17/06/2013 16:49, tarun mehrotra wrote:
Hi all,You received this message because you are subscribed to the Google Groups "Selenium Users" group.
I am facing a problem on my payment page.when i am automating my page .and i want to type security code by my web driver code it is not working.
when i checked again and after that i found that.it's visibility is hidden.
so can anyone please help me out how i can make that element visible and type into it.
Thanks
Tarun Mehrotra
--
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+unsubscribe@googlegroups.com.
To post to this group, send email to selenium-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/9a459602-0715-4160-bd29-93f33c9f21fc%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/51BF4564.9090802%40lazeryattack.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Selenium Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/selenium-users/ZbelH7TU15Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to selenium-users+unsubscribe@googlegroups.com.
To post to this group, send email to selenium-users@googlegroups.com.
In that case it sounds like you need an explicit wait. My guess would be that Selenium is going so quickly it’s checking for the element before it has been drawn on your screen, you want to do something like this:
WebDriverWait wait = new WebDriverWait(driver, 15, 100);
WebElement myElement = driver.findElement(By.id("myElementID"));
From: seleniu...@googlegroups.com [mailto:seleniu...@googlegroups.com] On Behalf Of tarun mehrotra
Sent: 18 June 2013 03:14
To: seleniu...@googlegroups.com
Subject: Re: [selenium-users] how can i make element visible
Manually it is visible ,when i finding element by xpath pr by id it is showing exception of element not visible.
On Mon, Jun 17, 2013 at 10:50 PM, Mark Collin <mark....@lazeryattack.com> wrote:
What would you do manually to make it visible?
On 17/06/2013 16:49, tarun mehrotra wrote:
Hi all,
I am facing a problem on my payment page.when i am automating my page .and i want to type security code by my web driver code it is not working.
when i checked again and after that i found that.it's visibility is hidden.
so can anyone please help me out how i can make that element visible and type into it.
Thanks
Tarun Mehrotra
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/9a459602-0715-4160-bd29-93f33c9f21fc%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the Google Groups "Selenium Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/selenium-users/ZbelH7TU15Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/51BF4564.9090802%40lazeryattack.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Thanks&Regards
TarunMehrotra
8952005566
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAJvUF%2BksU3Wh_bFpa9xVj7M0NBJqK-SK7HCHC4ZwMX_f%2BJMG4g%40mail.gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Selenium Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/selenium-users/ZbelH7TU15Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/c1127bf1-886a-48ab-a223-c9b844d958b8%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAJvUF%2Bn-OVFV-OYP4U85hRZV3qCJkPfiZ3APoVY8Oh%2B3dMKNVA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAC7HBkxrjSAXOBXgJTntoG1aLwgzVX1cgC62gHELRf45ZLYxAg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAJvUF%2B%3DB%3DXgpdnk1JX_SVAwki9kJ6gD2pYB1NXsw4E_01uaxDQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAC7HBky-c0u_oeBfh7uikF7h%2B5PPv1%2BMoHxtqDWFAzmW5Yc4EQ%40mail.gmail.com.
<tarunme...@gmail.com <mailto:tarunmehrotra3@gmail.com>>
wrote:
Hi
Thanks for your reply Mark
I tried by using this code but if i use this code ia m not
able to use send keys method as i need to enter security code
--
You received this message because you are subscribed to a topic in the Google Groups "Selenium Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/selenium-users/ZbelH7TU15Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to selenium-users+unsubscribe@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/51C16A70.8010902%40lazeryattack.com.
To post to this group, send email to selenium-users@googlegroups.com.
In that case it sounds like you need an explicit wait. My guess would be that Selenium is going so quickly it’s checking for the element before it has been drawn on your screen, you want to do something like this:
WebDriverWait wait = new WebDriverWait(driver, 15, 100);
WebElement myElement = driver.findElement(By.id("myElementID"));
From: seleniu...@googlegroups.com [mailto:seleniu...@googlegroups.com] On Behalf Of tarun mehrotra
Sent: 18 June 2013 03:14
To: seleniu...@googlegroups.com
Subject: Re: [selenium-users] how can i make element visible
Manually it is visible ,when i finding element by xpath pr by id it is showing exception of element not visible.
On Mon, Jun 17, 2013 at 10:50 PM, Mark Collin <mark....@lazeryattack.com> wrote:
What would you do manually to make it visible?
On 17/06/2013 16:49, tarun mehrotra wrote:
Hi all,
I am facing a problem on my payment page.when i am automating my page .and i want to type security code by my web driver code it is not working.
when i checked again and after that i found that.it's visibility is hidden.
so can anyone please help me out how i can make that element visible and type into it.
Thanks
Tarun Mehrotra
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/9a459602-0715-4160-bd29-93f33c9f21fc%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the Google Groups "Selenium Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/selenium-users/ZbelH7TU15Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/51BF4564.9090802%40lazeryattack.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Thanks&Regards
TarunMehrotra
8952005566--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAJvUF%2BksU3Wh_bFpa9xVj7M0NBJqK-SK7HCHC4ZwMX_f%2BJMG4g%40mail.gmail.com.