Forum Discussion
pmahesha
13 years agoOccasional Contributor
Thank you for the reply.
I know I am comparing the value itself. I gave only as an example just to show the problem I am getting with Trim. In real test, entire table values will be read first and stored in an array and compared after doing certain operations on the application to see that table values are changed or not changed.
I have gone through the use of Tables property. But I have one confusion.
My table is not static. Value get changed during run time. Also it is not one table. I have an array of tables. That means I need to create an array of table object (If there is a provision) something like below:
myTableArray=new Array();
for(i=0;i<10;i++) // Create 10 tables
myTableArray=new Tables.myTable()
How to do this?
Here is my code outline look like:
for(myIndex=0;myIndex<10;myIndex++)
{
Read the present values of the table and store in my TableArray[ myIndex]
Do certain operation in the application.
Verify that the table values are changed as per the need.
}
In the above case, I end up in creating and storing 10 table objects.
Please suggest if there is a method to do this.
Regards,
Mahesha
I know I am comparing the value itself. I gave only as an example just to show the problem I am getting with Trim. In real test, entire table values will be read first and stored in an array and compared after doing certain operations on the application to see that table values are changed or not changed.
I have gone through the use of Tables property. But I have one confusion.
My table is not static. Value get changed during run time. Also it is not one table. I have an array of tables. That means I need to create an array of table object (If there is a provision) something like below:
myTableArray=new Array();
for(i=0;i<10;i++) // Create 10 tables
myTableArray=new Tables.myTable()
How to do this?
Here is my code outline look like:
for(myIndex=0;myIndex<10;myIndex++)
{
Read the present values of the table and store in my TableArray[ myIndex]
Do certain operation in the application.
Verify that the table values are changed as per the need.
}
In the above case, I end up in creating and storing 10 table objects.
Please suggest if there is a method to do this.
Regards,
Mahesha