Display results as :
Advanced Search

Go down
Posts : 2
Join date : 2012-10-12

Multiple Button issue Empty Multiple Button issue

on Fri Oct 12, 2012 6:47 pm
I am using selenium testing using Firefox. I am executing the application using the selenium IDE.
Through selenium IDE, i am able to login and move to the corresponding screen.
There are 4 buttons on my screen, when I invoke through selenium to click on 2nd or 3rd button it does not perform any action.
Each button is associated with hidden field which holds the value for the button. This is used in the javascript for each button. Selenium find the element properly but is not able to perform the proper action (Instead of clicking the found element i.e 2nd or 3rd button, it always clicks the first buton.)
I am using the following -

driver.findElement(By.xpath("//div[@class='buttonSet buttonSortable sortable']/fieldset[@id='fd_component_JSON_TASK_NScreateButton']/input[@value='Create Master Case']")).click();

I am new to selenium and would require your help to proceed.
Active particpant
Active particpant
Posts : 20
Join date : 2012-04-05

Multiple Button issue Empty Re: Multiple Button issue

on Mon Oct 15, 2012 6:53 pm
Please, post html source (with javascript if necessary)
Back to top
Permissions in this forum:
You cannot reply to topics in this forum