So, it’s not clicking on the selected row.
It is. After i change it to 3. It moves to the right row and clicks it. But here i need to add the variable as the rowindex is dynamic in my program
You can use the rowIndex variable like this:
<sap id='usr/tblZ_CA_MATERIAL_VORSTEPtC_REV' tableRow='{{rowIndex}}' />
If rowIndex starts at 0 and it’s not clicking on the first row, then set the starting value of rowIndex to 1.
ideally if you right click by selecting the number it will ask you to choose avriable can you try that way..this way you ensure its properly linked
also to make sure add log message of tablerow
also show the properties panel of your click once
cheers
it gives validation error for {{rowIndex}}
Make sure your rowIndex value is a string.
Thats a great tip to use the variable with the click.
I defined 3 with different formats and neither works.
They all indicate first row.
I have defined 2 rowindex as int32 and row as string with same values. neither works
string or int32 it should eb working unless the value is wrong
can you log the variable and check please..also to make sure…in the value you can give 4 or 5 and check if it highlights…so that in runtime we can then verify log…so in the screen value column proivde an index and validate to see if it changes..if it does not then there is so issue with selector which we can look further
cheers
I provided the value as 4 and ran the activity it goes to 4. But for variables any format it stays on the first row.
I meant the value for the variable when you select…so witrh variable if its working or no is what we can check..dont hardcode..but give variable and value of it to be 4
give the value here
also log message for runtime
also show the properties of activity
cheers
Do one thing: before the Click activity, add an Assign activity and set row = "4". Then use row in the selector and check if it works.
tried. Still points on first row.
If this works, then your row value is 0. When trying to click dynamically, check the row value before clicking.
Use the ‘Repeat Number of Times’ activity and set it to repeat 5 times. Each time, pass a dynamic value in string and check if it clicks the next row.
it does. I changed row1 in runtime to change its values for each loop. The cursor does move everytime to the right row number
I have the Solution.
My input comes in int32.
I assigned this input as tostring to row1 and it worked.
I dont know why the direct value did not.
Thank you all for the input.



