Above one is web page i need to select hotel names dynamicaly
here text attribute having hotel name i given the variable which contain hotel names but not clicking getting error
here two is changing i passed variable
Thanks in advance
Thanks in advance
Hey!
Do Like this:
Indicate the first element and copy the Selectors paste it in note pad
Take one more click activity indicate the element on second item copy the selectors and paste it in the note pad
Now check which one is changing!
You’re saying row2 is changing before passing the variable give it a try that row1 highlight it and check is it highlighting the before one or same one…
Do modifications according to that…
Regards,
NaNi
This are my selectors text attribute is changing and name attribute row value changing
please help any one
Thanks in advance
Hey!
So, the Row Number is changing…
If you pass the variable in the next to the row. it won’t detect the item.
try this:
Text=Pass the variable here
You can also choose aaname instead of Text
As of now try with Text
Try this and let me know
Regards,
NaNi
yes i tried but not working
Hey!
Then try with aaname:
Open the selectors in UiExplorer you can find the aaname attribute in the nodes… Select the aaname and pass the variable
Regards,
NaNi
Their is no aaname attribute
Hey!
Np, Open the selector not in UiExplorer and pass the variable in Text…
If you’re using this click activity inside the for each its better to assign the item to a variable and pass that variable
Example:
Assign HotelName = item.ToString.Trim
<wnd app='system7000.exe' cls='WindowsForms10.Window.*' idx='*' />
<wnd ctrlname='xUltraGrid1' />
<ctrl name='Level* row *' role='row' />
<ctrl name='Level* row *' role='row' />
<ctrl name='Name' role='cell'text='{{HotelName}}' />
Try this and let me know
Regards,
NaNi