Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get a multi_line text ?
#1
Solved: 10 Years, 9 Months, 3 Weeks ago

.doc   screenshots.doc (Size: 37.5 KB / Downloads: 98) Hi There,

I cannot find how to get a multi-line text.
My problem is that a dialog box appears when a mandatory editbox is not filled up when clicking to get to the next page.

I have to get the text written in the dialog box. I tried to use GetROProperty this way :

Code:
If Browser("Connexion à PeopleSoft").Dialog("Microsoft Internet Explorer").Exist(1) Then
Set cMessage=Description.Create()
cMessage("Class Name").Value="Static"
Set cMessages=Browser("Connexion à PeopleSoft").Dialog("Microsoft Internet Explorer").ChildObjects(cMessage)
text = cMessages(0).GetROProperty("text")

1) As the text is <multi-line value> => error

Thanks
Alain
Reply


Messages In This Thread
How to get a multi_line text ? - by Vandembergue - 04-22-2010, 07:31 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Need to Validate Text filed is blank after clicking on the Text box balak89 3 4,557 09-13-2015, 12:06 AM
Last Post: ADITI1992
  I am trying to extract text from a webelement but it is generating blank text scenari excellentpawan 2 4,300 08-13-2013, 08:37 PM
Last Post: excellentpawan
  how to find a particular text in a text string pjavvaru 3 16,659 06-04-2010, 08:49 PM
Last Post: jsknight1969
  Retrieve text from Text Checkpoint Amit Singh Chauhan 1 2,342 08-20-2009, 07:15 PM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 1 Guest(s)