Topic
  • 6 replies
  • Latest Post - ‏2013-02-21T22:15:09Z by SystemAdmin
SystemAdmin
SystemAdmin
16727 Posts

Pinned topic Rft 8.2.1 used for descriptive programming for siebel

‏2012-10-20T06:12:34Z |
Hello,

I am working on RFT 8.2.1 for siebel application and need to use java descriptive programming(no use of test object map) as required by project.

Basically, trying to identify UI siebel objects by its properties and once rft finds the objects ,necessary action on them can be performed.
The code works for html login screen.But not one siebel Views/screens/objects.

Here is my code
*************************************************************************
Property p7 = new Property("ClassName", "SiebText");
Property p9 = new Property("UIName", "XXX");
Property p10 = new Property("IsEnabled","true");
Property p8 = new Property("RepositoryName", "YYY");
Property[] Z_properties = { p7,p8,p9,p10 };
TestObject [] Z_candidates = SiebText.find(atDescendant(Z_properties ));
System.out.println("Found " + Z_candidates .length
+ " objects for ZZZ");
if (Z_candidates .length == 0) {
System.out
.println("No object found with the ZZZ specified property set ");
}
else
{
((GuiTestObject) Z_candidates [0]).click();
((SiebTextTestObject) Z_candidates [0]).setText("AB123456");
}

Outcome given by RFT : Found 0 objects for ZZZ
Please can anyone help soon if I am missing anything code or is incorrect*.

*I will post the answer if I could get it offline.For now, please help.

Thanks
Supriya
Updated on 2013-02-21T22:15:09Z at 2013-02-21T22:15:09Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    16727 Posts

    Re: Rft 8.2.1 used for descriptive programming for siebel

    ‏2012-10-20T06:15:32Z  
    Also, One more thing to be added.
    RFT 8.2.1 does recognise siebel objects while record/playback.
    Just need to figure out the way for descriptive programming.
  • Milind_Gholap
    Milind_Gholap
    35 Posts

    Re: Rft 8.2.1 used for descriptive programming for siebel

    ‏2012-10-20T16:29:39Z  
    Also, One more thing to be added.
    RFT 8.2.1 does recognise siebel objects while record/playback.
    Just need to figure out the way for descriptive programming.
    Please check this, if not seen already..
    http://publib.boulder.ibm.com/infocenter/rfthelp/v7r0m0/index.jsp?topic=/com.ibm.rational.test.ft.doc/topics/SiebelJava.html
  • SystemAdmin
    SystemAdmin
    16727 Posts

    Re: Rft 8.2.1 used for descriptive programming for siebel

    ‏2012-10-22T03:50:35Z  
    Please check this, if not seen already..
    http://publib.boulder.ibm.com/infocenter/rfthelp/v7r0m0/index.jsp?topic=/com.ibm.rational.test.ft.doc/topics/SiebelJava.html
    Hello,

    Thanks for the information. I checked registry contents. Its all fine as given in page suggested.

    Please can you check the code and let me know if anything needs to be added so as RFT to recognise siebel objects in descriptive programming.

    Thanks
    Supriya
  • SystemAdmin
    SystemAdmin
    16727 Posts

    Re: Rft 8.2.1 used for descriptive programming for siebel

    ‏2012-10-26T06:14:36Z  
    The issue is resolved.
    Used the code to search through immediate children,if not found pass the children of children to same method.

    Regards
    Supriya
  • SystemAdmin
    SystemAdmin
    16727 Posts

    Re: Rft 8.2.1 used for descriptive programming for siebel

    ‏2012-10-26T06:15:09Z  
    The issue is resolved.
    Used the code to search through immediate children,if not found pass the children of children to same method.

    Regards
    Supriya
  • SystemAdmin
    SystemAdmin
    16727 Posts

    Re: Rft 8.2.1 used for descriptive programming for siebel

    ‏2013-02-21T22:15:09Z  
    Hi Supriya,

    Please let know which lauguage you are using to code in RFT Java or VB.Net .

    I need to start the Automation of Siebel 8.1.1.9 UAT with RFT 8.2.2
    Just wondering which laugage to use ?
    Rgds