Creating users in web application

armbsu
armbsu used Ask the Experts™
on
I need to create about 500 users for our web application. I will also need their person id that system assigns them when I create them which is a number that appears in the URL after creating it.  What tool/script do I need to use to do this?  I was thinking about Selenium webdriver but not sure if the HTMLunitdriver will capture that number from the URL.

Please suggest.

Thank you
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2016

Commented:
I don't understand your problem. The users will have their data stored in a database of some sort. so why don't you just query the database, If it is your web app then you can simply write a bulk user loader program that does what the web app does but use a .csv file for input.

Author

Commented:
@ David,


If it is your web app then you can simply write a bulk user loader program that does what the web app does but use a .csv file for input.

I am exactly asking this.  What bulk user loader program can I use? I do not/ cannot know database tables due to accessibility issues.
Director of Customer Relations
Commented:
I was thinking about Selenium webdriver but not sure if the HTMLunitdriver will capture that number from the URL.
Yes you can use getCurrentUrl and parse out that parameter. https://selenium.googlecode.com/git/docs/api/java/org/openqa/selenium/htmlunit/HtmlUnitDriver.html#getCurrentUrl--
Become a Microsoft Certified Solutions Expert

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

Top Expert 2016

Commented:
Did you not write the web application?

Author

Commented:
@David- no

@Craig- Thank you!

Author

Commented:
Thanks

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial