Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I paste a value into a text box that I created a checkpoint for?
#2
Solved: 11 Years, 4 Months ago
Hi egun,

It is as similar as setting a value in a text box from a datatable. Here in your scenario a runtime datatable is created which has the text output value, you can use "Set Datatable("column", dtglobalsheet)" to populate your text box with the runtime value.
Have a look at the following code.
--------------
'Here the output value is saved in the Global sheet of Runtime Datatable.
Code:
Browser("Vision").Page("Vision").WebTable("#").Output CheckPoint("ClaimNum2") 'The value will be present in the runtime datatable (Global sheet)
Browser("Vision").Page("Vision").WebEdit("Visiontext").Set Datatable("vision_text", dtGlobalSheet)
----------------
Hope this helps!

Thanks,
Reply


Messages In This Thread
RE: How do I paste a value into a text box that I created a checkpoint for? - by QTPian - 07-16-2009, 10:26 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to paste file location in QTP camillelola 0 1,534 08-09-2018, 10:54 AM
Last Post: camillelola
  text checkpoint properties error alp 0 1,172 11-24-2017, 04:36 PM
Last Post: alp
  How can we get the Windows application Text box background color Using UFT 11.53 Kuppampattu 3 6,014 06-06-2017, 11:12 AM
Last Post: workrohit08
  Need to Validate Text filed is blank after clicking on the Text box balak89 3 4,891 09-13-2015, 12:06 AM
Last Post: ADITI1992
  Capture Value through Text Checkpoint and compare with datatable value hamzaz 2 4,729 03-06-2014, 12:52 AM
Last Post: mallika.g

Forum Jump:


Users browsing this thread: 1 Guest(s)