Forum Discussion
this is website I am trying to get the grid values from
FindChildByXPath(".//*[@id=150952'" + * + "'-grid-container']/div[2]/div]")
You have three single quotes in there, one on each side of + * + and one after -grid-container. Do you need to match the one after -grid-container or take it out?
- muhammadA8 years agoOccasional Contributor
Hi Marsha,
.//*[@id='15095 "27131388" -grid-container']/div[2]/div
.//*[@id='15095 "28020936" -grid-container']/div[2]/div
.//*[@id='15095 "28970483" -grid-container']/div[2]/div
.//*[@id='15095 "28970483"-grid-container']/div[2]/divThe one in quatations is keeping changing , I want everything else into I want find the object containing
.//*[@id='15095 "*******"-grid-container']/div[2]/div.
Please verify http://ui-grid.info/
I am trying to get the Values from the upper grid present in the page.
- Marsha_R8 years agoModerator
See attached. I have marked the matching pairs of quotes in blue and the mismatched one in red.
You need another single quote to match the one marked in red. I believe it needs to go here
id='150952
- muhammadA8 years agoOccasional Contributor
Thanks Marsha. Still have the same issue
var obj = Sys.Browser("*").Page("*").FindChildByXPath(".//*[@id='150952'" + * + "'-grid-container']/div[2]/div]");
Related Content
- 3 years ago
Recent Discussions
- 2 days ago