Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Capture Value through Text Checkpoint and compare with datatable value
#1
Not Solved
Hello,

I am new user of QTP 11, I am trying to complete a test case in which I am trying to capture a text from the "Text CheckPoint" and now I want to compare that checkpoint captured text value to a value in Datatable. Please let me know how can I do it?

Looking for positive responses Smile


Reply
#2
Not Solved
Looking for kind suggestions.
Reply
#3
Not Solved
Hi,
With checkpoint you can capture a existing text and make sure every time when you run same text exists or not. To Insert a check point
1. Click on Record
2. Insert-->CheckPoint-->Text checkpoint
3. Click on text which you want to capture.
This text will be stored in Object repoitory and next time when you run the script it will check that text exist or not.
But This will not help you to get run time text.

If you want to use captured text for comparison you need to use GetROPRoperty.

ex:
Code:
CompareText = Browser(”browser_name”).PAGE(pagename").GetROProperty(”hwnd”)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  text checkpoint properties error alp 0 1,191 11-24-2017, 04:36 PM
Last Post: alp
  [UFT] Compare value of List with DataTable robertosalemi 2 3,079 04-06-2016, 08:12 PM
Last Post: robertosalemi
  Need to Validate Text filed is blank after clicking on the Text box balak89 3 4,973 09-13-2015, 12:06 AM
Last Post: ADITI1992
  Compare WebTable Elements saraiado 1 2,580 06-11-2015, 06:54 PM
Last Post: venkatesh9032
  Find a text in Runtime datatable ra.dineshkumar@gmail.com 1 2,044 12-01-2014, 06:18 PM
Last Post: supputuri

Forum Jump:


Users browsing this thread: 1 Guest(s)