05-07-2009, 09:02 PM
So is what I am trying to do:
I have a script that runs an output value to a data table that is "PGY 2." Later on in the script I run a checkpoint on that same value. Problem is the application I am testing only displays the "2" on the page. Its a table, the header is "PGY" and the row says "2." How do I get the checkpoint to take what is in the cell of my datatable and eliminate the "PGY?" I suspect this involves running a regular expression, but I can't seem to figure out how to get this to run correctly.
I have tried clicking the Parameter radio button on the Checkpoint properties box and then telling it to check that cell in the datatable. I have also tried clicking "Regular Expression" on the Parameter Options window, but it doesn't allow me to then enter in an expression. So I am very confused. I even tried an "If...Then" statement, but i can't get that work either.
I am ok with using the Expert View, but bear in mind I am kinda a beginner in that.
I have a script that runs an output value to a data table that is "PGY 2." Later on in the script I run a checkpoint on that same value. Problem is the application I am testing only displays the "2" on the page. Its a table, the header is "PGY" and the row says "2." How do I get the checkpoint to take what is in the cell of my datatable and eliminate the "PGY?" I suspect this involves running a regular expression, but I can't seem to figure out how to get this to run correctly.
I have tried clicking the Parameter radio button on the Checkpoint properties box and then telling it to check that cell in the datatable. I have also tried clicking "Regular Expression" on the Parameter Options window, but it doesn't allow me to then enter in an expression. So I am very confused. I even tried an "If...Then" statement, but i can't get that work either.
I am ok with using the Expert View, but bear in mind I am kinda a beginner in that.