How to get to learn using TestStand User Interfaces
I am starting to work with TestStand and I was looking into using the User Interface. I know that a couple of examples are provided and that there is a couple of sections of literature on the subject, but there does not appear to be a very helpful (get started from scratch) type of documentation that I can find. Does such a thing exist? If not, what is the best way to get started?
Solved!
Go to Solution.
You can currently do this in the Full-Featured UI without any modifications. It's kind of a hack though:
So assume that an execution is running. The user clicks the Break button and wants to rerun a step with different parameters. So now your execution is paused somewhere below the step. Right click the step and select: Set Next Step to Cursor. Now in the Variable window look for the variable that is being passed as a parameter to that step. Say for instance Locals.Foo is being passed to your VI. Change the value of it and click the Resume button. This also assumes that you are passing either Locals or FileGlobals to your VI. You may have to have Administrator privileges to do this.
If this isn't good enough then there are ways to accomplish what you want in a cleaner manner.
One way is to build your sequence file such that if a certain condition occurs then retry with new values or values from a file which can be changed by the user. This is what I would recommend because it will be the cleanest and the easiest.
Another way is to build into your UI like you are asking about. The problem with this is at a certain point the user will click Break or a Stop button that you have put on there. This will stop the execution at some point (who knows exactly what point unless you write code to specify a point). Then they would have a pop up or something that would allow them to select a step. Then for each step you'll have to have some code or a parser or something that will determine the parameters and valid values they can be and ask the user for those. This is all doable but would be quite a task. You will have a long ways to go in understanding the TestStand API in order to accomplish this. In fact there would be so many API calls with numerous ways to attack this problem.
Whichever way you choose to go you will always have the TestStand forums or NI support.
jigg
CTA, CLA
teststandhelp.com
~Will work for kudos and/or BBQ~
Similar Messages
-
How to get a formula from the user from a text box in a webpage
Hi. I would like to know how to get the formula from the user who enters in a textbox. This formula can have any number of variables starting with a and goes on.
The complexity of the formula can go upto sin, cos, ln, exp. Also user enters the minimum and maximum values of these variables. Based on a specific algorithm (which I use) I would calculate a *set of values, say 10, for each of these variables, substitute in the formula and based on the result of this formula, I select ONE suitable value for each of the variables.
I don't know how to get this formula (which most likely to be different each time) and substitute the values *which I found earlier.
Kindly help me out in this issue.
ThanksThe textbox is the easy part. It's no different than getting a String parameter out of an HTTP request.
The hard part is parsing the String into a "formula" for evaluation. You'll have to write a parser or find one.
Google for "Java math expression parser" and see what you get.
Or write your own with JavaCC.
% -
How to get the groups info for user
Hi guys i am new to ALUI..
i am trying to do some enhancement.
i want to know how to get the information of the users group and the group details using the IDK API?
Can sombody share some code?Hello,
You are welcome. Here is one way of get what you want:
1) get all groups id's
IPortletContext - >IRemoteSession -> IUserManager - > getCurrentUserGroups() -> int []
2) get details about group
IRemoteSession.getObjectManager(ObjectClass.UserGroup ) ->
cycle over int []: {
IObjectManager -> querySingleObject(comminity id) -> IObjectQueryRow -> getName()
Because you are going to use PRC and make SOAP calls to portal don't forget setup WS to pass token to portlet (check WS settings)
Edited by Bryazgin at 05/29/2008 7:48 PM -
How to get specific accounts using ScriptedHostResourceAdapter
Hi
we are using ScriptedHostResourceAdapter for mainframe.
But how to get some specific list of users.
When i try to get the connetion using
<invoke name='getAffinityConnection' class='com.waveset.adapter.HostConnPool'>
Iam getting error. Though LoginAction is there in idm and working with users and reconciliations.
com.waveset.exception.ItemNotFound: ResourceAction: LoginAction
When i try to use listAllObjects still iam getting the same error.
com.waveset.exception.ItemNotFound: ResourceAction: LoginAction
<invoke name='listAllObjects'>
<new class='com.waveset.adapter.ScriptedHostResourceAdapter'>
<rule name='commonRuleLib:RUL_getWSObject'>
<argument name='Id' value='Mainframe'/>
<argument name='type' value='Resource'/>
<argument name='context'>
<invoke name='getAuthenticatedContext'>
<new class='com.waveset.server.InternalSession'/>
<s>configurator</s>
</invoke>
</argument>
</rule>
<new class='com.waveset.object.ObjectCache'/>
</new>
<s>Account</s>
<map>
<s>accountId</s>
<s>G1NXV6T</s>
</map>
<s>configurator</s>
<invoke name='getPassword'>
<invoke name='getObject' class='com.waveset.ui.FormUtil'>
<invoke name='getAuthenticatedContext'>
<new class='com.waveset.server.InternalSession'/>
<s>configurator</s>
</invoke>
<s>User</s>
<s>configurator</s>
</invoke>
</invoke>
</invoke>
Please help if any solution is there
Thanks
Edited by: shailu541 on Feb 3, 2010 10:50 AM
Edited by: shailu541 on Feb 3, 2010 10:52 AMI think i got it now. iam not passing objectcache
<invoke name='getCache'>
<new class='com.waveset.server.InternalSession'/>
</invoke> -
How to get status profile (STSMA) in user exit ILOM0001
Hi ABAPers,
I am currently working on user exit ILOM0001 (Check before saving a functional location) and need to get information about status profile (STSMA). I have checked parameters that is imported into this user exit (DATA_IFLO, DATA_IFLO_OLD, DATA_IFLOS) and none of them have STSMA.
Could anybody help me how to get this field STSMA into user exit ILOM0001?
Appreciate it.
Thanks
Regards
HadiDear Kolla,
Really appreciate your answer, but
I don't want to generate or make settlement receiver.
I was building a script in user exit IW010009,
And the issue is I can not capture the content of field settlement receiver.
If we want to capture screen field, ex. equnr, we can use structure CAUFVD,
when i see the technical detail in this field, the structure for settlement is DKOBR, field EMPGE, but i cannot call it on debug.
Kindly need your help on this issue. -
How to get multiple records using fn-bea:execute-sql()
Hi,
I created Proxy service(ALSB3.0) to get records from DB table. I have used Xquery function(fn-bea:execute-sql()). Using simple SQL query I got single record, but my table having multiple records. Please suggest how to get multiple records using fn-bea:execute-sql() and how to assign them in ALSB variable.
Regards,
Nagaraju
Edited by: user10373980 on Sep 29, 2008 6:11 AMHi,
Am facing the same issue stated above that I couldnt get all the records in the table that am querying in the Proxyservice.
For example:
fn-bea:execute-sql('EsbDataSource', 'student', 'select Name from StudentList' ) is the query that am using to fetch the records from the table called StudentList which contains more than one records like
Id Name
01 XXX
02 YYY
03 ZZZ
I tried to assign the result of the above query in a variable and while trying to log the variable, I can see the below
<student>
<Name>XXX</Name>
</student>
I want to have all the records from my table in xml format but it's not coming up. I get the value only from the first row of my table.
Please suggest.
regards,
Venkat -
How to get iccid by using imei?i had lost my iphone and i want to find it back.
how to get iccid by using imei?i had lost my iphone and i want to find it back.
Ocean20 wrote:
Not sure about ICCID but you can get your IMEI by going to the computer you normally sync to and open iTunes there click on edit then preferences then on the devices tab and then hover mouse over your backup and the IMEI and other info on your phone will appear
Interesting. Yet another of the many Easter eggs dispersed throughout the system. -
How to get the workcentres used in the routing out of 2 alternate routings
Dear All,
I would like to know how to get the workcentres used in the routing out of 2 alternate routings.
I referred PLKO got the Task List Type (PLNTY), Group(PLNNR), Group Counter(PLNAL), Plant(werks).
I passed this in to PLPO, The problem in PLPO is we dont have the distinguishing field Group Counter(PLNAL), so I am getting all the ARBID including both alternates.
How to get the ARBID with respect to Groupcounter 1 alone.
If a get the ARBID , I can get the ARBPL from CRHD.HI,
Use PLAS Table also. you have to use PLKO> PLAS> PLPO.
Pass PLNNR & PLNAL in PLAS and get PLNNR & PLNKN.
Then pass these into PLPO.
work centers from CRHD
Regards,
Krishna Mohan
Edited by: Krishna Mohan N on Jan 31, 2008 12:28 PM -
How to get this output using sql query?
Hi,
How to get this output using sql query?
Sno Name Age ADD Result
1 Anil 23 delhi Pass
2 Shruti 25 bangalor Pass
3 Arun 21 delhi fail
4 Sonu 23 pune Pass
5 Roji 26 hydrabad fail
6 Anil 28 delhi pass
Output
Sno Name Age ADD Result
1 Anil 23 delhi pass
28 delhi passHi Vamshi,
Your query is not pretty clear.
write the select query using Name = 'ANIL' in where condition and display the ouput using Control-break statements.
Regards,
Kannan -
How to get last column used in report sorting?
hi,
how to get last column used in report sorting?
simonHow to identifiy which column was sorted having different reports on page?
just use:
'YOUR_STATIC_REGION_NAME' instead of p_static_id,
:APP_ID for p_app_id,
:APP_PAGE_ID for p_page_id
:APP_USER_ID for p_app_user.
and dont forget to grant SELECT on #OWNER# to APEX_030200.WWV_FLOW_PREFERENCES$
good luck and thank you Juergen.Schuster
Simon -
How to execute a sequence without using an User Interface
Hi,
I have programatically generated a TestStand Sequence File. I used C# and the TestStand API. I opened the .seq file in the default TestStand User Interface and the Sequence File runs perfectly.
However, when I created a NewExecution using the Engine object created in the porgram, it seems that the sequence never starts execution. Please look at the following code snippet:
// TSStep and TSSequence was created before
TSSequence.InsertStep(TSStep, 0, StepGroups.StepGroup_Main); SequenceFile TSSequenceFile = TSEngine.NewSequenceFile();
TSSequenceFile.InsertSequenceEx(0, TSSequence);
TSSequenceFile.Save("SeqGen.seq"); Execution TSExecution = TSEngine.NewExecution(TSSequenceFile, "Seq_0", null, false, ExecutionTypeMask.ExecTypeMask_Normal, System.Type.Missing, System.Type.Missing, System.Type.Missing);while (TSSequenceFile.IsExecuting == true) ; // this flag never changes to false
TSEngine.ReleaseSequenceFileEx(TSSequenceFile, 0);
I know the sequence is not being executed because a COM Server (written as a Local Server in a .EXE) should start when the step within the sequence be executed.
Any ideas why the sequence is not executing properly ?
PacSoftHi Pacsoft,
Check out this example,
I posted it in a former thread.
Note: Also downloaded the .seq from the former thread! NEVER acept savings to Ni. -INI files !!!
Greetings
juergen
=s=i=g=n=a=t=u=r=e= Click on the Star and see what happens :-) =s=i=g=n=a=t=u=r=e=
Attachments:
ConsoleApplication2.zip 55 KB -
How to get BP kind based on user name?
Hi,
How to get BP kind based on user name?
Is there any table other than BUT000 which gives the Business partner no. and BP KIND?
What is BLUEPRINT table?Hi John,
do you mean Type:
1 Person
2 Organisation
3 Group
or Role like
000000 Business Partner (General)
BBP000 Vendor
BBP001 Bidder
BBP002 Portal Provider
BBP003 Plant
BBP004 Purchasing Company
BEA001 Billing Unit
BUP001 Contact Person
BUP002 Prospect
BUP003 Employee
BUP004 Organizational Unit
BUP005 Internet User
The Role can be found in BUT100.
Regards
Gregor -
How to get Listener Information using PL/SQL code
How to get Listener Information using PL/SQL code
user2075318 wrote:
How to get Listener Information using PL/SQL codeThis approach (somewhat of a hack) can be used - but it does not really provide meaningful data at application layer.
SQL> create or replace function TnsPing( ipAddress varchar2, port number default 1521 ) return varchar2 is
2 type THexArray is table of varchar2(2);
3 --// tnsping packet (should be 10g and 11g listener compatible)
4 TNS_PING_PACKET constant THexArray := new THexArray(
5 '00', '57', '00', '00', '01', '00', '00', '00',
6 '01', '39', '01', '2C', '00', '00', '08', '00',
7 '7F', 'FF', '7F', '08', '00', '00', '01', '00',
8 '00', '1D', '00', '3A', '00', '00', '00', '00',
9 '00', '00', '00', '00', '00', '00', '00', '00',
10 '00', '00', '00', '00', '00', '00', '00', '00',
11 '00', '00', '00', '00', '00', '00', '00', '00',
12 '00', '00', '28', '43', '4F', '4E', '4E', '45',
13 '43', '54', '5F', '44', '41', '54', '41', '3D',
14 '28', '43', '4F', '4D', '4D', '41', '4E', '44',
15 '3D', '70', '69', '6E', '67', '29', '29'
16 );
17
18 socket UTL_TCP.connection;
19 txBytes number;
20 rxBytes number;
21 rawBuf raw(1024);
22 resp varchar2(1024);
23 begin
24 socket := UTL_TCP.open_connection(
25 remote_host => ipAddress,
26 remote_port => port,
27 tx_timeout => 10
28 );
29
30 --// convert hex array into a raw buffer
31 for i in 1..TNS_PING_PACKET.Count loop
32 rawBuf := rawBuf || HexToRaw( TNS_PING_PACKET(i) );
33 end loop;
34
35 --// send packet
36 txBytes := UTL_TCP.write_raw( socket, rawBuf, TNS_PING_PACKET.Count );
37
38 --// read response
39 rxBytes := UTL_TCP.read_raw( socket, rawBuf, 1024 );
40
41 UTL_TCP.close_connection( socket );
42
43 --// convert response to varchar2
44 resp := UTL_RAW.Cast_To_Varchar2( rawBuf );
45
46 --// strip the header from the response and return the text only
47 return( substr(resp,13) );
48 end;
49 /
Function created.
SQL>
SQL> select tnsping( '10.251.93.30' ) as TNSPING from dual;
TNSPING
(DESCRIPTION=(TMP=)(VSNNUM=169869568)(ERR=0)(ALIAS=LISTENER))
SQL> select tnsping( '10.251.95.69' ) as TNSPING from dual;
TNSPING
(DESCRIPTION=(TMP=)(VSNNUM=0)(ERR=0)(ALIAS=LISTENER))
SQL> -
How to get SharePoint Groups using Javascript in SP2013 ?
How to get SharePoint Groups using Javascript in SP2013 , not JSOM please
Here is the code that worked for me:
<script type="text/javascript">
var requestUri = _spPageContextInfo.webAbsoluteUrl + "/_api/web/sitegroups";
var requestHeaders = { "accept" : "application/json;odata=verbose" };
$.ajax({
url : requestUri,
contentType : "application/json;odata=verbose",
headers : requestHeaders,
success : onSuccess,
error : onError
function onSuccess(data, request){
var s='';
for (var i = 0; i < data.d.results.length; i++)
s +=data.d.results[i].LoginName+'\n';
alert(s);
function onError(error) {
alert("error");
</script> -
How to get BP number having SAP User ID .?
HI all,
How to get BP number of a user having his SAP User ID .?
Help reg this.hi check this...
In SUS Link between registered User ID and Business Partner (Vendor) Number
Assign User to Business Partner
regards,
venkat .
Maybe you are looking for
-
Sender File Adapter - remote FTP server program execution
Hi all, I have a scenario X12 -> XI -> File where sender File adapter is used. The input file is X12 txt document which needs to be converted into X12 xml format. I have created astylus studio XSLT mapping which uses Convertor to convert this txt fil
-
When trying to watch rented content, the ATV says that my connection is not HDCP Compliant and that I should use component cables. I'm using an HDMI cable connected directly to my HDTV. The users guide of my Mitsubishi WD52627 says that the HDMI port
-
FCP Project import creates duplicates of existing assets
I posed another question similar to this in Sept but had to go into the field for a couple month. I have set up my Media device as an edit in place device (device type is Filesystem). Mac URI file://localhost/Volumes/MyDisk/PRODUCTION MEDIA/Media/ I
-
I have Adobe Master Suite CS 5.5 installed on my primary computer. I'd like to have it available on my notebook as well. Is that legal? I read the license agreement, but there are so many "if's," "and's," and "but's" I have no idea what applies to my
-
Sound not working in my hp-2000-2d29DX notebook pc
My sound stopped working all of a sudden. When it happened I was using the sound recorder. When I tried to play one of the sounds back it said something was wrong. I then tried to watch a youtube video, but there was no sound. After that, I tried to