Checkpoints are used to verify the property values with expected ones. If they match checkpoints pass else they fail.
You can add standard checkpoint by right clicking the statement and then selecting the insert standard checkpoint menu.
Sample checkpoint window is shown here..
Browser("Google").Page("Google").WebEdit("q").Set "salunke"
Browser("Google").Page("Google").WebEdit("q").Check CheckPoint("q_2")
Browser("Google").Page("Google").WebEdit("q").Output CheckPoint("q")
Browser("Google").Page("Google").WebButton("Google Search").Click
Results window showing the checkpoint status
Please give your inputs, suggestions, feedback to Us about above QTP topic. We value your thoughts.
You can add standard checkpoint by right clicking the statement and then selecting the insert standard checkpoint menu.
Sample checkpoint window is shown here..
Browser("Google").Page("Google").WebEdit("q").Set "salunke"
Browser("Google").Page("Google").WebEdit("q").Check CheckPoint("q_2")
Browser("Google").Page("Google").WebEdit("q").Output CheckPoint("q")
Browser("Google").Page("Google").WebButton("Google Search").Click
Results window showing the checkpoint status
No comments:
Post a Comment
Please Leave your reply. We value your feedback and inputs