Re: COM Automation

2006-12-07 Thread Hall Chad - chahal
Very interesting idea. But one of our goals is to allow a separate team
of application testers to write their own test scripts without the need
for any actual Remedy development. Our developers don't really have the
extra cycles to define test scripts in active link guides. They're
hoping to continually build on the set of test scripts, so it would be a
development task that never ended.

I'm thinking Mid Tier is going to be our best bet. It won't be as
comprehensive as a Remedy User test (no toolbar, etc) but it may be more
feasible. I just have to get the quirks ironed out that we've seen so
far.

Chad Hall  
(501) 342-2650


-Original Message-
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Carey Matthew Black
Sent: Wednesday, December 06, 2006 8:26 PM
To: arslist@ARSLIST.ORG
Subject: Re: COM Automation

I would actually advocate a different approach...

Now that the Active Links have just about 100% functionality with that
a user can do. I would suggest that you build a "test harness" in the
form of Active Link guides. You could create a special ARS group that
would grant your test users access to these guides so that all users
are not weighted down by the objects. Then from the outside of the
User tool you would Call the guide and then check the "expected
results" after the action is done. (So have your guides submit one or
more records to a "status form" when they are done and you should be
able to make this fairly standardized.)

Remedy/BMC just did not expose enough of the right handles to remotely
control the User Tool via OLE/COM. ( I in fact think you would have
better luck trying to automate the Mid-Tier than the User Tool. But
that would likely take different tools.)

-- 
Carey Matthew Black
Remedy Skilled Professional (RSP)
ARS = Action Request System(Remedy)

Love, then teach
Solution = People + Process + Tools
Fast, Accurate, Cheap Pick two.




On 12/6/06, Hall Chad - chahal <[EMAIL PROTECTED]> wrote:
> Thanks Tim. I'll try adding a sleep statement.
>
> I've tried both ALT+Down (%{DOWN}) and ALT+Up (%{UP}), but neither one
> does anything at all.
>
> Chad Hall
> (501) 342-2650


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where
the Answers Are"
*
The information contained in this communication is confidential, is
intended only for the use of the recipient named above, and may be
legally privileged.

If the reader of this message is not the intended recipient, you are 
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited.

If you have received this communication in error, please resend this
communication to the sender and delete the original message or any copy
of it from your computer system.

Thank you.
*

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"


Re: COM Automation

2006-12-06 Thread Carey Matthew Black

I would actually advocate a different approach...

Now that the Active Links have just about 100% functionality with that
a user can do. I would suggest that you build a "test harness" in the
form of Active Link guides. You could create a special ARS group that
would grant your test users access to these guides so that all users
are not weighted down by the objects. Then from the outside of the
User tool you would Call the guide and then check the "expected
results" after the action is done. (So have your guides submit one or
more records to a "status form" when they are done and you should be
able to make this fairly standardized.)

Remedy/BMC just did not expose enough of the right handles to remotely
control the User Tool via OLE/COM. ( I in fact think you would have
better luck trying to automate the Mid-Tier than the User Tool. But
that would likely take different tools.)

--
Carey Matthew Black
Remedy Skilled Professional (RSP)
ARS = Action Request System(Remedy)

Love, then teach
Solution = People + Process + Tools
Fast, Accurate, Cheap Pick two.




On 12/6/06, Hall Chad - chahal <[EMAIL PROTECTED]> wrote:

Thanks Tim. I'll try adding a sleep statement.

I've tried both ALT+Down (%{DOWN}) and ALT+Up (%{UP}), but neither one
does anything at all.

Chad Hall
(501) 342-2650


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers 
Are"


Re: COM Automation

2006-12-06 Thread Hall Chad - chahal
Thanks Tim. I'll try adding a sleep statement.

I've tried both ALT+Down (%{DOWN}) and ALT+Up (%{UP}), but neither one
does anything at all.

Chad Hall  
(501) 342-2650

