Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8786207
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T21:33:29+00:00 2026-06-13T21:33:29+00:00

I want to export e-mails from a web-page to Selenium for a later test.

  • 0

I want to export e-mails from a web-page to Selenium for a later test. To check, if these e-mails are equal to later ones, shown in a selection.

I found a way to read them inside a while-loop. That’s why I have to handle with arrays in IDE and I have no idea how to do that.

I tried it like this, but it doesn’t work:

store | 0 |i
store | 17 | line
storeElementPresent | //html/body/div/div[4]/*/div[3]/table/tbody/tr/td/table/tbod/tr[${line}]/td[3]/a |adresseDa
while | ${adresseDa}!='0' 
storeEval | javascript{new Array()} | array
storeText | //html/body/div/div[4]/*/div[3]/table/tbody/tr/td/table/tbody/tr[${line}]/td[3]/a | mail
storeEval | storedVars.array[storedVars.i]=storedVars.mail 
echo | ${array}
storeEval | storedVars.line++
storeEval | storedVars.i++
storeElementPresent | //html/body/div/div[4]/*/div[3]/table/tbody/tr/td/table/tbod/tr[${line}]/td[3]/a | adresseDa
endWhile

The echo | ${array} retruns null. So apparently it doesn’t works this way.

How can I store the e-mails in an array and how can I later get access to them?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T21:33:30+00:00Added an answer on June 13, 2026 at 9:33 pm

    I found a solution 🙂
    To store the mails in a array:

    store   | 17    | line
    storeElementPresent  |//html/body/div/div[4]/*/div[3]/table/tbody/tr/td/table/tbod /tr[${line}]/td[3]/a | adresseDa
    while | ${adresseDa}!='0'   
    storeText | //html/body/div/div[4]/*/div[3]/table/tbody/tr/td/table/tbody/tr[${line}]/td[3]/a  | tempMail
    store   | javascript{storedVars['tempMail'].substring(7,100)} | mail
    push    | ${mail}  | mailArray
    echo    | ${mailArray} 
    storeEval | storedVars.line++       
    storeElementPresent | //html/body/div/div[4]/*/div[3]/table/tbody/tr/td/table/tbody/tr[${line}]/td[3]/a | adresseDa
    endWhile 
    

    To check if the emails in the array are the same than in a DropDownMenu on a later webpage:

    verifySelectOptions |   //*[@id="mainForm:Emailadresses"] | ${mailArray}
    

    for the push an while you can download a extention from here:

    http://51elliot.blogspot.de/2012/07/sideflow-update-selenium-ide-flow.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to export some data from my jruby on rails webapp to excel,
I want to export the page Info to Excel ,who can tell me how
I want to export data from a table to a specifically formatted XML file.
I want to export data and structure from MySQL database using PHP. I know
So I want to export the data from one list into another so I
I want to export a custom XML feed from Magento, and this is the
I want to export the first image link from given text with PHP. Let's
I want to export select * from table results to a text file from
I want to export data from mysql tables to excel sheet. I am using
I want to export my contacts from gmail into a csv file.. Then upload

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.