cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to perform Data driven testing with Drop down list?

SOLVED
Contributor

Unable to perform Data driven testing with Drop down list?

Please tell the process how to do Data driven testing with drop down list. I tried with sample application ORDERS.EXE by test complete but taking only first value from the list(My Money always) and my test case fails.Please find the attached screenshot.DDT_DropDown.JPG 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Hero

Re: Unable to perform Data driven testing with Drop down list?

Log data says, that you tried to click on item named "My Money", however actual item name is "MyMoney" (without space). The same issue for "FamilyAlbum". Probably that is the reason of failure.

View solution in original post

6 REPLIES 6
Community Hero

Re: Unable to perform Data driven testing with Drop down list?

Can you provide the steps (code), you have implemented to operate with the dropdown?

Contributor

Re: Unable to perform Data driven testing with Drop down list?

I have attached Order.exe /Code/ Log file screenshots . Please look into it.

Community Hero

Re: Unable to perform Data driven testing with Drop down list?

Log data says, that you tried to click on item named "My Money", however actual item name is "MyMoney" (without space). The same issue for "FamilyAlbum". Probably that is the reason of failure.

View solution in original post

Highlighted
Contributor

Re: Unable to perform Data driven testing with Drop down list?

Thanks for follow up. I have recorded a video basing on the issue . Please download or watch the video directly

 

Below is the link.

 

https://www.dropbox.com/s/hm08p88jl8vr0z1/DDT_dropdown.mp4?dl=0

 

Community Hero

Re: Unable to perform Data driven testing with Drop down list?

Thank you for the movie!

As I can see, you are still using (in your Excel file) item names with spaces. Try to remove spaces (MyMoney, ScreenSaver etc) to make item names equal to actual values.
Contributor

Re: Unable to perform Data driven testing with Drop down list?

Thank you so much for your help. That's a good catch. Problem solved.

New Here?
Join us and watch the welcome video:
Top Kudoed Authors