Hi.. I am new to testpartner and I need some help..please help.
This is what I want to do.
I just found out to create the datatest. I entered all the values so the columns are there for me to enter the data. Now I need to check the value of one label after first 6 values are entered and the command button is clicked. The value of label depends on what is entered in all 6 text boxes, so it can be different for each record the script is run. How do I do that.
once I do that I will need to check some check boxes on the same screen whether they are enabled on disabled.
Is there anyone who can help me?
Are you talking about numerical values and labels or text?
ie are the 6 values numbers which will result in a numerical label, or text values? Sounds like you will need to write some VB code to check the label and also the checkboxes, probably along the lines of an if statement
Hi.. I just found out that I can use bitmap image to compare, I guess that will work, but how do I put that in the middle of the data entry? First 6 values are numerical values, once I enter that I get a alphanumeric answer on the label.
If you want to use TestPartner's Check feature to do this, you should use a Property check. If you capture your property check at the Window level... it will pull in all of the controls on the window and validate thier properties. You will want to exclude the other controls that you are not checking.
If you want to do your validation with code, using a userCheck, you can do something like below. Note that these may not be your exact attach names and the .ENABLED property works differently in some enviroments.