webdriver vs RC vs ??

36 views
Skip to first unread message

伟思礼

unread,
May 21, 2018, 9:36:04 AM5/21/18
to Selenium Users
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?

Vikram

unread,
May 22, 2018, 5:33:51 AM5/22/18
to Selenium Users
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

Sindhu Jvs

unread,
May 22, 2018, 5:40:40 AM5/22/18
to seleniu...@googlegroups.com
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

--
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 selenium-users+unsubscribe@googlegroups.com.
To post to this group, send email to selenium-users@googlegroups.com.
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 all
Reply to author
Forward
0 new messages