Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SAPLIst within a table is not working
#1
Solved: 10 Years, 9 Months, 1 Week ago
Hi Ankur/All,

I am not able to select an item listed inside a SAPList within a webtable . The application is developed using webdynpro.
I tried the following methods
1.
Code:
Browser(..).Page(..).SAPList(...).click
Browser(..).Page(..).webelement("innertext:=Test").click.

The first line is working fine.i.e., its clicking the SAP list , but the second line is not working ..its throwing an error message. I have attached the screenshot of the error message and also the application.
I tried with different properties of the webelement like outer text, outerhtml, innerhtml, but nothing worked. Even when I spy on the SAPlist object, in the allitems properties of the webelement there is no items listed there.

The second method I tried is :
2.
Code:
Browser(..).Page(..).SAPList(..).object.setattribute "value","Test"
it sets the value in the list box , but when i Save that page, its resetting it back. the value is not saved.

For other list box in the application i.e List box which is not in the webtable i used the innertext property of the webelement and it worked fine.

I am not sure how to get this SAPList inside the webtable to work.
I would really appreciate if someone can help me in this.

Thanks
Laksh
Reply


Messages In This Thread
SAPLIst within a table is not working - by lakshjai - 12-17-2010, 08:16 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Setting a Value in SAPList nivdhi 5 6,754 02-19-2020, 01:51 AM
Last Post: balahex
  Working with Web Table Ilayaraja 4 3,021 05-28-2018, 12:50 PM
Last Post: Ilayaraja
  SAPLIST is not recognised inside SAPTable mann 0 1,156 02-26-2018, 11:24 AM
Last Post: mann

Forum Jump:


Users browsing this thread: 1 Guest(s)