Retrieve an application's selector

selector
studio

#1

I have an app that the title is dynamic.

When I open the app, how do I retrieve the title for use as a selector later in the process?


#2

Hi @rlwalters

Normally, if I know what the title will be like if it includes the filename, I will store that part in a string variable. Then, you can use this in the selector string, for example …"< … title=’"+variable+"’ >
Or, also, you can store the selector into a variable similarly if you don’t want to provide the edit in the selector editor.

You can also use Find Element and store it into an element variable. Then, you can retrieve the entire selector using that variable.

Regards.