Your Privacy
We use cookies to give you a better experience in Alchemy Help Center
You can learn more about what kind of cookies we use, why, and how from our Privacy Policy. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings in our cookie banner to change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer. For more details, check out our Privacy Policy link below.
View Privacy Policy
Strictly Necessary Cookies
These cookies are necessary for the website to function and cannot be switched off in our systems, but do not store any person information. They are usually set in response to your actions that triggers a request for services, such as setting your privacy preferences, logging in or filling forms. You can change your browser settings to alert you about these cookies, but some parts of the Website may not work.
View Cookies
In my website I have a feature to add a customer by providing the details, I want to test the consistency of this "add customer" functionality by executing the same steps multiple times with the different set of data, How can I achieve this using Alchemy?
0 Votes
TheBugScout posted 3 months ago Best Answer
To test the stability of a feature in Alchemy, you can execute the same action multiple times using the same set of data. I understand that you want to verify the consistency of a feature by repeatedly performing the same action with identical data, and Alchemy allows you to do this with both fixed and random data sets.
Here’s how you can achieve this by following these steps:
1. Record the test for the feature you want to verify.
2. Choose the steps you want to repeat by checking their checkboxes. Then, click the "Repeat these steps" option. You will be prompted to create a function.
3. Provide a name for the function and click "Create Function." A new prompt will appear, asking you to select the mode.
4. Choose the loop mode as 'Data' and click the "Confirm Mode" button. This will set up a repeat action in the test to loop through the steps with the loop mode as data.
5. Now, Go to data tab, click on the "Create Data Source" button. A prompt will appear asking you to create the data, here either you can create the synthetic data or csv data source, as you want to test the feature with random data you can choose the type as synthetic.
You can watch the below video on How create the synthetic data.
https://www.youtube.com/watch?v=v1wHPWcw2xU&list=PLf3HoOUP1qC2_b8rls9P4zIWyO8bWHDZE&i
ndex=1
7. Once you are done with synthetic data creation, return to the test and open the data toolbox by clicking the data toolbox toggle. Drag the URL data table reference from the data section and drop it into the repeat action's data table field. Alternatively, you can copy the pointer for that URL variable and paste it directly into the data table field of the repeat action.
8. Now, Go to the "function" tab and open the created function, remove any hardcoded data from the function and refer the table headers. You can drag the table headers from the data section and drop them into the required steps. Alternatively, copy the pointers for the table headers and paste them directly into the required steps.
9. Once everything is set up, save the test and execute it using execute button.
By following these steps, you can efficiently test the consistency and stability of a feature by repeating the same actions with the different set of data in Alchemy.
Thanks!
1 Votes
1 Comments
TheBugScout posted 3 months ago Answer
To test the stability of a feature in Alchemy, you can execute the same action multiple times using the same set of data. I understand that you want to verify the consistency of a feature by repeatedly performing the same action with identical data, and Alchemy allows you to do this with both fixed and random data sets.
Here’s how you can achieve this by following these steps:
1. Record the test for the feature you want to verify.
2. Choose the steps you want to repeat by checking their checkboxes. Then, click the "Repeat these steps" option. You will be prompted to create a function.
3. Provide a name for the function and click "Create Function." A new prompt will appear, asking you to select the mode.
4. Choose the loop mode as 'Data' and click the "Confirm Mode" button. This will set up a repeat action in the test to loop through the steps with the loop mode as data.
5. Now, Go to data tab, click on the "Create Data Source" button. A prompt will appear asking you to create the data, here either you can create the synthetic data or csv data source, as you want to test the feature with random data you can choose the type as synthetic.
You can watch the below video on How create the synthetic data.
https://www.youtube.com/watch?v=v1wHPWcw2xU&list=PLf3HoOUP1qC2_b8rls9P4zIWyO8bWHDZE&i
ndex=1
7. Once you are done with synthetic data creation, return to the test and open the data toolbox by clicking the data toolbox toggle. Drag the URL data table reference from the data section and drop it into the repeat action's data table field. Alternatively, you can copy the pointer for that URL variable and paste it directly into the data table field of the repeat action.
8. Now, Go to the "function" tab and open the created function, remove any hardcoded data from the function and refer the table headers. You can drag the table headers from the data section and drop them into the required steps. Alternatively, copy the pointers for the table headers and paste them directly into the required steps.
9. Once everything is set up, save the test and execute it using execute button.
By following these steps, you can efficiently test the consistency and stability of a feature by repeating the same actions with the different set of data in Alchemy.
Thanks!
1 Votes
Login or Sign up to post a comment