Ask a Question

In IE11 , JSP (Java based application) pages not getting captured as CSS/Xpath in Name mapping

SOLVED
VeenaDevi
Contributor

In IE11 , JSP (Java based application) pages not getting captured as CSS/Xpath in Name mapping

Environment : IE 11(Application will not work in Chrome)

Dev Background: Java 1.8 and JSP ,Quit old Application 

Testcomplete : 14.73 (Latest - Without Device Cloud ), project enabled to use Css/Xpath locator 

 

Whether for recording or using Object Spy, not getting the option to select css/xpath locators .

Group of radio buttons also not get captured  while recording .

Please suggest some solution for the same ,

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Marsha_R
Community Hero

Re: In IE11 , JSP (Java based application) pages not getting captured as CSS/Xpath in Name mapping

For the radio buttons,  you should at least be able to tell them apart by text or some other value inside their one name mapping.   Drill down in Object Spy and find the field where it stores the label/text/whatever the UI is showing that's different between the buttons.

Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

View solution in original post

4 REPLIES 4
Marsha_R
Community Hero

Re: In IE11 , JSP (Java based application) pages not getting captured as CSS/Xpath in Name mapping

If this doesn't help

https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/xpat...

 

then I would contact Support directly at this link:

https://support.smartbear.com/testcomplete/

Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
AlexKaras
Community Hero

Re: In IE11 , JSP (Java based application) pages not getting captured as CSS/Xpath in Name mapping

Hi,

 

How controls are recognized in TestComplete? Can you post some sample screenshot?

What is the root element of some object from the application? Is it Browser/Page or Java process?

If I remember it correctly, JSP applications run within Java VM and are not web pages but Java applications. If my memory is correct then, obviously, no XPath/CSS locators are provided for controls of JSP application.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
VeenaDevi
Contributor

Re: In IE11 , JSP (Java based application) pages not getting captured as CSS/Xpath in Name mapping

JSP Pages run in webbrowsers only. Not in JVM , 

 

Name mapping captured as ObjectType and idstr.

 

for 4 different radio button , the same namemapping is used, so not able to control which radio button 

 

Marsha_R
Community Hero

Re: In IE11 , JSP (Java based application) pages not getting captured as CSS/Xpath in Name mapping

For the radio buttons,  you should at least be able to tell them apart by text or some other value inside their one name mapping.   Drill down in Object Spy and find the field where it stores the label/text/whatever the UI is showing that's different between the buttons.

Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

View solution in original post

cancel
Showing results for 
Search instead for 
Did you mean: