Re: Not able to select the item using SAPList during the PlayBack (152 Views)
Reply
Occasional Visitor
Srinivasula Reddy
Posts: 1
Registered: ‎05-20-2011
Message 1 of 3 (402 Views)

Not able to select the item using SAPList during the PlayBack

Hi Team

    I am working on a SAP Web Automation. I am facing an issue in selecting an item using SAPList during the Playback. The code it got recorded in the recor mode is

 

Browser("Schedule a Course Date").Page("Schedule a Course Date").SAPiView("SAPiView").SAPList("Delivery Method:").Select :"Classroom Training".

 

The same code is not working when i re-run it once. When i chekc the existence of the SAPList it returning "True"

 

Could you please helpout in providing a solution for the same

 

 

Regards

Srinias

 

 

Please use plain text.
Occasional Contributor
AnupamKarn
Posts: 3
Registered: ‎02-02-2012
Message 2 of 3 (391 Views)

Re: Not able to select the item using SAPList during the PlayBack

Hi,

 

I believe you are using "SAP NetWeaver" application.

 

Try below code:

 

Browser("Schedule a Course Date").Page("Schedule a Course Date").SAPiView("SAPiView").SAPList("Delivery Method:").click

Set obj=createobject("Mercury.DeviceReplay")

obj.SendString "Classroom Training"

Browser("Schedule a Course Date").Page("Schedule a Course Date").SAPiView("SAPiView").SAPList("Delivery Method:").submit

Set obj = Nothing

Please use plain text.
Occasional Visitor
Haritha_Tanneru
Posts: 1
Registered: ‎01-08-2014
Message 3 of 3 (152 Views)

Re: Not able to select the item using SAPList during the PlayBack

Hi,

 

I had the same problem and your code worked like a charm, thank you :)

 

Haritha Tanneru

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation