Page 1 of 1

Aim: Capture browser url

Posted: Sat Dec 03, 2011 7:31 am
by Praveen597
Hi Team,

I am using C # code.
I am trying to retrieve all the forms on the desktop and try to find the url of all forms (by using Self.Pageurl) so that if Pageurl exists then I'll consider that form as a browser and capture that url.
But I failed do it successfully .

Actually I tried to get browser count and do the same, but the browser count also includes the active form on the desktop.

Regards,
Praveen

Re: Aim: Capture browser url

Posted: Mon Dec 05, 2011 12:32 pm
by Support Team
Hi,

Why do you search for form elements if you want to get all browser objects? Ranorex identifies your browser tabs as DOM objects and not as form objects. Therefore please search for DOM and you should have no issue to retrieve the page URL from the DOM object.

Regards,
Peter
Ranorex Team