Input random email

pincode

  • Joined: Dec 15, 2011
  • Posts: 4

Thu 12/15/2011 - 11:07

  Hello... i'm tried for few days to figure out if there is an option for this but can't find anything that works.

  I need the script to input a random email each time he loads a webpage!

 

  Any help please ?

#1

pincode

  • Joined: Dec 15, 2011
  • Posts: 4

Thu 12/15/2011 - 23:48

 Maybe if i'm explaing more of what i need some can help me...

 

1) I have 2 files one with first names and one with last name... i want to get a random name from each of this files and join them with . as delimiter, add a random number at the end (ex: firstname.lastname84)

 

2) take the generated text add random provider to it (ex: firstname.lastname84@yahoo.com)

 

3) Write the final version on a website.

 

I've manage to make the script to read the files, join them... but i can't make it to take a random name from files.

#2

harshal963

  • Joined: Dec 26, 2010
  • Posts: 7

Fri 12/16/2011 - 9:06

you can try it in following way:

 

manually copy the first names list in first col of an excel file.

manually copy the last names list in the second col of the same excel file.

 

Then generate a random no(it is present in variable actions) within the range i.e from 1 to totalnooffirstnames.Save this in a variable name, suppose var1.

 

Similarly do it for lastnames and save it in variable var2.

 

now use another variable var3 which will access the value at cell no [1][var1].

1 is the column1 of excel file and var1 is the row value of the same column.

Similarly find value for var4.

Now var3 will contain a randomly selected first name and var4 will contain randomly selected last name.

 

Now you can proceed to join these variables.

 

 

 

I am also working on project similar to this but before this, i have to figure out another problem that i am getting, i have posted that problem in the forum.

 

Also i would be intrested in knowing how to take these values to a web form without macros.Can we post or fill a form usng download from web(Post Method)

without opening the browser?

 

 

#3

Samantha

  • Joined: Apr 23, 2010
  • Posts: 2326

Sun 12/18/2011 - 20:04

Hi! You can fill in a form using the download from web action, however, you need to make sure that the website's structure allows you to do so. :) Samantha

#4
Not a member yet? Register

Copyright 2013 - Softomotive Ltd