I have been trying on this dynamic selector , its taking long time, can any one please help me out with this?
Well i have to take data from a Data table,
i have put the for each loop and it loops through DT. now for every row for one particular column i have to make it as a Dynamic Selector of click activity…
The process of making the selector dynamic involves keeping the static part within quotes and without any newlines while the dynamic part will be concatenated where required.
So for you:
@nadim.warsi - yes it worked , it went and selected . But if the values are at the bottom of page its not able to scroll down…
as some values are little bit down…
Ok let me add the screenshot
there are 2 click activities in the .xaml file.
everything is insdie the for each loop as below
Scrolling should not be a problem, just simulate the click it would got to the icon and click so i think that should work.
For your second case:
I would need one or 2 selector values without using wildcard and see what we can make dynamic
Please paste some selectors for your second case.
Do i need to create the variable - order_num_var?
And this order number i get is from the previous click activity(i.e for the one we created the dynamic selector
Remove the selector from the activity and click ok button.
The again go to the selector property then paste this value. "<wnd app='saplogon.exe' cls='SAP_FRONTEND_SESSION' title='Display =S= Standard Order "+ Convert.ToString(row("Sales document"))+": Overview' /><sap id='tbar[0]/btn[3]' />"