Open application activity properties


#1

How to enter a valid selector in the open application activity for opening notepad application ?


#2

Hi,
Selector are used to find a particular UI element when the activity is executed.
In your case you just need to pass the notepad.exe full path in FileName property of open application.

Generic path would be “C:\Windows\System32\notepad.exe”


#3

Yes that worked… but only through ‘indicate window on screen’ option that captures the info under File name and Selector. Alternatively, I can also enter executable file path in Filename parameter but I got stuck at Selector field. How do I manually input value to selector field ?


#4

Hi,
BTW what do you wanna pass in selector.


#5

Its a required activity argument. If I don’t pass any info in the selector field, it gives me warning or error. This is what is being passed automatically to the selector field when I click on ‘indicate window on screen’

wnd app=‘notepad.exe’ cls=‘Notepad’ title=‘Untitled - Notepad’ />


#6

Why don’t you use Start process activity. :slight_smile:

Please use UiExplorer to find out the most reliable selector.


#7

Thanks worked