Ravik
12 years agoSuper Contributor
Select Drop down in Window base application
Hi Team,
I am automation Window base application and I am going to Data Driven Testing.
I am getting data from csv File.
Problem is that - While I am passing the value for Drop down it's not get selected and gives the Run time Error .
Code like - Sys.Process(......).WinForm(......).WinObject(.....)WinFormsObject.Keys(DDT.CurrentDriver.Value(0))
Or
Sys.Process(......).WinForm(......).WinObject(.....)WinFormsObject.ClickItem(DDT.CurrentDriver.Value(0))
Please Help.
Note- In Drop Down had 1000 of value I thing it's litile hard to check intex of all Object and Object From CSV.
I am automation Window base application and I am going to Data Driven Testing.
I am getting data from csv File.
Problem is that - While I am passing the value for Drop down it's not get selected and gives the Run time Error .
Code like - Sys.Process(......).WinForm(......).WinObject(.....)WinFormsObject.Keys(DDT.CurrentDriver.Value(0))
Or
Sys.Process(......).WinForm(......).WinObject(.....)WinFormsObject.ClickItem(DDT.CurrentDriver.Value(0))
Please Help.
Note- In Drop Down had 1000 of value I thing it's litile hard to check intex of all Object and Object From CSV.
- Use Text or wText Property to set the data to drop downlist likw
Sys..................................WinFormObject.Text = DDT.Current........