Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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  

0 votes



One answer

Permanent link
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.

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 136

Question asked: Oct 15 '13, 7:22 a.m.

Question was seen: 5,381 times

Last updated: Oct 21 '13, 5:38 p.m.

Confirmation Cancel Confirm