Issues in setting data of a cell in SwfTable
I am having trouble is setting data in a cell in SwfTable, the cell has a drop down list from where I have to select an item.
When I recorded the same stuff above, I have the following peice of code in my script:
SwfWindow("MainWindow").SwfWindow("ChildWindow").S wfTable("TableName").SetCellData 0,1,"Fax"
When I re-run the script it does not set the value of the cell as per above code.
I have tried all possible ways but couldnt get through.
Is there anything specific I have to take care in the above context, which I am not aware off.
Re: Issues in setting data of a cell in SwfTable
I found the workaround for the above issue, instead of giving the list item text (In above issue I was giving as "Fax") if I give the index value of it in the list, QTP is able to set the corresponding value into the cell.
But would appreciate if someone can help me find out how to select the item from the list?