Hi Support,
In my app, drop-down is there with 10-15 options. Each option of drop-down has different fields to enter values against it. On selection of any option, page reloads and displays its related fields to add its details.
I am thinking to create separate Test Case for each option of drop-down and then call them as per the selected drop-down option.
See Attached Snapshot, Test Case "AddDate" has 5 Sub Test Cases. First of all, recording "Select_DropDownOption" will be executed. Here, if user selects Rec1 then in drop-down, the RX should execute Test Case "Add_Rec1". If Rec2 is selected by user in drop-down then Automation Tool should execute Test Case "Add_Rec2", etc.
Also after executing first row from Data Source(which will be excel), tool should start executing Test Case from start, i.e. "Select_DropDownOption". How can I do so ?
Also tell me, how can I call Test Case from User Code of other Test Cases ?
Thanks in advance,
Varun.
Call different Test Cases
Call different Test Cases
You do not have the required permissions to view the files attached to this post.
Re: Call different Test Cases
Hello,
Hope this helps
I propose something similar, but not exactly the same here http://www.ranorex.com/forum/starting-t ... t3899.htmlvarun wrote:Also tell me, how can I call Test Case from User Code of other Test Cases ?
Hope this helps
SW
Re: Call different Test Cases
Hi,
Thanks for your response.
I tried as per reference provided but could not able to make it workable. I added User Code as last Step in my test case which call other test cases if conditions pass. You can get screenshot of user code snippet in the attachments. Please look into it and let me know what should be done to achieve the task.
Thanks & Regards,
Varun.
Thanks for your response.
I tried as per reference provided but could not able to make it workable. I added User Code as last Step in my test case which call other test cases if conditions pass. You can get screenshot of user code snippet in the attachments. Please look into it and let me know what should be done to achieve the task.
Thanks & Regards,
Varun.
You do not have the required permissions to view the files attached to this post.
Re: Call different Test Cases
Hi Support,
Please provide me solution of my problem. Let me know if need more clarification.
Response awaited.
Regards,
Varun.
Please provide me solution of my problem. Let me know if need more clarification.
Response awaited.
Regards,
Varun.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Call different Test Cases
Hello Varun,
Condition based Test Cases will be supported in one of our next releases.
You could use the following code to start a recording module:
Regards,
Markus (T)
Condition based Test Cases will be supported in one of our next releases.
You could use the following code to start a recording module:
YourRecordingModule.Start();This should be done in your 'Select_DropDownOption' module in order to start a specific module based on a condition.
Regards,
Markus (T)