Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» FlexMonkium Download Not available under Gorillalogic site
Thu Dec 08, 2016 5:40 pm by bhanu.praveen

» Selenium Script issue
Tue Dec 06, 2016 9:48 pm by njain213

» Difference between QTP, Selenium and Silk test
Tue Dec 06, 2016 7:58 pm by jessicacyrus1

» Where does selenium script pick browser from
Tue Dec 06, 2016 1:52 pm by janbaskt

» Safari throws an HTTP ERROR: 404
Tue Dec 06, 2016 1:51 pm by janbaskt

» Access Denied Error in Selenium RC
Tue Dec 06, 2016 1:51 pm by janbaskt

» Automating Flex application through selenium webdriver
Fri Dec 02, 2016 2:06 pm by abhinay.krs

» Starting with Selenium, what is Selenium?
Mon Nov 28, 2016 4:00 pm by Foma

» Getting started with Selenium
Mon Nov 28, 2016 3:23 pm by Rebbelx

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Selenium doesnt capture colour picker

View previous topic View next topic Go down

Selenium doesnt capture colour picker

Post by ManjuV on Tue Aug 31, 2010 3:42 pm

Hi,
Iam new to selenium Rc python...

In my application there is an option to choose fore colour and back ground colour using colourpickker,

This is my code for click the colour pickker
sel.click("//div[@id='collorpicker_327']/div[12]")

Even in selenium ide also doesnt capture

I have an error like this..

[error] Element //div[@id='collorpicker_327']/div[12] not found


please help me to solve the problem

ManjuV

Posts : 5
Join date : 2010-08-31

Back to top Go down

Re: Selenium doesnt capture colour picker

Post by anatar02 on Sun Sep 05, 2010 3:19 pm

try with css selector

anatar02
Active particpant
Active particpant

Posts : 12
Join date : 2010-09-05

Back to top Go down

Re: Selenium doesnt capture colour picker

Post by ManjuV on Mon Sep 06, 2010 11:52 am

Can you give the code using css

ManjuV

Posts : 5
Join date : 2010-08-31

Back to top Go down

Re: Selenium doesnt capture colour picker

Post by anatar02 on Mon Sep 06, 2010 4:02 pm

Provide me source code of your element which you wanted to locate using css selector so that i can try to give allocator

anatar02
Active particpant
Active particpant

Posts : 12
Join date : 2010-09-05

Back to top Go down

Re: Selenium doesnt capture colour picker

Post by mgharikrishnan on Mon Jun 20, 2011 5:56 pm

Dear All,

Is there any solution for this issue. I have been searching a lot for this. In my web application, we use 5 colour pickers. I need to automate them. Every time I open this page, the object ID changes for this color picker (Example : //div[@id='collorpicker_902']/div[12] in this example the number 902 to changes to some random number (444) the next time). Please provide me some steps to automate this...
Please help me!!!! Crying or Very sad

~ Harri...

mgharikrishnan
Active particpant
Active particpant

Posts : 10
Join date : 2011-06-20

Back to top Go down

Re: Selenium doesnt capture colour picker

Post by Arthur on Tue Jun 21, 2011 3:02 pm

Hi,
Thanks for Questioning this I have tried with this and it works for me please see is it ok for you.

sel.click("//div[6]/span/img") // This is icon which opens the color selection box "xpath".
sel.mouse_move_at("mColorPickerImg", "10,50") // mColorPickerImg is the allocator for the selection box which has
popped and the values are position where we have to click you can change as per your need
sel.click("mColorPickerImg") // click on the location where we have set the position of cursor

Arthur
Active particpant
Active particpant

Posts : 23
Join date : 2011-05-23
Location : Pune

Back to top Go down

Re: Selenium doesnt capture colour picker

Post by Sponsored content Today at 3:25 am


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum