question

twile avatar image
twile asked twile posted

Calling QuickCall from Action

Can I call a QuickCall from an Action Handler?  Or even list out what they are?  Or determine if a Session is attached to a QuickCall library and where that library is?

iTestsdk
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
koelze avatar image
koelze answered koelze posted

Unfortunately, none of these things are exposed.  They all kind of fall into the internals of the kernel that SDK tools don't have access too (particularly because QuickCalls aren't supposed to be tightly coupled with session types in any way).

2 comments
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

twile avatar image twile commented ·

Ok, thanks for the help.

 

I can see why QuickCalls wouldn't want to be strongly coupled to a particular _type_ of session.  But I can see why you might want to tightly couple them to a particular session profile.  Then they become iTest's idea of class methods.  In which case a session action should be able to use them.

 

But then, there's no guarantee that a particular QuickCall is available.

 

Here's why I was looking for this:

An 'Initialization QuickCall' is never called _unless_ you are running interactively.  If you wanted to run some initial verification/setup after opening a session, you can't do that while running a test, except by specifically calling that procedure.  (i.e. You can't override the Class Constructor).

0 Likes 0 ·
AdamB avatar image AdamB twile commented ·

I think that there are some good feature enhancements in this area that we will be looking into.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.