Select all the elements under div

Hi All,

I need to select all the elements under div , store them in a string and compare them with expected values. Can someone guide me in how to select all the elements and value  in the div  and the div is always dynamic.

Thanks in advance.

Regards
Atul Dandin

Add Comment
1 Answer(s)

String innerElements = (String) divElement.GetAttributte(“InnerHTML”);

Virender Singh Professor Answered on April 14, 2016.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.