Jump to content

how to get elements from a JSP page included in the main JSP Page?


Recommended Posts

I'm trying to access a dropdown element on a JSP website and this page has another JSP page included in it.

The issue is the element I'm trying to access belongs to the included JSP page and so using any _IEGetObjById tags dont access the element and gives a No_Match error. 

Brief detail:

$oIE = _IECreate("https:/example.com/dashboard.jsp")

$username = _IEGetObjById($oIE, "txt_login") 

username will return No_match error because its searching in dashboard.jsp but on inspected the page I see in sources it has login.jsp page included which has the form with username and password fields I need to access. 

Please help how to access the elements in included page.  Let me know if anymore details needed.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...