webdriver vs RC vs ??

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

webdriver vs RC vs ??

伟思礼
I first heard of Selenium yesterday when I was considering attempting to do this in Javascript (which I am not good at).

But I see that there are at least two versions, RC and WebDriver.  Any others?  Which should I get for the following task?

I can use Safari or Firefox on Mac.  I prefer Safari.

I log in to a website with ID/password,
click one button to go to a page to review data that we have entered into a database in the past.
enter start & end dates.
web app generates a boatload of PDFs that I need to download, but each one is a separate icon.
Thus, I don't want to spend an hour clicking on PDF icons.  And they all download with the same filename, but the Mac automatically renames so that they don't overwrite.
And there are two PDFs for each, the data in one and a status in the other, so I only need the status (but if I get both, deleting the status is trivial).
Each data link is in the form:
<td align="center" class="linked"><a href='javascript:viajeros("172633059")'>
   
<img src='img/pdf_recibos.png' border='0' width='20' height='20' alt='Parte de viajeros'/>
</a></td></tr>

but the number (parameter) is not predictable.

So, which tool is better for downloading all the PDFs?  I see that I could write Javascript to scan the DOM for links that contain that function call and then do the call, but maybe Selenium would be easier?

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/d8109f2f-3908-496d-8694-b52e74708da2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: webdriver vs RC vs ??

Vikram
Hey,

Welcome to Selenium world.

As you're starting new, I would suggest to go through my blog  https://vikramviknowledgesharing.wordpress.com/2017/01/01/selenium-vickypedia-web-automation/

It has got tons of info accumulated from my learnings with Selenium from others.

Hope it helps you as well.

Cheers,
Vikram

On Monday, May 21, 2018 at 3:36:04 PM UTC+2, 伟思礼 wrote:
I first heard of Selenium yesterday when I was considering attempting to do this in Javascript (which I am not good at).

But I see that there are at least two versions, RC and WebDriver.  Any others?  Which should I get for the following task?

I can use Safari or Firefox on Mac.  I prefer Safari.

I log in to a website with ID/password,
click one button to go to a page to review data that we have entered into a database in the past.
enter start & end dates.
web app generates a boatload of PDFs that I need to download, but each one is a separate icon.
Thus, I don't want to spend an hour clicking on PDF icons.  And they all download with the same filename, but the Mac automatically renames so that they don't overwrite.
And there are two PDFs for each, the data in one and a status in the other, so I only need the status (but if I get both, deleting the status is trivial).
Each data link is in the form:
<td align="center" class="linked"><a href='javascript:viajeros("172633059")'>
   
<img src='img/pdf_recibos.png' border='0' width='20' height='20' alt='Parte de viajeros'/>
</a></td></tr>

but the number (parameter) is not predictable.

So, which tool is better for downloading all the PDFs?  I see that I could write Javascript to scan the DOM for links that contain that function call and then do the call, but maybe Selenium would be easier?

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/22226559-c4d1-4a34-b9a8-7cf099f861b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: webdriver vs RC vs ??

Sindhu Jvs
Hi Vikram,

             I have a doubt in if-else condition in selenium, When we are verifying login of gmail how to put a condition login success or not.Please can you help me out in this scenario

On Tue, May 22, 2018 at 3:03 PM, Vikram <[hidden email]> wrote:
Hey,

Welcome to Selenium world.

As you're starting new, I would suggest to go through my blog  https://vikramviknowledgesharing.wordpress.com/2017/01/01/selenium-vickypedia-web-automation/

It has got tons of info accumulated from my learnings with Selenium from others.

Hope it helps you as well.

Cheers,
Vikram

On Monday, May 21, 2018 at 3:36:04 PM UTC+2, 伟思礼 wrote:
I first heard of Selenium yesterday when I was considering attempting to do this in Javascript (which I am not good at).

But I see that there are at least two versions, RC and WebDriver.  Any others?  Which should I get for the following task?

I can use Safari or Firefox on Mac.  I prefer Safari.

I log in to a website with ID/password,
click one button to go to a page to review data that we have entered into a database in the past.
enter start & end dates.
web app generates a boatload of PDFs that I need to download, but each one is a separate icon.
Thus, I don't want to spend an hour clicking on PDF icons.  And they all download with the same filename, but the Mac automatically renames so that they don't overwrite.
And there are two PDFs for each, the data in one and a status in the other, so I only need the status (but if I get both, deleting the status is trivial).
Each data link is in the form:
<td align="center" class="linked"><a href='javascript:viajeros("172633059")'>
   
<img src='img/pdf_recibos.png' border='0' width='20' height='20' alt='Parte de viajeros'/>
</a></td></tr>

but the number (parameter) is not predictable.

So, which tool is better for downloading all the PDFs?  I see that I could write Javascript to scan the DOM for links that contain that function call and then do the call, but maybe Selenium would be easier?

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/22226559-c4d1-4a34-b9a8-7cf099f861b4%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CABMvyndXY%3DqYqdoBgX1mxWiHRUcHDNj1zNutK3EmN4bOpmcrYw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.