10-31-2012, 11:40 PM
I use a random number to generate a unique user for testing purposes. The problem is that later in the testing I need to click on a '+' next to this name to expand the data for that user.
I cannot use indexing because the index number will change depending on whether another user is added in the list and ends up before my user. I cannot even depend on the order changing in a normal manner since someone else could add additional users to this list.
What I was looking to do - and I have no idea if it is possible - was to create the object for the '+' during the test by programming. I can identify the specific '+' by the name of the user being next to it. I store the username as a variable as part of this testing.
So, any idea if it is possible to create objects through scripting that use the relative location?
Help?
Jamie
I cannot use indexing because the index number will change depending on whether another user is added in the list and ends up before my user. I cannot even depend on the order changing in a normal manner since someone else could add additional users to this list.
What I was looking to do - and I have no idea if it is possible - was to create the object for the '+' during the test by programming. I can identify the specific '+' by the name of the user being next to it. I store the username as a variable as part of this testing.
So, any idea if it is possible to create objects through scripting that use the relative location?
Help?
Jamie