Welcome, Guest. Please login or register.
Login with username, password and session length

 
Advanced search

18539 Posts in 4847 Topics- by 32743 Members - Latest Member: watty
 

AdvancedQTP forums have been nominated as a finalist in ATI’s 2nd annual automation honors awards!

We’d like to thank you for your continued support and participation, and urge you to hurry and vote.

Make you voice count! 


Pages: [1]   Go Down
Print
0 Members and 1 Guest are viewing this topic.
Author Topic: DP with field on a SiebList    (Read 2306 times)
crid2002
User
*
Offline Offline

Posts: 4


« on: November 02, 2009, 07:30:35 AM »

Hello, I am trying to interact with a field using DP on a SiebList.  The problem comes in where after setting the active control on the field the next line won't execute.

SiebApplication("RepositoryName:=AppName").SiebScreen("RepositoryName:=ScreenName").SiebView("RepositoryName:=ViewName").SiebApplet("RepositoryName:=AppletName").SiebList("RepositoryName:=SiebList").SetActiveControl"Field1"

SiebApplication("RepositoryName:=AppName").SiebScreen("RepositoryName:=ScreenName").SiebView("RepositoryName:=ViewName").SiebApplet("RepositoryName:=AppletName").SiebList("RepositoryName:=SiebList").SiebCalculator("RepositoryName:=Field1").IsEnabled

Is there anyway I can interact with field1 after I set the active control on field1?  Was anyone able to get this to work?  Thanks for all your help in advanced.
Logged
Anshoo Arora
Moderator
Advanced User
*****
Offline Offline

Posts: 862



WWW
« Reply #1 on: November 02, 2009, 07:48:24 AM »

Hi,

What version of Siebel Addin are you using? QTP version?
Logged

Best Regards,

Anshoo Arora
AdvancedQTP Forums Moderator

http://relevantcodes.com - My Blog
crid2002
User
*
Offline Offline

Posts: 4


« Reply #2 on: November 02, 2009, 07:52:16 AM »

Hello,

Using QTP version 10.0 with all latest bug fix installed.
Logged
Anshoo Arora
Moderator
Advanced User
*****
Offline Offline

Posts: 862



WWW
« Reply #3 on: November 02, 2009, 07:53:29 AM »

Also, as a side-note, if you are trying to access objects within a cell of a SiebList, please note that this is not possible. It is stated in Known Problems and Limitations as well. Please refer to Document ID KM204700 in HP's KB.
Logged

Best Regards,

Anshoo Arora
AdvancedQTP Forums Moderator

http://relevantcodes.com - My Blog
crid2002
User
*
Offline Offline

Posts: 4


« Reply #4 on: November 02, 2009, 07:55:16 AM »

Ok, thank you for the quick reply. Any idea if they plan on fixing this problem?  Thanks! Cheesy
Logged
Anshoo Arora
Moderator
Advanced User
*****
Offline Offline

Posts: 862



WWW
« Reply #5 on: November 02, 2009, 07:57:50 AM »

Wait, I just wanted to give you a heads-up. Let me try to see if what you're trying to achive is possible Smiley
Logged

Best Regards,

Anshoo Arora
AdvancedQTP Forums Moderator

http://relevantcodes.com - My Blog
Anshoo Arora
Moderator
Advanced User
*****
Offline Offline

Posts: 862



WWW
« Reply #6 on: November 02, 2009, 08:06:32 AM »

Quote
Is there anyway I can interact with field1 after I set the active control on field1?  Was anyone able to get this to work?

I am able to access all fields when I record on them. With DP, my code just fails.. I guess, what you're trying to achieve may be possible but only if you Record on the target objects within the List.
Logged

Best Regards,

Anshoo Arora
AdvancedQTP Forums Moderator

http://relevantcodes.com - My Blog
crid2002
User
*
Offline Offline

Posts: 4


« Reply #7 on: November 02, 2009, 08:32:42 AM »

Right, thats what were trying to avoid to do.  We would like to only doing this in DP. We are trying to get away from recording an object and having to use the object repository.

Thanks for all your help tho.  :-)
Logged
Anshoo Arora
Moderator
Advanced User
*****
Offline Offline

Posts: 862



WWW
« Reply #8 on: November 02, 2009, 08:35:36 AM »

Quote
Any idea if they plan on fixing this problem?

