Selenium IDE can't understand Right-Click Event

Selenium IDE

I want to test Firefox Web

1 / Click Event : Selenium Understand it
2 / Right-Click Event : Selenium can't

Anyone knowledge help to solve it

Email :
vu namTester Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

vu namTester Author Commented:
Craig KehlerDirector of Customer RelationsCommented:
I think you've hit the limitations of the IDE. I can't find any context menu or right click commands in the IDE. This can be done via webdriver. 

From the screen shot you may be able to inspect that element and access it directly even if it's currently hidden, working around the right click event need.
vu namTester Author Commented:

Selenium Webdriver is Good . I follow to your metor carefully

1/ Right Click on Screen : OK

WebElement element = driver.findElement("tabscontent:tabView:BWconent_0:treeLeft_0:1:j_idt614"));
Actions action = new Actions(driver);
//Perform Right click operation using action (object) on element using contextClick method.

2/ Click " Nouveau "  : Not OK
   ( Only one Option : New )

I try try try to Find @class for "Nouveau " Option : Click . But not work

Something like that :

Please to see my video
Expert advice: How to get hired in cyber security

Phil Richards knows cyber security. He’s the Chief Information Security Officer for Ivanti—and he has great advice for anyone looking to build a career in cyber security.

vu namTester Author Commented:

After Right-Click is Good
I need to Click first Option ( "Nouveau" )

How can I do ?

@class for "Nouveau" Option  in Image ( Please to see )
Craig KehlerDirector of Customer RelationsCommented:
Hi Vu,

Glad to hear you got past the right click. Now for the follow up question.

It is very difficult to determine locators from a video and it looks like this is a private use site, so I'm guessing I won't get to see the source and interact with it :).
Have you tried the sendKeys commands to mimic the arrow key and enter inputs once the context menu is open? That is also shown in that original tutorial I linked.

In general I highly recommend honing your skills on how to properly select elements. Doing this in a uniform way will greatly help your code maintenance in the future. I tend to favor locating by ID as it seems the least likely to change, but that all depends on how they typically modify the web page you are automating.

Check out this article on how to determine selectors.


vu namTester Author Commented:
Oh Yeah . That great Job

I can do it well done
Thanks you so much

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.