Am creating a test which will insert records into a web portal using data provided in an excel file. Here is the sequence :
1. log in to the application
2. Search for the record
3. Click on update
loop
4. Insert record
end loop
End.Test
If runs alright on the first loop using the first record in the excel file. The problem is if it loops the second time, it uses the 1st record in the excel file which has already been inserted.
I want it to use the next record each time it loops
kindly asist pls
5 Answers, 1 is accepted
This is an expected behavior. Test Studio will use the second row of the excel file on the second test iteration. During the first iteration the "loop" will take only the first row.
To achieve this please put the "insert record" step in a separate test and add it in the parent test as Test as step. Now on a single iteration of the parent test the test as step will execute as many times as rows in the excel file.
I recorded a short video with demonstrates it.
Let me know if this helps.
Boyan Boev
the Telerik team
Test Studio Trainings
Glad to hear it!
If you have any further questions please do not hesitate to contact us.
Boyan Boev
the Telerik team
Test Studio Trainings
Am binding a radio buttons with two options Yes/No. The column has a value of 1/0. Value of 1 sets the radio button to Yes but a value of 0 does not select any option.
Pls assist
Regards
I am sorry you are experiencing this issue.
In order to help you best please provide more detailed information.
1. What kind of application do you test ( HTML, Silverlight, WPF)?
2. Please send us the execution log.
3. Send us a screen shot of the DOM tree.
4. Please record a short video to show us the issue you are experiencing. Jing is great for this.
5. Send us the test project and give us a direct access to the application so we can reproduce the issue on our side and give you a working solution.
If it is not possible to grant us access to your application, please take a Fiddler trace using FiddlerCap and send it to us in a zip file.
Thanks for helping us advise you.
Boyan Boev
the Telerik team
Test Studio Trainings