Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help with checkpoints
#1
Solved: 10 Years, 9 Months, 2 Weeks ago
Hi all,

I have a question here. I have written a code that parses the script lines in qtp and i create my test assets that way. What I need to do now is to parse the validation lines as well. The problem here is that validations can be written in a lot of ways. To start with, I picked up the one easiest to put as it requires no coding effort, CheckPoint.



Now, my script line looks like this -



Code:
Browser("homepage").Page("User Login").WebEdit("sid").Set "blah blah"



And when i add a validation to check the value in the text box, it comes as -



Code:
Browser("homepage").Page("User Login").WebEdit("sid").Check CheckPoint("sid")



Now, I don't have information here bout the CheckPoint, i.e. what validation is being done here and what value it is being validated, etc. My question is, is there any way I can reflect this in the script line only, containing information which is required for validation, namely - value being validated and which validation is being done?



(Something LIKE this)



Code:
Browser("homepage").Page("User Login").WebEdit("sid").Check CheckPoint("sid", "validate text", "blah blah")



Is there a workaround to get these values from some other place as well? Thanks in advance.
Reply


Messages In This Thread
Need help with checkpoints - by lalabhaiya - 10-15-2009, 07:42 PM
RE: Need help with checkpoints - by Ankur - 10-15-2009, 10:45 PM
RE: Need help with checkpoints - by lalabhaiya - 10-16-2009, 11:58 AM
RE: Need help with checkpoints - by Ankur - 10-16-2009, 02:53 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Fixing broken Checkpoints mv8167 2 2,746 02-02-2012, 10:00 PM
Last Post: mv8167
  Changing existing checkpoints janriis 1 3,088 12-13-2009, 12:55 PM
Last Post: basanth27
  Adding checkpoints anbarasu 2 2,879 10-23-2009, 05:18 PM
Last Post: anbarasu
  Condition for Checkpoints Sudhamshu 6 4,252 10-08-2009, 07:17 PM
Last Post: Sudhamshu
  Difference between checkpoints and outputvalues satyadon 1 4,201 10-21-2008, 11:02 PM
Last Post: satyadon

Forum Jump:


Users browsing this thread: 1 Guest(s)