Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Hi monks,
Here i am trying to write a wrapper function to automate CLI process.
But i am not getting the way how to start, viewmgt is already a tool which will creates views,
for this the user can fallow the fallowing step to create a new view,in these steps are static
fallowing are the steps to fallow to create a view.
C:\Documents and Settings\patilr>viewmgt.pl viewmgt -- ClearCase view management Finding views for patilr ... Please pick an action, or a view to start [ 1] [l] LOOK at views of a different user [ 2] [c] CREATE a New View [ 3] [s] SYNCHRONIZE a view from another region [ 4] [d] DELETE (remove) one of the views below [ 5] [q] QUIT (exit from viewmgt) [ 6] patilr__070413_test_view1 [ 7] patilr__070420_test2 Action [1 - 7, letter shortcuts] ==> 2 <hr > CREATE a new view ... Please select an AREA ... [ 1] CCR CCR - Contact Center Reporting [ 2] IVR Interactive Voice Response [ 3] CoreServices Core Services : Source [ 4] CoreSvcRel [** SCM use only **] Core Services : Releases [ 5] Tools Viewtools, Montools & Tools Testing [ 6] BCMRD BCMRD (BCMS Vu) [ 7] OA Operational Analyst, DAT [ 8] PLE PLE (Production Line Engineering) [ 9] Messaging Messaging [ 10] ----- (area MVAP not available) [ 11] ----- EMPTY Slot (here to keep numbers the same) [ 12] IC InterChange (vob1-7 et al) [ 13] CSVendor Core Services : Vendor [ 14] VoiceBrowser Avaya Voice Browser [ p] PREVIOUS Return to PREVIOUS prompt {Set VIEWMGT_AREA to one of the left column to pre-designate an area} Your AREA choice [1 - 14, p] ==> 2 Please select a PROJECT ... [ 1] ivr IVR [main base] [ 2] ivr_ebs_pkgs IVR EBS Packages (Languages) [ 3] ----- (project ivr_crmc not available) [ 4] ----- (project ivr_dialer not available) [ 5] ----- (project ivr_ebs not available) [ 6] ----- (project ivr_ptts_win not available) [ 7] ivr_sv IVR Test Automation [ 8] ivr_vw_unix IVR V@W Unix [ 9] ivr_vw_win IVR V@W Windows [ p] PREVIOUS Return to PREVIOUS prompt {Set VIEWMGT_PROJECT to one of the left column to pre-designate a proj +ect} Your PROJECT choice [1 - 9, p] ==> 9 Please select what TYPE of view ... [ 1] [io] An Individual view off an Official Branch [ 2] [it] An Individual view off a TEAM Branch [ 3] [te] A TEAM view off of an Official Branch [ 4] [ob] A view that works directly on an Official Branch [ 5] [tw] A view that's a TWIN of another view (same config_spec) [ 6] [ex] A view using an EXISTING Branch [ p] Return to PREVIOUS prompt Your VIEW TYPE choice [1 - 6, p, letter shortcuts {default = 1} ] ==> +2
If i type viewmgt.pl in path C:\Document and setting\usr\>viewmgt.pl
it will start showing the option we have to select in order to create the view.
after selecting specific option i have to hit the enter key,then only it goes to next step
.can any one help me out how to start writing the script to automate the above process.

In reply to How to start automate commandline process. by perladdict

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-16 18:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found