Quality Testing

Quality is delighting customers

Hi Testers,

please help me in this scenario

a combo box has 10 cities names and a excel sheet has same 10 cities name.How can we compare each city name with combo box and excel.

Thanks

prasad

Views: 159

Reply to This

Replies to This Discussion

Here are steps:

1. Get all 10 city names into an array from Combo box using "All Items" property, if this property does not have then look alternative in using DOM.

2. Use Excel COM in QTP then use For loop to traverse each cell value, inside for loop use IF condition for comparison.

You will be done.

--Subbu.

RSS

TTWT Magazine


Advertisement

Advertisement

Advertisement

Advertisement

© 2020   Created by Quality Testing.   Powered by

Badges  |  Report an Issue  |  Terms of Service