-Original Message-
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Tim Widowfield
Sent: Wednesday, December 06, 2006 10:03 AM
To: arslist@ARSLIST.ORG
Subject: Re: COM Automation

When pushing buttons with COM Automation, I've found that the U
Chad,
 
When pushing buttons with COM Automation, I've found that the User tool
isn't always ready to receive the next command when it gets the
instruction from the script.  Specifically, when you issue the command
to change focus to the button, followed by either a carriage return or
space character, you can't count on the interface to wait until focus on
the button.  So I normally issue a short sleep command in between
SendKeys calls.  Here's an example snippet in JScript:
 
var app, sess, form;
var VISIBLE = 1, INVISIBLE = 2;
var AR_SUBMIT = 1, AR_QUERY = 2;
var AR_DISPLAY = 3, AR_MODIFY = 4;
 
app = new ActiveXObject("Remedy.User");
wsh = new ActiveXObject("WScript.Shell");
sess = app.Login("Demo", "", VISIBLE);
 
form = app.OpenForm(sess,"localhost", "TAW:Dog", AR_SUBMIT, true)
 
form.GiveFieldFocusById(606084201);

WScript.Sleep(1000);
wsh.SendKeys("%{DOWN}");
WScript.Sleep(1000);
wsh.SendKeys("{DOWN}");
WScript.Sleep(1000);
wsh.SendKeys("{ENTER}");

 
I think Alt+Down Arrow (%{DOWN}) should open a menu.
 

Tim Widowfield 
[EMAIL PROTECTED]  
http://www.widowfield.com 



- Original Message  
From: Hall Chad - chahal <[EMAIL PROTECTED]> 
To: arslist@ARSLIST.ORG 
Sent: Tuesday, December 5, 2006 6:12:54 PM 
Subject: [ARSLIST] COM Automation 

** 
Has anyone had any luck using Remedy User's COM automation to properly
control an instance of Remedy User? I'm using a VBA scripting app
(Compuware TestPartner) to create regression testing scripts of our
Remedy applications. I'm having two main problems: 

Issuing a "click" on buttons. I can usually get around this by using a
SendKeys command to send an Enter command after setting focus to a
field. But this only seems to work sporadically. 
Triggering "Menu/Row Choice" workflow on selection of Selection or
Character menus. I can set a text value to these fields, but that
doesn't trigger Menu/Row Choice workflow. I can't get any SendKeys
commands to open the menu at all, so I really have no workaround for
this one. 

I've also been tinkering with controlling Internet Explorer for Mid Tier
regression testing. Although that too is quirky. For instance, the
browser window will split in half (one half the form, the other half
entirely blank) when clicking on drop down buttons. There are a few
other oddities as well. 

I'm not a VBA expert or an automation expert. So any advice you can give
would really be appreciated. I know BMC does similar regression testing
using Silk, but I have yet to get answers on how they handle these
limitations. 

Thanks, 
Chad Hall 

CHAD HALL 



ACXIOM 
Remedy Software Developer 
Information Systems Development & Reporting (ISDR) 
(501) 342-2650 



* 
The information contained in this communication is confidential, is 
intended only for the use of the recipient named above, and may be 
legally privileged. 

If the reader of this message is not the intended recipient, you are 
hereby notified that any dissemination, distribution or copying of this 
communication is strictly prohibited. 

If you have received this communication in error, please resend this 
communication to the sender and delete the original message or any copy 
of it from your computer system. 

Thank you. 

* 

__20060125___This posting was submitted with HTML in
it___


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where
the Answers Are"

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"


Re: COM Automation

2006-12-06 Thread Tim Widowfield
When pushing buttons with COM Automation, I've found that the U
Chad,
 
When pushing buttons with COM Automation, I've found that the User tool isn't 
always ready to receive the next command when it gets the instruction from the 
script.  Specifically, when you issue the command to change focus to the 
button, followed by either a carriage return or space character, you can't 
count on the interface to wait until focus on the button.  So I normally issue 
a short sleep command in between SendKeys calls.  Here's an example snippet in 
JScript:
 
