Forum Stats

  • 3,875,115 Users
  • 2,266,806 Discussions
  • 7,912,086 Comments

Discussions

During the recording when user selecting the customers from searched list in a web application then

avsr
avsr Member Posts: 6
edited Jun 9, 2018 3:26AM in QA/Testing

Dear Team,

During the recording when user selecting the customers from searched list in a web application  then its not selecting during the playback  and display below error message (By using oats functional testing tool).

Note : This is not a table.It is divlookupgrid and which is jqxwidgets third party controls.

Open script Java code :

web.element(

18,

"/web:window[@index='0' or @title='CRM']/web:document[@index='0']/web:span[@index='67']")

.click();

{

think(23.743);

}

web.element(

19,

"/web:window[@index='0' or @title='CRM']/web:document[@index='0']/web:div[@text='AVSR100' or @index='969']")

.dblClick();

{

think(0.043);

}

Open script Console Message:

ERROR [EnumSrvc] Failed to get a response after sending the message: <Message name="GetChildren"><Parameter WindowIndex="0"></Parameter><Parameter ParentID="0"></Parameter><Parameter ElementType="document"></Parameter><Parameter tag="div"></Parameter><RequiredAttribute name="index" logic="" value="898" operator="EQUALS"></RequiredAttribute></Message>.

oracle.oats.scripting.modules.webdom.common.api.exception.PlaybackException: Failed to get a response after sending the message: <Message name="GetChildren"><Parameter WindowIndex="0"></Parameter><Parameter ParentID="0"></Parameter><Parameter ElementType="document"></Parameter><Parameter tag="div"></Parameter><RequiredAttribute name="index" logic="" value="898" operator="EQUALS"></RequiredAttribute></Message>.

at oracle.oats.scripting.modules.webdom.common.api.exception.PlaybackException.createGetResultException(PlaybackException.java:60)

at oracle.oats.scripting.modules.webdom.common.api.internal.communication.MessageHandler.sendMessage(MessageHandler.java:100)

at oracle.oats.scripting.modules.webdom.api.internal.InternalWebDOMService.sendMessage(InternalWebDOMService.java:322)

at oracle.oats.scripting.modules.webdom.api.internal.service.EnumSrvc.getChildrenByTag(EnumSrvc.java:195)

at oracle.oats.scripting.modules.webdom.api.internal.service.EnumSrvc.getChild(EnumSrvc.java:132)

at oracle.oats.scripting.modules.webdom.api.internal.service.EnumSrvc.getChildren(EnumSrvc.java:272)

at oracle.oats.scripting.modules.webdom.api.internal.service.EnumSrvc.getChildren(EnumSrvc.java:1)

at oracle.oats.scripting.modules.functionalTest.api.internal.services.FindTestObjectSrvc.findTestObject(FindTestObjectSrvc.java:145)

at oracle.oats.scripting.modules.functionalTest.api.internal.services.FindTestObjectSrvc.findTestObject(FindTestObjectSrvc.java:175)

at oracle.oats.scripting.modules.functionalTest.api.internal.services.FindTestObjectSrvc.findTestObject(FindTestObjectSrvc.java:175)

at oracle.oats.scripting.modules.functionalTest.api.internal.services.FindTestObjectSrvc.findTestObject(FindTestObjectSrvc.java:83)

at oracle.oats.scripting.modules.functionalTest.api.internal.services.FuncTestSrvc.findTestObject(FuncTestSrvc.java:79)

at oracle.oats.scripting.modules.functionalTest.api.internal.services.FuncTestSrvc.findTestObject(FuncTestSrvc.java:72)

at oracle.oats.scripting.modules.webdom.api.internal.InternalWebDOMService.findDomElementInMilliSeconds(InternalWebDOMService.java:917)

at oracle.oats.scripting.modules.webdom.api.internal.InternalWebDOMService.findDomElementInMilliSeconds(InternalWebDOMService.java:898)

at oracle.oats.scripting.modules.webdom.api.internal.InternalWebDOMService.findDomElement(InternalWebDOMService.java:892)

at oracle.oats.scripting.modules.webdom.api.internal.InternalWebDOMService.findDomElement(InternalWebDOMService.java:879)

at oracle.oats.scripting.modules.webdom.api.elements.DOMTestObject.checkTestObject(DOMTestObject.java:229)

at oracle.oats.scripting.modules.webdom.api.elements.DOMTestObject.checkTestObject(DOMTestObject.java:262)

at oracle.oats.scripting.modules.webdom.api.elements.DOMTestObject.checkTestObject(DOMTestObject.java:270)

at oracle.oats.scripting.modules.webdom.api.elements.DOMElement.checkTestObject(DOMElement.java:2161)

at oracle.oats.scripting.modules.webdom.api.elements.DOMElement.checkElement(DOMElement.java:769)

at oracle.oats.scripting.modules.webdom.api.elements.DOMElement.click(DOMElement.java:244)

at script.run(script.java:150)

at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:353)

at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:801)

at java.lang.Thread.run(Thread.java:748)

Please give me suggestion for above issue.

Thanks & regards,

Subbareddy.

This discussion has been closed.