Hi
I'm working on a log-in functionality for a webpage where the same object (dialog box) is displayed to the user but displays different message depending on if the correct password/invalid/blank/not enough characters is entered by the user.
I'm looking for a solution from a formal test perspective i.e. I need test evidence for each log-in data. Currently I'm using CaptureBitMap to save images of every dialog box displayed but I'm testing with lots of different data and don't want to save images for that much data. There must be a way of getting the dialog box properties (hopefully unique for each message) from the box, best would be to read the text directly off the box and save to excel/text file. Can anyone suggest the best method to use, should I use the dialog box properties method or should I try and create checkpoints? I tried using a simple text checkpoint but I can't highlight the text on the dialog box so QTP can't read it.
Any ideas would be much appreciated.
I'm working on a log-in functionality for a webpage where the same object (dialog box) is displayed to the user but displays different message depending on if the correct password/invalid/blank/not enough characters is entered by the user.
I'm looking for a solution from a formal test perspective i.e. I need test evidence for each log-in data. Currently I'm using CaptureBitMap to save images of every dialog box displayed but I'm testing with lots of different data and don't want to save images for that much data. There must be a way of getting the dialog box properties (hopefully unique for each message) from the box, best would be to read the text directly off the box and save to excel/text file. Can anyone suggest the best method to use, should I use the dialog box properties method or should I try and create checkpoints? I tried using a simple text checkpoint but I can't highlight the text on the dialog box so QTP can't read it.
Any ideas would be much appreciated.