var app, sess, form;
var VISIBLE = 1, INVISIBLE = 2;
var AR_SUBMIT = 1, AR_QUERY = 2;
var AR_DISPLAY = 3, AR_MODIFY = 4;
 
app = new ActiveXObject("Remedy.User");
wsh = new ActiveXObject("WScript.Shell");
sess = app.Login("Demo", "", VISIBLE);
 
form = app.OpenForm(sess,"localhost", "TAW:Dog", AR_SUBMIT, true)
 
form.GiveFieldFocusById(606084201);

WScript.Sleep(1000);
wsh.SendKeys("%{DOWN}");
WScript.Sleep(1000);
wsh.SendKeys("{DOWN}");
WScript.Sleep(1000);
wsh.SendKeys("{ENTER}");

 
I think Alt+Down Arrow (%{DOWN}) should open a menu.
 

Tim Widowfield 
[EMAIL PROTECTED]  
http://www.widowfield.com 



- Original Message  
From: Hall Chad - chahal <[EMAIL PROTECTED]> 
To: arslist@ARSLIST.ORG 
Sent: Tuesday, December 5, 2006 6:12:54 PM 
Subject: [ARSLIST] COM Automation 

** 
Has anyone had any luck using Remedy User’s COM automation to properly control 
an instance of Remedy User? I’m using a VBA scripting app (Compuware 
TestPartner) to create regression testing scripts of our Remedy applications. 
I’m having two main problems: 

Issuing a “click” on buttons. I can usually get around this by using a SendKeys 
command to send an Enter command after setting focus to a field. But this only 
seems to work sporadically. 
Triggering “Menu/Row Choice” workflow on selection of Selection or Character 
menus. I can set a text value to these fields, but that doesn’t trigger 
Menu/Row Choice workflow. I can’t get any SendKeys commands to open the menu at 
all, so I really have no workaround for this one. 

I’ve also been tinkering with controlling Internet Explorer for Mid Tier 
regression testing. Although that too is quirky. For instance, the browser 
window will split in half (one half the form, the other half entirely blank) 
when clicking on drop down buttons. There are a few other oddities as well. 

I’m not a VBA expert or an automation expert. So any advice you can give would 
really be appreciated. I know BMC does similar regression testing using Silk, 
but I have yet to get answers on how they handle these limitations. 

Thanks, 
Chad Hall 

CHAD HALL 



ACXIOM 
Remedy Software Developer 
Information Systems Development & Reporting (ISDR) 
(501) 342-2650 


* 
The information contained in this communication is confidential, is 
intended only for the use of the recipient named above, and may be 
legally privileged. 

If the reader of this message is not the intended recipient, you are 
hereby notified that any dissemination, distribution or copying of this 
communication is strictly prohibited. 

If you have received this communication in error, please resend this 
communication to the sender and delete the original message or any copy 
of it from your computer system. 

Thank you. 
* 

__20060125___This posting was submitted with HTML in it___

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"


Re: COM Automation

2006-12-06 Thread CONDREA, Daniel
Is there some way to do this through the .NET API?

 

No.

 

Maybe someone can sugest a testing tool. In my opinion this approach is
more human.

 



From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Hall Chad - chahal
Sent: Wednesday, December 06, 2006 4:37 PM
To: arslist@ARSLIST.ORG
Subject: Re: COM Automation

 

We want to fully simulate the end user experience. So all the point and
clicks need to be tested. Using an API approach will bypass the Mid Tier
or Remedy User clients and go straight to the server. That's great for
stress testing or for testing of filters, but we need to make sure all
our active links, buttons, fields, etc are also tested exactly as the
end user would interact with them. Is there some way to do this through
the .NET API?

 

Chad Hall  
(501) 342-2650



From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of CONDREA, Daniel
Sent: Wednesday, December 06, 2006 7:15 AM
To: arslist@ARSLIST.ORG
Subject: Re: COM Automation

 

