Not able to select any value from IBM IAA V17 Combo box in RFT
Hi,
I am automating my application in Rational Functional Tester (8.2.0) and I am facing following issues with the combo box: 1. Not able to select any value from the combo box. 2. Not able to get the list of all the values of combo box. I have tried following code in my Application but its giving me an null pointer exception ITestDataList statusList; ITestDataElementList statusListElements; ITestDataElement statusListElement; java.util.Hashtable ht = list_country().getTestDataTypes(); System.out.println(ht); //Get all elements statusList = (ITestDataList)list_country().getTestData("list"); System.out.println(statusList.getElementCount()); statusListElements = statusList.getElements(); int listElemCount = statusList.getElementCount(); for (int i = 0; i < listElemCount; i++){ statusListElement = statusListElements.getElement(i); System.out.println(statusListElement.getElement()); list_country().click(); list_country().click(atText(statusListElement.getElement().toString())); } Note: I have tried the same code on Rediffmail page and the same piece of code worked fine. My application is developed using IAA Framework 1.1.7 Please provide me any solution for this. Thanks Rakesh Wani |
One answer
Millard Ellingsworth (2.5k●1●24●31)
| answered Oct 21 '13, 5:38 p.m.
FORUM ADMINISTRATOR / JAZZ DEVELOPER
Hi, Rakesh. Sorry to hear you are having difficulties with RFT. Unfortunately, this is not the support forum for RFT, so you are not likely to find any help here. Please try your question at the RFT community on developerWorks.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.