Search found 8 matches

by marasanov
Tue Sep 22, 2015 3:11 pm
Forum: How To …
Topic: How to get FlavorElement.Name property?
Replies: 4
Views: 2265

Re: How to get FlavorElement.Name property?

Yes, I get 'WPF' when I try that. I've managed to get a workaround with string name = item.ToString(); // this returns {Text:Engineer} // and then I do search/replace name = name.Replace("{Text:",string.Empty); name = name.Replace("}",string.Empty); This gets me what I need but it's not very elegant...
by marasanov
Tue Sep 22, 2015 2:24 pm
Forum: How To …
Topic: How to get FlavorElement.Name property?
Replies: 4
Views: 2265

How to get FlavorElement.Name property?

Hi all,

I need to get FlavorElement,Name property (see snapshot below)
properties.PNG
I tried with

string name = item.FlavorElement.Name;

but I can't access it that way
no_property.png
Do you have any idea how to handle this?

Thanks.
by marasanov
Wed Nov 12, 2014 2:24 pm
Forum: General Questions
Topic: Checking object properties while button is pressed down
Replies: 1
Views: 1430

Checking object properties while button is pressed down

Hi,

I need to perform the following two actions:
- Left click on button and hold for some time.
- While the button is pressed I need to check if some other object is enabled.

Do you have some general ideas how to implement this?

Thanks,
marasanov
by marasanov
Tue Nov 11, 2014 10:06 am
Forum: Automation Tools
Topic: How to use custom function in several code modules
Replies: 3
Views: 2726

Re: How to use custom function in several code modules

Thanks for the answers.

The DLL project works for me.
by marasanov
Mon Nov 10, 2014 5:34 pm
Forum: Automation Tools
Topic: How to use custom function in several code modules
Replies: 3
Views: 2726

How to use custom function in several code modules

Hi all,

I have a custom function that returns true/false value and I would like to use it in several different Code Modules in the following way:
bool status = customFunction();
How can I implement this in my project?

Thanks
by marasanov
Thu Nov 06, 2014 10:29 am
Forum: Object Identification and Technologies
Topic: How to access Advanced Properties of object
Replies: 5
Views: 4662

Re: How to access Advanced Properties of object

Thank you krstcs and bewiss. Both of your solutions work.
by marasanov
Wed Nov 05, 2014 11:37 am
Forum: Object Identification and Technologies
Topic: How to access Advanced Properties of object
Replies: 5
Views: 4662

Re: How to access Advanced Properties of object

Hi Robert, Unfortunately, this doesn't work for me. When I add validation step, I can't choose the properties that I need. These are the options that it offers me: properties.jpg I need to access to properties from 'Element Browser -> Browser & Results -> Advanced tab'. You can take a look at the im...
by marasanov
Thu Oct 30, 2014 2:57 pm
Forum: Object Identification and Technologies
Topic: How to access Advanced Properties of object
Replies: 5
Views: 4662

How to access Advanced Properties of object

Hi all,

Is it possible to check a value in advanced properties of object in Element Browser? For example, I need to check the 'Text' value from the following object property (look at the attachment for details).

Thanks.