Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting text from Edit Box
#1
Solved: 10 Years, 8 Months, 3 Weeks ago
Hello,

I am downloading a file form the web. Before I save it, I want to capture the file name that is in the edit box.
I tried using a = Dialog("Save As").WinEdit("File name:").GetTOProperty("Text") and "value" but noting is getting returned.
See the attachment.

Thanks,
Raj


Attached Files Image(s)
   
Reply
#2
Solved: 10 Years, 8 Months, 3 Weeks ago
Use

Code:
a = Dialog("Save As").WinEdit("File name:").GetROProperty("text")

TO is used to fetch the property values stored in OR.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply
#3
Solved: 10 Years, 8 Months, 3 Weeks ago
That worked. Thank you!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to edit a text in aParagraph shaan.mishra87@gmail.com 2 2,367 08-26-2016, 04:48 PM
Last Post: shaan.mishra87@gmail.com
  Auto complete for Web Edit box branjitk 2 5,712 12-20-2014, 09:31 PM
Last Post: supputuri
  Read text from text file and save it into a variable in qtp arpan 3 12,091 06-19-2013, 08:34 PM
Last Post: arpan
  Could not able to click on 'Edit' Button in a Table kotaramamohana 3 3,342 09-26-2012, 07:40 PM
Last Post: krr
  Verify Text box border color qtpexpert 3 5,700 09-11-2012, 11:48 PM
Last Post: DevilkID

Forum Jump:


Users browsing this thread: 1 Guest(s)