Not so sure. You can contact either Roi or Ayal. The only thing is, I have seen a very small user-base using Siebel so I'm not sure if this would be high-priority. Its worth giving a shot though.
Logged

Best Regards,

Anshoo Arora
AdvancedQTP Forums Moderator

http://relevantcodes.com - My Blog
Anshoo Arora
Moderator
Advanced User
*****
Offline Offline

Posts: 862



WWW
« Reply #9 on: November 12, 2009, 02:39:07 PM »

*UPDATE*

Please see Ayal's notes below regarding the issue of working with the SiebList object with Descriptive Programming:

Quote from: Ayal Cohen
This is a limitation which is caused by the CAS API which exposes the object during replay as a SiebList, although in record some internal objects are exposed. Therefore the spy and highlight will show us the SiebList, and also the child object will return 0, since only the table is exposed.

So, this is a limitation caused by the way Siebel implemented this control and how they expose it to us. We cannot do anything about it. Siebel are the ones to contact if a change is needed.

I would like to thank Ayal on behalf the entire AdvancedQTP Team for sharing with us such important information. Smiley
Logged

Best Regards,

Anshoo Arora
AdvancedQTP Forums Moderator

http://relevantcodes.com - My Blog
Pavan Turlapati
User
*
Offline Offline

Posts: 1

Pavan Turlapati, A Certified Java,HP,CTFL IT Professional.Holding a degree in Electronics And Communication Engineering. Have a great interest in designing as well as Testing the Web Applications. Looking for more Technical Challenges in working a


« Reply #10 on: December 15, 2009, 09:23:16 PM »

Hi, I have searched through the internet apart from my own experience that automating a SiebelList object using QTP/Descriptive programming is not possible.I also came to know from the read me file that QTP is not exposing the list objects as it does the other objects. I am using QTP 9.5 and Siebel 8.1.


So, is there any workaround for the above problem apart from recording the list object.

1) Will QTP 10.0 solve my problem?
2) I cannot record on those 500 odd siebel list objects present in the application. I want to use a simple function which I am using in the case of Form Applet objects.
3) Is there any other tool which allows to go with descriptive programming apart from QTP.

Please help, if you have a solution or workaround.
Logged
Anshoo Arora
Moderator
Advanced User
*****
Offline Offline

Posts: 862



WWW
« Reply #11 on: January 10, 2010, 06:23:13 AM »

1. No, because the limitation is not because of QTP.
2. I'm not sure how this will be possible, but as of now, the only possibility is if you use OR.
3. I think RFT supports it (you might need to get in touch with their Sales folks), but I am not sure how well it does so.
Logged

Best Regards,

Anshoo Arora
AdvancedQTP Forums Moderator

http://relevantcodes.com - My Blog
pramoddn
User
*
Offline Offline

Posts: 16


« Reply #12 on: January 18, 2010, 11:07:33 AM »

Small work arround is possible if we dont consider DP for the child objects of a SiebList, That is if we go for the Object Repository then easily we can get the values in the respective child objects of a SiebList. The problem is when we try to add a child object of a SiebList it will not allow us to add the particular Child object (even though the Hierarchy shows the Object) so we need to use the option "Define Object" and then use "Update from Application" to add the object properties for the object.
For example: If we need to add a SiebText which is present in SiebList then the steps are as below
1. Define the object by selecting "Siebel" as environment and "SiebText" as object
2. Give a name for the object and close by adding the same.
3. Now click on "Update from application" button and Spy on the Object which need to be added to the OR.

Then use the same object in Usual way.

I have tried this way and its working fine, lengthy work around but it works.

Hope it may help you.

Regards,
Pramod
Logged
Anshoo Arora
Moderator
Advanced User
*****
Offline Offline

Posts: 862



WWW
« Reply #13 on: March 21, 2010, 03:45:17 PM »

A new article is out for the SiebList object (Siebel v8.1): http://relevantcodes.com/qtp-working-with-sieblist-revised/
Logged

Best Regards,

Anshoo Arora
AdvancedQTP Forums Moderator

http://relevantcodes.com - My Blog
Chitradeep Das
Active User
**
Offline Offline

Posts: 91



« Reply #14 on: March 31, 2010, 08:14:13 AM »

Good One Smiley Thanks for sharing!

Regards,
CD
Logged
Pages: [1]   Go Up
Print
Jump to: