I need some coding help:I have a section of my application that looks up legal case numbers. So for example, I type 04TR000001 as my case number click GO and it will open the appropriate case.I have a data sheet with a parameter CASENUM and it has about 50 case numbers I now need to be able to verify the right case has opened. There is a bunch of case header information that comes up when a case is opened. It includes for example: --------------------------------------------------------------------LAKE IN THE HILLS VS. RUBONO, MICHAEL(04TR000001) Type:Traffic (TR) Filing Date: 02/28/2006 ---------------------------------------------------------------------I tried doing a simple text checkpoint comparision of CASENUM to the text inbetween the parenthesis. LAKE IN THE HILLS VS. However, that entire first line is not simply text, it is a complex web object called LAKE IN THE HILLS VS. Inside that web object is a property called INNERTEXT. This contains the entire first line of that text in the header I listed above.I need to:1) Retrieve the innertext from the object, getting only the text inside the parentheses.2) Compare that text to the current CASENUM.3) If the texts are equal, log the test as PASSED, if NOT log them as FAIL.I could use some assistance in all three.
Questions by waynehazle
Showing Answers 1 - 4 of 4 Answers
Related Answered Questions
Related Open Questions
I need some coding help:I have a section of my application that looks up legal case numbers. So for example, I type 04TR000001 as my case number click GO and it will open the appropriate case.I have a data sheet with a parameter CASENUM and it has about 50 case numbers I now need to be able to verify the right case has opened. There is a bunch of case header information that comes up when a case is opened. It includes for example: --------------------------------------------------------------------LAKE IN THE HILLS VS. RUBONO, MICHAEL(04TR000001) Type:Traffic (TR) Filing Date: 02/28/2006 ---------------------------------------------------------------------I tried doing a simple text checkpoint comparision of CASENUM to the text inbetween the parenthesis. LAKE IN THE HILLS VS. However, that entire first line is not simply text, it is a complex web object called LAKE IN THE HILLS VS. Inside that web object is a property called INNERTEXT. This contains the entire first line of that text in the header I listed above.I need to:1) Retrieve the innertext from the object, getting only the text inside the parentheses.2) Compare that text to the current CASENUM.3) If the texts are equal, log the test as PASSED, if NOT log them as FAIL.I could use some assistance in all three.
Profile Answers by waynehazle Questions by waynehazle
Questions by waynehazle
Related Answered Questions
Related Open Questions