Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I have tried the following both the codes, but did't get the solution

selenium.isVisible("xpath=//html/body/header/ul/li[3]/a");
selenium.getAttribute([email protected]);

In my application there are 4 tabs, by default "Home" tab should be selected. Am plan to verify that using the background color.

How to verify the specific tab is selected or not..?

How to verify the background color of an element..?

share|improve this question
add comment (requires an account with 50 reputation)

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.