Selector dynamic

Hi,
i want to make selector of following:-
Capture

How i do

Try UI Explorer

image

And see that you have a valid and stable selector for that element.

Thanks,
Prankur

hii @Rup_1 first click on it. then u got to know r u getting selectors or not .
you can check on right side panel

Hi,
I got this but not working and item will change
<html app='chrome.exe' title='Order: ETS1528945 - Microsoft Dynamics CRM' />
<webctrl aaname='Residence Life' parentid='item59' tag='DIV' />

ok @Rup_1 make selector dynamic. in the title u can use wildcards to make selectors dynamic, after constant text u can replace with * so it will work for every time if it is change also.

Hi,
i make selector like this:

<html app='chrome.exe' title='Order: * - Microsoft Dynamics CRM' />
<webctrl aaname='' parentid='item' tag='DIV' />

but i works for only first statement and i want second also

Hi,
<html app='chrome.exe' title='Order: * - Microsoft Dynamics CRM' />
<webctrl aaname='' parentid='item' tag='DIV' />

here i want to pass counter then how i do

<html app='chrome.exe' title='Order: * - Microsoft Dynamics CRM' /> <webctrl aaname='"+Counter.ToString+"' parentid='item' tag='DIV' />

Regards,
Arivu

1 Like