Hello,
Is there any way of getting (via C# and Ranorex API) all of the tag elements from a web page under test? For example, I want to get all the <input> or <select> tags in a list-like format.
Thanks in advance,
Dario
//Difference between to listDiv only the /body//div and body/div
//You get all "Children Children" div tags from the body down
IList<DivTag> listDiv = Host.Local.Find<DivTag>("/dom[@caption~'YourHomepage']/body//div");
//You get all "Children" div from the body
IList<DivTag> listDiv = Host.Local.Find<DivTag>("/dom[@caption~'YourHomepage']/body/div");Users browsing this forum: No registered users and 0 guests