04-22-2010, 07:31 PM
(This post was last modified: 04-22-2010, 09:12 PM by Vandembergue.)
screenshots.doc (Size: 37.5 KB / Downloads: 109) 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