Get part of web page

Discuss RoboTask here
Post Reply
deesloop
Posts: 70
Joined: Wed Feb 25, 2009 3:44 am

Get part of web page

Post by deesloop »

I want to log into a web site, navigate to a new page and pull a data table from it and then display the table.

I've got the web login working fine and the navigation to the second page
Howver I cant see how to save the data from the site.
Any ideas how this can be achieved?

Thanks
Oleg
Site Admin
Posts: 3034
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Get part of web page

Post by Oleg »

Simplest way (if you are using external web browser): Ctrl-A, Ctrl-C
That is: "select all" and "copy to clipboard"

Next, you can get the text from clipboard and parse it.
Oleg Yershov
deesloop
Posts: 70
Joined: Wed Feb 25, 2009 3:44 am

Re: Get part of web page

Post by deesloop »

I'm using your the browser.
deesloop
Posts: 70
Joined: Wed Feb 25, 2009 3:44 am

Re: Get part of web page

Post by deesloop »

Sorted it.
It's not CTRL - C for copy, you have to use the key combo
Oleg
Site Admin
Posts: 3034
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Get part of web page

Post by Oleg »

I'm using your the browser.
In this case use Web Page information action
Leave "Web address" field empty.

You can save HTML code or Text of the page into variable. The action saves complete code or text.
You have to parse this text and extract necessary part yourself
Oleg Yershov
deesloop
Posts: 70
Joined: Wed Feb 25, 2009 3:44 am

Re: Get part of web page

Post by deesloop »

I have PMD you the task

The issue I have is that this runs OK when robotask is running but I dont want robotask running all the time.
This is to be an as and when type task, launched with a shortcut

If I run the task without robotask running and i I get a dialogue box
"Please wait until all the running tasks will be finished"
Is this because of the dialogue box that is open?

I've edited the task to open Notepad and paste that way.
But the dialogue box is much neater looking.

Is there a way to NOT display the please wait untill all running task will be finished?
Also, I dont seem to be able to run the web browser at an x,y size below 20 or so?
I dont want them to see the bowser at all - or at least make it tiny...
Oleg
Site Admin
Posts: 3034
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Get part of web page

Post by Oleg »

I dont want robotask running all the time
I think that this is not good idea. You can get many inconveniences.
"Please wait until all the running tasks will be finished"

You see this warning message when RoboTask get shutdown command but some tasks is being executed as yet.
Could I instead run notepas and paste the contents in there?
If you put some text into system clipboard you can paste it to any input field.
Oleg Yershov
Oleg
Site Admin
Posts: 3034
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Get part of web page

Post by Oleg »

I dont want them to see the bowser at all
Web documents actions have the option "Hide browser's window"
webdoc2.png
webdoc2.png (32.04 KiB) Viewed 27594 times
webdoc1.png
webdoc1.png (36.42 KiB) Viewed 27594 times
Oleg Yershov
Post Reply