| || |
Unable to Automate SAP CRM: Drag & Drop
We have a scenario to automate a webpage of SAP CRM application wherein QTP fails to identify the objects when navigated to this page.
We have a series of events to perform including a drag & drop event.(Detail steps attached).When spyed this part of object it is identified as WebElement.
I have tried two options:
1. Low level recording: This fails as the data is refreshed in the page and mouseclick on the items will not work on the same recorded x,y co-ordinates.
2. Device replay option:
Below code was executed as this is the first step on the screen.
Browser("SAP - [Search: Segmentation").Page("SAP - [Search: Segmentation").Frame("WorkAreaFrame1").WebElement( "SegUI").FireEvent "onclick"
Set deviceReplay = CreateObject( "Mercury.DeviceReplay" )
deviceReplay.SendString( "Testing" )
But failed as object was not returned and no action was taken further.
It would be great if any of you can give inputs on the same.