Thanks, GetVisibleText worked.
On Thursday, August 25, 2016 at 12:28:59 AM UTC-4, Cuong Tran wrote:
> Have you try the method object.GetVisibleText?
> It will show all the text inside the object that you focus to.
>
> example: Msgbox
>
Have you try the method object.GetVisibleText?
It will show all the text inside the object that you focus to.
example: Msgbox
Browser("yourbrowser").Page("yourPage").WebElement("theboxarea").GetVisibleText
It maybe WebElement or WebList or WebTable or what Ever type of the text
area that
Use the below code this may help you.
Set childobjdes = Description.Create()
childobjdes("micclass").value="WebElement"
set allobj = Browser().Page("ABC").ChildObjects(childobjdes)
mycount = allobj.count
If mycount > 0 Then
For i= 0 to allobj.count-1
output=
Hi,
Thank you for the response, but this won't help me. I can only extract if
I see the text I'm looking for. It's a webpage with text then a box with
lines around it that has "Version Number 3.11.02.104" . I want to get the
number 3.11.02.104
I get all the text from the page but this
Hi,
You should give the sample text to make clarify
In another way, you can use the below func to get the text between 2
special characters (if it can solve your issue)
*Function GetTextBetween2Chars(strText,firstDeli,secondDeli)
firstDelPos = InStrRev(strText, firstDeli) 'position
Hello,
I want to get version number off a WebElement. I get all the text but the
text on the Webelement that has the version number..
Any help is appreciated. Here's the code I'm using.
Thanks
Set childobjdes = Description.Create()
childobjdes("micclass").value="WebElement"