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

Problem in Locating JSP web Page Element in Selenium WebDriver (IE)

View previous topic View next topic Go down

Problem in Locating JSP web Page Element in Selenium WebDriver (IE)

Post by vidya shree on Fri May 31, 2013 6:12 pm

Hello Everyone,

I am working in Selenium Webdriver. I am facing problem in locating an element,which is jsp web Aplpication (ie .jsp page).Not able to locate even a single element in that page.

For Example:
I have to locate the "Logout" link in that page.I tried by using xpath.
When i inspected the logout link in the source code (i.e by right clicking on that webpage),i cudnt find such element.I got very confused and then after a big research LaughingRazz, i came to know that web page has 2 source codes
(i.e one code got by right click on the top of that page and another one got by right click on the center of that page).

Note :This Application is compatible with IE only and not accessable to public.

Please help me to locate such kind of elements (ie JSP web Elements).

Awaiting for ur response.

Thanks,
Vidya

vidya shree
Regular Participant
Regular Participant

Posts : 31
Join date : 2013-05-09

Back to top Go down

Re: Problem in Locating JSP web Page Element in Selenium WebDriver (IE)

Post by Joffre on Mon Jun 03, 2013 8:57 pm

Hi.
Does the logout button/link has an unique ID?
If so, you may use:
Code:
WebDriver ieDriver = new InternetExplorerDriver();
ieDriver.findElement(By.id(""));
I'm facing a similar problem, but with Asp.Net, and trying to click a menu-bar.

Joffre

Posts : 5
Join date : 2013-06-03
Age : 28

Back to top Go down

Re: Problem in Locating JSP web Page Element in Selenium WebDriver (IE)

Post by vidya shree on Tue Jun 04, 2013 12:36 pm

Thanks for ur response Joffre.

I ve tried tis already,but cudnt locate the element yet.

vidya shree
Regular Participant
Regular Participant

Posts : 31
Join date : 2013-05-09

Back to top Go down

Re: Problem in Locating JSP web Page Element in Selenium WebDriver (IE)

Post by mail2prassad on Wed Jun 05, 2013 10:08 pm

Does the view source of the webpage display the 'logout' link, try to look at the source.
Is the element inside any frame,
What is the error that you are getting. Can you please post the error stack.

mail2prassad
Amateur
Amateur

Posts : 41
Join date : 2013-06-05

Back to top Go down

Re: Problem in Locating JSP web Page Element in Selenium WebDriver (IE)

Post by Sponsored content Today at 1:01 pm


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