Populates data on an SData run Server to create Demo Data based off an Eval user set.
Launch the application in Visual Studio. Then click the Build drop down menu and select Publish. Then navigate through the wizard to create the setup.exe. Once finished it is simply a double-click process on the setup.exe to install the program.
Q: How do I download the Demo-Bot? A: Press the download ZIP button on the GitHub page for tlwalla1/Demo-Bot and extract the files. Q: How do I get the bot running? A: There are multiple ways to get the bot running. If you are looking for an exe to run from, first open the project in Visual Studio. Once open, click the 'Build' drop down and select 'Publish'. If 'Publish' is unavailabe, try selecting BotExecutable in the solution navigator menu. If you want to test out the current bot, or any modifications made by yourself, merely run the program in your favorite compiler. If you are looking for the bot to run on a server without need for much human attention, try out the new 'Service' branch and get that installed on your machine. If you are new to service applications check out this fantastic article from Microsoft detailing how to get a service running using Visual Studio 'http://msdn.microsoft.com/en-us/library/zt39148a(v=vs.110).aspx'. Q: How do I add more variables for the bot to use? A: I have separated the bot into specific regions for easier use. For this particular question, you would want to navigate to the Random Variable Creation region and select the function that you wish to add data to. Typically these functions will begin with 'random' and should contain a string array of values which you can modify (Just make sure you change the range of the choice in order to include them in the potential options!). Q: When I press the run bot button, what is the bot actually doing? A: For the non-technical, the bot runs through a series of pre-defined steps, often randomized, that cause the actors to function in a way that best describes their role. Currently each predefined user, such as 'Lee' or 'Pam', have a certain function that they will execute on. Something that is new and quite tasty is the Inside Sales roles which execute Lead Generation and Lead Qualification functions. These functions provide a story in that they complete a series of steps that would most adequately reflect that of an Inside Sales representative. For the more technical, I suggest that you check out the functions within the code itself. These are all layed out within the Roles region which calls functions from the RandomCreation region. Q: I set the bot up to run with specific users, but it doesn't appear to be doing anything! What happened? A: My guess is that those users are unique to your servers and were not the users I had pre-defined in the bot. To fix this, go into the Roles section. Under the roleSetter function add the users that you are trying to have run into the correct case that allocates to their role as a user. Q: I was browsing your code and it looks like there are functions left blank. What is the purpose of that? A: I have been coding this project in multiple segments. I am currently a college student and thus have been interning at the fantastic company that has granted me this great opportunity, Swiftpage, over my breaks from school. Thus, these empty functions are solely empty because I was unable to complete them within my limited amount of time. Think of them as nuggets for knowing what the bot will soon be capable of ;) Q: HELP! I just downloaded the bot and tried running it, but the bot is giving me an error. A: Please check to make sure that you have the bot pointing to the correct server address. Please enter the full base address of the server, ie. for slx81 you would enter 'https://slx81.saleslogixcloud.com'. Q: How do I know the bot is doing anything? A: If you are running the bot with the UI, it will display incremental values over on the right hand side of the interface. If you are running the bot as a service, there is no interface to display it on. For both the bot as a service and with the interface, the bot logs its actions under 'C:/Swiftpage/' and has a text file for each actor run. Q: Can I run more than just 5 actors? A: Yes you can, if you publish the program and run multiple exes you can run 5 more per exe. Or you that is too stressfull on your computer, I suggest downloading the 'Service' branch and using that as a service application. The service application runs all known users for Saleslogix demoing. If you need to modify these users please look at the question about running specific users. Q: When looking through your code I see variables which, upon first read, seem to have no purpose in the program. Why? A: Some variables are remnants from the previous build of the Demo-Bot. Currently the bot is at a functional v2.0 and much has changed since v1.0 in an attempt to make the bot more user friendly and smarter. Q: Where are the service application users located? A: The bot reads in users from a text file located in the Demo-Bot/Demo Bot/RunUserProfile.txt file.