I am using 

 

AR System .NET and COM API

http://www.bmc.com/arsystem/dev_community

 

To interact with ARS server. There is no need for Remedy User

 

Daniel

 



From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Hall Chad - chahal
Sent: Wednesday, December 06, 2006 1:13 AM
To: arslist@ARSLIST.ORG
Subject: COM Automation

 

Has anyone had any luck using Remedy User's COM automation to properly
control an instance of Remedy User? I'm using a VBA scripting app
(Compuware TestPartner) to create regression testing scripts of our
Remedy applications. I'm having two main problems:

 

1.  Issuing a "click" on buttons. I can usually get around this by
using a SendKeys command to send an Enter command after setting focus to
a field. But this only seems to work sporadically.
2.  Triggering "Menu/Row Choice" workflow on selection of Selection
or Character menus. I can set a text value to these fields, but that
doesn't trigger Menu/Row Choice workflow. I can't get any SendKeys
commands to open the menu at all, so I really have no workaround for
this one.

 

I've also been tinkering with controlling Internet Explorer for Mid Tier
regression testing. Although that too is quirky. For instance, the
browser window will split in half (one half the form, the other half
entirely blank) when clicking on drop down buttons. There are a few
other oddities as well.

 

I'm not a VBA expert or an automation expert. So any advice you can give
would really be appreciated. I know BMC does similar regression testing
using Silk, but I have yet to get answers on how they handle these
limitations.

 

Thanks,

Chad Hall

 

CHAD HALL



ACXIOM

Remedy Software Developer
Information Systems Development & Reporting (ISDR)
(501) 342-2650

 


*
The information contained in this communication is confidential, is
intended only for the use of the recipient named above, and may be
legally privileged.
 
If the reader of this message is not the intended recipient, you are 
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited.
 
If you have received this communication in error, please resend this
communication to the sender and delete the original message or any copy
of it from your computer system.
 
Thank you.

*
__20060125___This posting was submitted with HTML in
it___ __20060125___This posting was submitted with
HTML in it___ __20060125___This posting was
submitted with HTML in it___

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"

-- 

*DISCLAIMER*

The information contained in this communication is confidential and may be 
legally privileged. It is intended solely for the use of the individual or 
entity to whom it is addressed and others authorized to receive it. If you are 
not the intended recipient you are hereby notified that any disclosure, 
copying, distribution or taking action in reliance of the contents of this 
information is strictly prohibited and may be unlawful. Orange Romania S.A. is 
neither liable for the proper, complete transmission of the information 
contained in this communication nor any delay in its receipt.

*END OF DISCLAIMER*

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"


Re: COM Automation

2006-12-06 Thread Hall Chad - chahal
We want to fully simulate the end user experience. So all the point and
clicks need to be tested. Using an API approach will bypass the Mid Tier
or Remedy User clients and go straight to the server. That's great for
stress testing or for testing of filters, but we need to make sure all
our active links, buttons, fields, etc are also tested exactly as the
end user would interact with them. Is there some way to do this through
the .NET API?

 

Chad Hall  
(501) 342-2650



From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of CONDREA, Daniel
Sent: Wednesday, December 06, 2006 7:15 AM
To: arslist@ARSLIST.ORG
Subject: Re: COM Automation

 

I am using 

 

AR System .NET and COM API

http://www.bmc.com/arsystem/dev_community

 

To interact with ARS server. There is no need for Remedy User

 

Daniel

 



From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Hall Chad - chahal
Sent: Wednesday, December 06, 2006 1:13 AM
To: arslist@ARSLIST.ORG
Subject: COM Automation

 

Has anyone had any luck using Remedy User's COM automation to properly
control an instance of Remedy User? I'm using a VBA scripting app
(Compuware TestPartner) to create regression testing scripts of our
Remedy applications. I'm having two main problems:

 

