04-16-2009, 05:55 PM
Let's say We are testing a form and in the form a drop down field is there along with other fields. In our test how can we randomly select the values from the drop down box.
Thanks
Aditya
Thanks
Aditya
how can we randomly select the values from a drop down box.
|
04-16-2009, 05:55 PM
Let's say We are testing a form and in the form a drop down field is there along with other fields. In our test how can we randomly select the values from the drop down box.
Thanks Aditya
04-16-2009, 08:43 PM
Hi ,
Follow the below procedure : Step1 : Find the no. of items(Items Count) of the dropdown. Step2 : Say No. of items in dropdown are 10 ( 0 to 9) Step3 : Use Random Number method as --> Select RandomNumber(0,9) Now check it out & see ....it works fine.
04-17-2009, 11:04 AM
Thanks Its Working
Aditya
04-17-2009, 12:57 PM
What should we do in the case if we want to check or uncheck the checkbox randomly as Select RandomNumber() does not work with it.
|
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Need to verify the drop down values based on condition | santhoshmscsoftware | 1 | 2,906 |
05-04-2016, 11:28 PM Last Post: supputuri |
|
How to select the drop down option by searching for partial text | Neetha | 4 | 8,769 |
08-04-2015, 08:55 PM Last Post: Neetha |
|
Web Element: Not able to select value from drop down in Web Element. | Rajeev | 4 | 5,294 |
08-04-2015, 06:03 PM Last Post: kbhargava505 |
|
Click on drop down and select second option using HP UFT | Tusharguru99 | 2 | 6,674 |
07-30-2015, 06:06 PM Last Post: Neetha |
|
Drag and drop issue | excellentpawan123 | 0 | 2,744 |
01-13-2015, 05:04 PM Last Post: excellentpawan123 |