Hot to get active dialog : Object Identification and Technologies

Hot to get active dialog

Technology specific object identification, supported applications, web technologies, and 3rd party controls.

Hot to get active dialog

Postby ggaspari » Wed May 09, 2012 10:02 am

Hi guys,
Is there a way to get the active dialog?
I have a main form with some options. For example,I click on "Contacts" button and a "Contact" dialog appears ( this is the active form right now)
I need to get that active dialog , it's title,etc
Is it possible and how?

thanx
ggaspari
 
Posts: 26
Joined: Tue Apr 10, 2012 9:40 am

Re: Hot to get active dialog

Postby Support Team » Wed May 09, 2012 10:23 am

Hi,

ggaspari wrote:I need to get that active dialog , it's title,etc
Is it possible and how?


This can be done using the following code:
Form myForm = "/form[@active='True']";
Report.Info(myForm.Title);


Regards,
Tobias
Ranorex Team
User avatar
Support Team
Site Admin
 
Posts: 6869
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: Hot to get active dialog

Postby ggaspari » Wed May 09, 2012 2:21 pm

great!!
thanx
ggaspari
 
Posts: 26
Joined: Tue Apr 10, 2012 9:40 am


Return to Object Identification and Technologies

Who is online

Users browsing this forum: No registered users and 0 guests

cron