1.  Issuing a "click" on buttons. I can usually get around this by
using a SendKeys command to send an Enter command after setting focus to
a field. But this only seems to work sporadically.
2.  Triggering "Menu/Row Choice" workflow on selection of Selection
or Character menus. I can set a text value to these fields, but that
doesn't trigger Menu/Row Choice workflow. I can't get any SendKeys
commands to open the menu at all, so I really have no workaround for
this one.

 

I've also been tinkering with controlling Internet Explorer for Mid Tier
regression testing. Although that too is quirky. For instance, the
browser window will split in half (one half the form, the other half
entirely blank) when clicking on drop down buttons. There are a few
other oddities as well.

 

I'm not a VBA expert or an automation expert. So any advice you can give
would really be appreciated. I know BMC does similar regression testing
using Silk, but I have yet to get answers on how they handle these
limitations.

 

Thanks,

Chad Hall

 

CHAD HALL



ACXIOM

Remedy Software Developer
Information Systems Development & Reporting (ISDR)
(501) 342-2650

 


*
The information contained in this communication is confidential, is
intended only for the use of the recipient named above, and may be
legally privileged.
 
If the reader of this message is not the intended recipient, you are 
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited.
 
If you have received this communication in error, please resend this
communication to the sender and delete the original message or any copy
of it from your computer system.
 
Thank you.

*
__20060125___This posting was submitted with HTML in
it___ __20060125___This posting was submitted with
HTML in it___

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"


Re: COM Automation

2006-12-06 Thread CONDREA, Daniel
I am using 

 

AR System .NET and COM API

http://www.bmc.com/arsystem/dev_community

 

To interact with ARS server. There is no need for Remedy User

 

Daniel

 



From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Hall Chad - chahal
Sent: Wednesday, December 06, 2006 1:13 AM
To: arslist@ARSLIST.ORG
Subject: COM Automation

 

Has anyone had any luck using Remedy User's COM automation to properly
control an instance of Remedy User? I'm using a VBA scripting app
(Compuware TestPartner) to create regression testing scripts of our
Remedy applications. I'm having two main problems:

 

1.  Issuing a "click" on buttons. I can usually get around this by
using a SendKeys command to send an Enter command after setting focus to
a field. But this only seems to work sporadically.
2.  Triggering "Menu/Row Choice" workflow on selection of Selection
or Character menus. I can set a text value to these fields, but that
doesn't trigger Menu/Row Choice workflow. I can't get any SendKeys
commands to open the menu at all, so I really have no workaround for
this one.

 

I've also been tinkering with controlling Internet Explorer for Mid Tier
regression testing. Although that too is quirky. For instance, the
browser window will split in half (one half the form, the other half
entirely blank) when clicking on drop down buttons. There are a few
other oddities as well.

 

I'm not a VBA expert or an automation expert. So any advice you can give
would really be appreciated. I know BMC does similar regression testing
using Silk, but I have yet to get answers on how they handle these
limitations.

 

Thanks,

Chad Hall

 

CHAD HALL



ACXIOM

Remedy Software Developer
Information Systems Development & Reporting (ISDR)
(501) 342-2650

 


*
The information contained in this communication is confidential, is
intended only for the use of the recipient named above, and may be
legally privileged.
 
If the reader of this message is not the intended recipient, you are 
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited.
 
If you have received this communication in error, please resend this
communication to the sender and delete the original message or any copy
of it from your computer system.
 
Thank you.

*
__20060125___This posting was submitted with HTML in
it___

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"

-- 

*DISCLAIMER*

The information contained in this communication is confidential and may be 
legally privileged. It is intended solely for the use of the individual or 
entity to whom it is addressed and others authorized to receive it. If you are 
not the intended recipient you are hereby notified that any disclosure, 
copying, distribution or taking action in reliance of the contents of this 
information is strictly prohibited and may be unlawful. Orange Romania S.A. is 
neither liable for the proper, complete transmission of the information 
contained in this communication nor any delay in its receipt.

*END OF DISCLAIMER*

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"