Issue with Selenium Webdriver - Able to click on button but unable to naviagte page

1,168 views
Skip to first unread message

Neha Dua

unread,
Nov 2, 2015, 5:50:44 AM11/2/15
to Selenium Users

        Scenario:        Able to click on Web button but no further page is opening with automation.

If I login manually and click on the button it opens next page . But through automation, it clicks on the button but nothing happens further, even I click manually on the page opened through automation it doesnt open next page.


d.findElement(By.xpath("xpath=//table[@class='ah-table ah-ecs-table']//tr[1]//input[@value='Access Customer']")).click();



Seleium 2.47

Browser- Chrome,FF

Language -Java


please help

Praveen P

unread,
Nov 2, 2015, 1:34:07 PM11/2/15
to Selenium Users
This may happen if the Click action is calling any javascript to execute and the browser is not allowing it.

Check if that page requires any javascript to run and that browser instance (opened through automation) is allowing scripts to execute.

Once the window is opened, do not close it. Check the settings (https://support.google.com/adsense/answer/12654?hl=en). 

---

Neha Dua

unread,
Nov 2, 2015, 10:25:45 PM11/2/15
to Selenium Users

I just checked ,Java script is already enable in browser  and still I am facing the same issue.
Any other idea why this is happening .

Neha Dua

unread,
Nov 3, 2015, 1:20:46 AM11/3/15
to Selenium Users
One more thing I want to add here ::

It may not be the browser setting issue as in the same browser launched through automation , if I navigate manually to that page where this button is present and click on it , it is navigating to next page(working fine I meant).
But if it that page (where button is present) navigated through automation and get clicked then clicked successfully but doesn't not navigate to the next page.


Please help .


On Monday, November 2, 2015 at 4:20:44 PM UTC+5:30, Neha Dua wrote:

Niranjan R

unread,
Nov 3, 2015, 2:35:47 AM11/3/15
to Selenium Users
which version of WebDriver you are using?

Amogh Dhumal

unread,
Nov 3, 2015, 4:05:09 AM11/3/15
to Selenium Users
You can check its a single or double click here?

Neha Dua

unread,
Nov 3, 2015, 5:45:37 AM11/3/15
to Selenium Users
2.47 webdriver version I am using 
I have tried with both (single\double) and clicked manually also 
but it is not navigating further :(
as we have reached this page through automation where this button is present


On Monday, November 2, 2015 at 4:20:44 PM UTC+5:30, Neha Dua wrote:

Sampath S

unread,
Nov 3, 2015, 7:52:53 AM11/3/15
to Selenium Users
Try with web driver 2.47.1, if still you are facing issue, share the code, we can help with that.

Neha Dua

unread,
Nov 4, 2015, 12:35:02 AM11/4/15
to Selenium Users
I have updated webdriver to 2.48.2 which is the leates one but still facing the same issue 

       Scenario:        Able to click on Web button but no further page is opening with automation.

If I login manually and click on the button it opens next page . But through automation, it clicks on the button but nothing happens further, even I click manually on the page opened through automation it doesnt open next page.


d.findElement(By.xpath("xpath=//table[@class='ah-table ah-ecs-table']//tr[1]//input[@value='Access Customer']")).click();

On Monday, November 2, 2015 at 4:20:44 PM UTC+5:30, Neha Dua wrote

        Scenario:        Able to click on Web button but no further page is opening with automation.

Reply all
Reply to author
Forward
0 new messages